*** tpb has joined #tomu | 00:00 | |
mithro | xobs: https://vlsida.github.io/OpenRAM/ | 00:11 |
---|---|---|
tpb | Title: OpenRAM | An open-source static random access memory (SRAM) compiler. (at vlsida.github.io) | 00:11 |
xobs | mithro: that's an exciting bit of tech. We just need to come up with standard cells for it to place. | 00:41 |
mithro | xobs: I'm not looked into it at all | 02:01 |
*** lathiat has joined #tomu | 02:09 | |
mithro | xobs: You going to make Teardown? | 02:25 |
mithro | xobs: We should do a Fomu something or rather... | 02:25 |
xobs | mithro: I hadn't looked into it. | 02:29 |
xobs | mithro: though now you've sniped me and I'm looking at flights | 02:50 |
xobs | mithro: also, what's the status of epmem? | 03:03 |
mithro | It was getting pretty close before the USB12 stuff happened | 03:04 |
mithro | Hasn't been touch since then | 03:04 |
xobs | mithro: now that I'm starting to understand how this works, this is a very nice setup. | 04:05 |
mithro | xobs: The epmem? | 04:06 |
xobs | It's challenging to figure out certain things, though. Do you know what's printing out "CSRStorage(name=out, ...) write 0x1"? | 04:06 |
xobs | The whole thing. Tests, vcd files, the framework... | 04:06 |
mithro | xobs: grep -R 'print' | grep 'write' :-P | 04:06 |
xobs | Oh, gound it in litex. What about "[CSR(name=out0, ...)]"? | 04:09 |
xobs | It 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 |
mithro | xobs: __repr__ is called when you want a "representation" of the object | 04:34 |
mithro | xobs: __str__ is called when you want a "string" of the object | 04:34 |
mithro | xobs: 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 |
xobs | mithro: I guess it's like the Rust distinction between "impl fmt::Debug" and "impl fmt::Display" | 04:35 |
mithro | xobs: For most simple types, the __repr__ is exactly what you would type to create it in Python | 04:35 |
mithro | IE the number 1 as a long is 1L verse 1 as an int which is just 1 | 04:36 |
xobs | Very helpful, thanks! | 04:47 |
*** futarisIRCcloud has quit IRC | 07:23 | |
*** xkapastel has quit IRC | 07:57 | |
*** ckeepax has quit IRC | 08:39 | |
*** awe00 has joined #tomu | 11:06 | |
*** AmosSam has left #tomu | 11:27 | |
*** AmosSam has joined #tomu | 11:28 | |
*** futarisIRCcloud has joined #tomu | 12:56 | |
futarisIRCcloud | https://github.com/snabbco/snabb/issues/1418 | 12:56 |
tpb | Title: EasyNIC development · Issue #1418 · snabbco/snabb · GitHub (at github.com) | 12:56 |
xobs | Well, 9/21 tests pass now with epmem... | 14:40 |
*** futarisIRCcloud has quit IRC | 15:05 | |
*** AmosSam has left #tomu | 15:45 | |
*** AmosSam has joined #tomu | 15:45 | |
*** AmosSam has left #tomu | 16:15 | |
*** AmosSam has joined #tomu | 16:19 | |
*** xkapastel has joined #tomu | 16:27 | |
*** awe00 has quit IRC | 18:08 | |
*** mifune has quit IRC | 18:28 | |
*** xkapastel has quit IRC | 19:16 | |
*** awe00 has joined #tomu | 19:59 | |
*** awe00 has quit IRC | 20:21 | |
*** xkapastel has joined #tomu | 20:22 | |
*** awe00 has joined #tomu | 20:35 | |
*** xkapastel has quit IRC | 22:30 | |
*** Xark has quit IRC | 22:39 | |
*** Xark has joined #tomu | 22:42 | |
*** futarisIRCcloud has joined #tomu | 23:27 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!