Sunday, 2020-05-10

*** Skip has joined #litex00:00
*** tpb has joined #litex00:00
*** captain_morgan has quit IRC00:43
*** captain_morgan has joined #litex00:45
*** scanakci has quit IRC01:18
*** Skip has quit IRC02:10
*** Degi has quit IRC03:33
*** Degi has joined #litex03:34
*** HoloIRCUser2 has joined #litex03:52
*** HoloIRCUser has quit IRC03:52
*** scanakci has joined #litex04:20
*** benh_ has joined #litex04:25
*** benh has quit IRC04:26
*** CarlFK has quit IRC06:25
*** CarlFK has joined #litex07:32
*** CarlFK1 has joined #litex08:37
*** CarlFK has quit IRC08:37
*** benh_ is now known as benh09:43
*** FFY00 has quit IRC10:43
*** FFY00 has joined #litex10:44
*** scanakci has quit IRC11:24
zyphmm, I just realized that the first/last mechanism of the streams doesn't support signalling a zero length packet12:07
_florent_zyp: can you describe what you want to achieve?12:10
zypI'm currently trying to reuse LiteEthMACCRCInserter for usb (with a suitable CRC16 class), and in the case of a zero length packet, the output should consist of only the two crc bytes12:12
_florent_ok, LiteEthMACCRCInserter is indeed probably expecting at least a data, you could use a modified version that would only insert the CRC is there is no data (you could add a be or length field to the payload to indicate data validity).12:20
zypyeah, I just realized that this is gonna be a problem all over the place, not just for CRC12:21
_florent_this signaling indeed needs to be added by the user as a payload parameter12:23
zyplength field sounds like a good idea, that'll also be useful later to increase the datapath width12:25
zypso a zlp will be signalled by first=1, last=1, length=012:25
zypby the way, is there any documentation on the stream api anywhere? I'm still a bit uncertain how the timings are supposed to work12:37
*** Skip has joined #litex13:05
shuffle2agree13:39
shuffle2i suspect everything is just yolo'd, so you have to read how any pre-existing code expects to use the stream13:44
zypI figured it out, I just misread some code that led me to doubt that my understanding was correct13:45
*** CarlFK1 is now known as CarlK14:01
*** Skip has quit IRC14:46
_florent_it could be better, but there is this: https://github.com/enjoy-digital/litex/wiki/Streams15:55
tpbTitle: Streams · enjoy-digital/litex Wiki · GitHub (at github.com)15:55
_florent_the streams are basically a simplified AXI (valid/ready/first/last/payload/param) that you can customize depending the need/project15:57
*** Skip has joined #litex18:00
*** Skip has quit IRC19:21
*** rohitksingh has joined #litex19:48
*** HoloIRCUser has joined #litex20:37
*** HoloIRCUser2 has quit IRC20:40
*** HoloIRCUser1 has joined #litex22:45
*** HoloIRCUser2 has joined #litex22:46
*** HoloIRCUser has quit IRC22:48
*** HoloIRCUser1 has quit IRC22:49
*** CarlK has quit IRC23:06
*** FFY00 has quit IRC23:12
*** FFY00 has joined #litex23:12
*** CarlFK has joined #litex23:25
*** HoloIRCUser has joined #litex23:56
*** HoloIRCUser2 has quit IRC23:56

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!