Wednesday, 2019-02-13

*** tpb has joined #tomu00:00
mithroxobs: https://vlsida.github.io/OpenRAM/00:11
tpbTitle: OpenRAM | An open-source static random access memory (SRAM) compiler. (at vlsida.github.io)00:11
xobsmithro: that's an exciting bit of tech. We just need to come up with standard cells for it to place.00:41
mithroxobs: I'm not looked into it at all02:01
*** lathiat has joined #tomu02:09
mithroxobs: You going to make Teardown?02:25
mithroxobs: We should do a Fomu something or rather...02:25
xobsmithro: I hadn't looked into it.02:29
xobsmithro: though now you've sniped me and I'm looking at flights02:50
xobsmithro: also, what's the status of epmem?03:03
mithroIt was getting pretty close before the USB12 stuff happened03:04
mithroHasn't been touch since then03:04
xobsmithro: now that I'm starting to understand how this works, this is a very nice setup.04:05
mithroxobs: The epmem?04:06
xobsIt's challenging to figure out certain things, though.  Do you know what's printing out "CSRStorage(name=out, ...) write 0x1"?04:06
xobsThe whole thing.  Tests, vcd files, the framework...04:06
mithroxobs: grep -R 'print' | grep 'write'  :-P04:06
xobsOh, gound it in litex.  What about "[CSR(name=out0, ...)]"?04:09
xobsIt looks like in Python, the magic function "__repr__()" gets called when you print an object.  I stuck an assert in there, and discovered that the offending call is "print(self.simple_csrs)".04:18
mithroxobs: __repr__ is called when you want a "representation" of the object04:34
mithroxobs: __str__ is called when you want a "string" of the object04:34
mithroxobs: repr tends to be useful because it lets you tell more information about the type -- IE the repr of a bytestring is b"blah"04:34
xobsmithro: I guess it's like the Rust distinction between "impl fmt::Debug" and "impl fmt::Display"04:35
mithroxobs: For most simple types, the __repr__ is exactly what you would type to create it in Python04:35
mithroIE the number 1 as a long is 1L verse 1 as an int which is just 104:36
xobsVery helpful, thanks!04:47
*** futarisIRCcloud has quit IRC07:23
*** xkapastel has quit IRC07:57
*** ckeepax has quit IRC08:39
*** awe00 has joined #tomu11:06
*** AmosSam has left #tomu11:27
*** AmosSam has joined #tomu11:28
*** futarisIRCcloud has joined #tomu12:56
futarisIRCcloudhttps://github.com/snabbco/snabb/issues/141812:56
tpbTitle: EasyNIC development · Issue #1418 · snabbco/snabb · GitHub (at github.com)12:56
xobsWell, 9/21 tests pass now with epmem...14:40
*** futarisIRCcloud has quit IRC15:05
*** AmosSam has left #tomu15:45
*** AmosSam has joined #tomu15:45
*** AmosSam has left #tomu16:15
*** AmosSam has joined #tomu16:19
*** xkapastel has joined #tomu16:27
*** awe00 has quit IRC18:08
*** mifune has quit IRC18:28
*** xkapastel has quit IRC19:16
*** awe00 has joined #tomu19:59
*** awe00 has quit IRC20:21
*** xkapastel has joined #tomu20:22
*** awe00 has joined #tomu20:35
*** xkapastel has quit IRC22:30
*** Xark has quit IRC22:39
*** Xark has joined #tomu22:42
*** futarisIRCcloud has joined #tomu23:27

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!