Wednesday, 2020-12-16

*** tpb has joined #litex00:00
*** cjearls has quit IRC00:12
*** lf has quit IRC00:55
*** lf has joined #litex00:56
*** Degi_ has joined #litex01:09
*** Degi has quit IRC01:13
*** Degi_ is now known as Degi01:13
*** Dolu has quit IRC01:16
*** scanakci has joined #litex01:25
*** captain_morgan has quit IRC01:35
*** captain_morgan has joined #litex01:43
*** captain_morgan has quit IRC01:44
*** captain_morgan has joined #litex01:45
*** vitalmixofnutrie has quit IRC02:10
*** vitalmixofnutrie has joined #litex02:47
*** TMM has quit IRC02:49
*** TMM has joined #litex02:51
*** CarlFK has quit IRC03:53
*** CarlFK has joined #litex04:07
*** lkcl has quit IRC04:28
*** lkcl has joined #litex04:40
*** vitalmixofnutrie has quit IRC04:59
*** lkcl has quit IRC05:15
*** lkcl has joined #litex05:27
*** Bertl_zZ is now known as Bertl06:09
*** Bertl is now known as Bertl_oO06:31
josengHi guys, in all my designs so far with VHDL for xilinx devices I needed to use the inverted clock for the FIFO ports, otherwise lets say the FSM is on the "sys" clock and changes the WE signal of the fifo, the signals would change with the rising edge of the fifo. So when the fifo should latch. This is why I every time used the inverted clock for a08:52
joseng FIFO on write and read ports.08:52
josengBut I never saw this anywhere in migen/litex where a FIFO is used.08:52
daveshahThere's no need for that. The place and route tooling will ensure that setup/hold times are met08:55
daveshahUsing the opposite edge of the clock only serves to reduce the available timing period from one clock cycle to half a clock cycle, and can actually halve Fmax in the worst case scenario08:55
josengAh interesting, didn't know that. Thanks08:59
_florent_daveshah: Hi, I saw on discord you were eventually interested in trying to get LiteSATA running on ECP5, just want to share some info that can be useful I think:09:01
_florent_I initiated some work recently on that, but only had a few hours to work on this, so there is still work to do09:02
_florent_I did some test with LiteICLink and the Versa ECP5 at the linerates used for SATA1 and SATA2: 1.5Gbps and 3.0Gbps09:02
_florent_here: https://github.com/enjoy-digital/liteiclink/tree/master/bench/serdes09:02
daveshahThanks, thats useful09:03
_florent_./versa_ecp5.py --linerate=1.5e9 (or 3.0e9) --build --load09:03
_florent_sorry09:03
_florent_./versa_ecp5.py --linerate=1.5e9 (or 3.0e9) --connector=pcie (or sma) --build --load09:04
_florent_you can then use a pcie loopback module or sma cable to do the loopback09:04
_florent_the RX leds should be blinking with the counter generated on TX09:04
_florent_the PRBS test can also be run with litex_server and ./test_prbs.py09:05
_florent_I've been able to get 0 errors with the PRBS test, so it shouldn't be too bad09:07
_florent_but that's possible some adjustments still need to be done on the SerDes parameters09:07
_florent_I also created a branch in LiteSATA: https://github.com/enjoy-digital/litesata/tree/ecp509:08
_florent_where I started the integration and started working on OOB09:08
_florent_sata-specification.3.3.gaps-filled-by-sata-qvip_vh-v14-i1.pdf could be useful if you want to understand OOB on SATA09:09
_florent_I was able to see the COMINIT to see and detect the COMINIT from the device and send the COMWAKE but was not seeing the COMAWAKE from the device09:10
daveshahGreat, I'll find some time to give it a try when my ECPIX arrives09:10
*** peeps[zen] has joined #litex09:14
*** peepsalot has quit IRC09:15
_florent_daveshah: great09:15
daveshahBeing able to capture to a SATA SSD definitely opens up a lot of interesting ideas09:16
_florent_Indeed, Artix7/Ultrascale(+) support has been added recently, but EPC5 would be really nice09:18
_florent_For these tests I was using a minimal bench with just the PHY and LiteScope in place: https://github.com/enjoy-digital/litesata/blob/ecp5/bench/versa_ecp5.py09:19
_florent_I suspect the OOB from the FPGA are not received by the SSD (COMINIT are generated spontaneously by the SSD, even without sending COMRESET)09:23
*** acathla has quit IRC09:47
*** acathla has joined #litex09:48
*** acathla has quit IRC10:06
*** acathla has joined #litex10:06
zypah, ECPIX is available to order now, nice10:19
*** Dolu has joined #litex10:35
acathlaWow, nice board!10:41
keesjseen nice one also? https://shop.lambdaconcept.com/home/46-1-ecpix-5.html#/1-ecpix_5_fpga-ecpix_5_45f11:02
tpbTitle: ECPIX-5 (at shop.lambdaconcept.com)11:02
zypI just ordered one :)11:17
*** futarisIRCcloud has joined #litex11:23
*** midnight has quit IRC11:51
*** midnight has joined #litex12:00
*** futarisIRCcloud has quit IRC13:32
*** Degi has quit IRC14:10
*** Degi has joined #litex14:16
josengAm I right in the assumption that the async FIFOs in migen are First Word Fall Through (by default)? Seems to from my tests with it and and watch the output with litescope15:03
daveshahYes fwft defaults to true15:05
daveshahhttps://github.com/m-labs/migen/blob/master/migen/genlib/fifo.py#L9915:05
josengFor the SyncFIFO I saw that there is a parameter, but I mean the AsyncFIFO. Need to cross from the SerDes clock domain to sys15:06
*** FFY00 has quit IRC16:13
*** FFY00 has joined #litex16:13
*** Xesxen has quit IRC16:22
*** Xesxen has joined #litex16:23
*** peeps[zen] is now known as peepsalot17:20
*** roboknight has joined #litex19:01
roboknightOkay, I've gotten the vexrisc running a very short piece of blinky code (not the LedChaser, but some actual software manipulating Leds).  I can see the LEDs running.  I can even get serial output that I can see.  But if I output more than about 16 or so characters, it freezes (no more sweeping LEDs) and no output.19:05
roboknightI was wondering if there might be an issue with multi-level interrupts or something along those lines.19:05
roboknightThe ice40-hx8k is VERY small (maybe too small), but I can pack the code in with about 2K ram and about 10K of rom (that nearly exhausts my 32 ram blocks)... I haven't moved to XIP flash yet, but that's where I'm trying to head.19:07
*** futarisIRCcloud has joined #litex19:15
roboknightI guess I'll stick to UART polling for a while... seems like that works. For now anyway.19:23
*** scanakci has quit IRC19:54
*** roboknight has left #litex20:28
*** m4ssi has joined #litex20:58
*** Bertl_oO is now known as Bertl_zZ21:36
*** CarlFK has quit IRC22:12
josengIs there any way to reset/empty FIFOs?22:32
*** m4ssi has quit IRC22:33
zypI don't think so, but I guess it might work with a ResetInserter22:38
*** midnight has quit IRC22:55
*** midnight has joined #litex22:59
josengHmm ok, then I have a look at it, thanks23:14
*** midnight has quit IRC23:15
*** midnight has joined #litex23:33

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