Tuesday, 2021-02-09

*** tpb has joined #litex00:00
nickoeIs it possible to simulation teh whole SoC?00:13
*** Ragnite has joined #litex00:14
*** lf_ has quit IRC00:29
*** lf has joined #litex00:29
*** futarisIRCcloud has joined #litex01:48
*** tannewt has quit IRC03:26
*** esden has quit IRC03:26
*** mikeK_de10nano has quit IRC03:27
*** ric96 has quit IRC03:27
*** daveshah has quit IRC03:27
*** futarisIRCcloud has quit IRC03:27
*** tannewt has joined #litex03:28
*** daveshah has joined #litex03:28
*** futarisIRCcloud has joined #litex03:29
*** esden has joined #litex03:29
*** ric96 has joined #litex03:29
*** Degi_ has joined #litex03:55
*** Degi has quit IRC03:56
*** Degi_ is now known as Degi03:56
*** futarisIRCcloud has quit IRC03:57
*** Bertl_oO is now known as Bertl_zZ04:19
*** fdsfds09f8ds has joined #litex04:32
*** yfl has joined #litex04:33
yflhi!04:34
sorearo/04:34
yflI'm a bit stuck with attaching a 16 bit memory to wishbone.SRAM() anyone has tried that?04:35
yflmem = Memory(32, depth); sram = wishbone.SRAM(mem);   # works04:36
yflmem = Memory(16, depth); sram = wishbone.SRAM(mem);   # doesn't work04:36
yfl... or is that maybe a stupid thing to do?04:41
*** _whitelogger has quit IRC05:24
*** _whitelogger has joined #litex05:26
*** kgugala_ has joined #litex05:49
*** kgugala has quit IRC05:51
*** yfl has quit IRC06:50
*** kgugala has joined #litex07:19
*** kgugala_ has quit IRC07:22
*** lkcl has quit IRC07:30
*** lkcl has joined #litex07:43
*** daveshah has quit IRC07:45
*** daveshah has joined #litex07:45
*** pdp7 has joined #litex07:53
_florent_nickoe: Hi, LiteX has been initially developed to create custom FPGA systems for clients. It's still used mostly for that and also maintained/improved by funds providing from this work so the cores components are still at https://github.com/enjoy-digital but https://github.com/litex-hub has been created to ease collaborative projects.08:03
_florent_for the bscan_spi, it's just that the bscan_spi bitstream is creating a bridge between BSCAN (JTAG) and SPI to allow programming the SPI Flash over JTAG.08:04
_florent_nickoe: for the mars_ax3 port, the constraint does not seem correct here: https://github.com/litex-hub/litex-boards/compare/master...nickoe:mars_ax3#diff-b7169b52e0788b6269990fe1432222bb2de2876cf0b39a34ab82514b7e3e60b0R14008:11
_florent_not sure clk10 exists, you should use clk50 that is use as the input of the PLL08:12
_florent_I would also recommend increasing sys_clk_freq, on Artix7 the default configuration on Arty has no trouble reaching 100MHz.08:14
*** cr1901_modern has quit IRC08:15
*** cr1901_modern has joined #litex08:16
_florent_somlo: I've been able to reproduce https://github.com/enjoy-digital/litex/issues/802 on Nexys4DDR, but haven't been able to have a closer look at it yet, I'll do it soon.08:17
_florent_somlo: otherwise for the SDCard issue under Linux, we could create an issue for that (eventually in linux-on-litex-rocket if easier for you), with steps to reproduce and eventual Litescope debug code, this can allow us to converge faster.08:19
*** futarisIRCcloud has joined #litex10:47
*** Bertl_zZ is now known as Bertl10:57
*** carlomaragno has quit IRC11:10
*** carlomaragno has joined #litex11:10
*** rohitksingh has quit IRC11:11
*** davidlattimore has quit IRC11:11
*** rohitksingh has joined #litex11:11
*** davidlattimore has joined #litex11:11
*** tannewt has quit IRC11:11
*** tannewt has joined #litex11:11
*** indy has quit IRC11:11
*** indy has joined #litex11:19
*** tannewt has quit IRC12:08
*** futarisIRCcloud has quit IRC12:08
*** pdp7 has quit IRC12:08
*** davidlattimore has quit IRC12:08
*** daveshah has quit IRC12:09
*** carlomaragno has quit IRC12:09
*** tannewt has joined #litex12:09
*** daveshah has joined #litex12:10
*** carlomaragno has joined #litex12:10
*** futarisIRCcloud has joined #litex12:10
*** rohitksingh has quit IRC12:11
*** davidlattimore has joined #litex12:11
*** pdp7 has joined #litex12:12
*** rohitksingh has joined #litex12:24
*** futarisIRCcloud has quit IRC12:56
*** pdp7 has quit IRC12:57
*** daveshah has quit IRC12:57
*** ric96 has quit IRC12:57
*** daveshah has joined #litex12:59
*** pdp7 has joined #litex13:03
*** ric96 has joined #litex13:03
*** mikeK_de10nano has joined #litex13:05
*** tpb has joined #litex13:42
somlo_florent_: thanks. I'll run a few more experiments with sdcard, then write it all down in an issue, so we have something concrete to work from...13:56
mikeK_de10nanoI would like to do a PR, But which repository do I submit it too? "Litex" proper? I don;t see it?14:55
geertumikeK_de10nano: didn't "git push" (to github) suggest you to do a PR? Just follow the printed URL?14:58
*** Melkhior has joined #litex14:59
mikeK_de10nanoyup.. working on it. working on PR, Sorry i am not a Software guy. OK I see the difference, Which Repo is which? I see both "Litex-hub" and the repo "enjoy-digital"  So litex Proper is there..  I am a bit confused by the two repo's... looking at it 10000 feet..  Thanks.15:00
mikeK_de10nanoI send the PR to enjoy-digital -> litex.. I think.15:01
Melkhior@somlo _florent_ On the sdcard, I might have a line of what is going wrong in my case with rocket in the BIOS: could it be the memory bandwidth is too low compared to the sdcard DMA engine ?15:04
MelkhiorFor unrelated reason I had to try a slower VexRiscv ('P' has *lot* of instructions, timing is a problem), and at 60 MHz I had the same failure mode in the BIOS as I have with a 60 MHz Rocket ... but that also means the memory is running @240 MHz instead of 320-400 MHz when VecRiscv is running at 80-00 MHz ... the sdram test shows a lowered memory15:04
Melkhiorbandwidth, about 19 MB/s vs. 23+ MB/s for 80+ MHz using VexRiscV...15:04
*** Melkhior has quit IRC15:48
*** mikeK_de10nano has quit IRC15:49
*** mikeK_de10nano has joined #litex15:50
*** Melkhior has joined #litex15:54
*** st-gourichon-fid has quit IRC17:32
*** st-gourichon-fid has joined #litex17:34
_florent_Melkhior: the DMA engine should handle  backpressure when the memory bandwidth is too slow, but doing some explicit tests with an artificially reduced bandwidth could be useful to be sure all cases are covered17:42
*** Bertl is now known as Bertl_oO18:50
*** Melkhior has quit IRC19:21
*** mikeK_de10nano has quit IRC19:21
*** mikeK_de10nano has joined #litex19:40
*** Degi_ has joined #litex20:18
*** Degi has quit IRC20:21
*** Degi_ is now known as Degi20:21
*** TMM has quit IRC20:41
*** TMM has joined #litex20:42
mikeK_de10nano:q!21:16
mikeK_de10nanooops21:16
somlovi user, nice :D21:26
mikeK_de10nano:)   tanks..21:32
nickoe_florent_: ok, thank you for the explanation.   And about my board..  I am not sure how that clk10 got there, but I will try to adjust it for clk50 as a start. thank you for replying.21:36
nickoeI am not really sure what that do_finalize thing even does.21:37
nickoeStill same failure. I did use 5MHz on the litex-buildenv project as well  .. where I did see the memtest pass.21:40
*** mikeK_de10nano has quit IRC22:28
nickoe_florent_: My board has a 50MHz clock as a base clock, but I guess I can double it somehow.22:42
nickoe_florent_: one difference is that I don't derive from the SoCSDRAM as https://github.com/nickoe/litex-buildenv/blob/mars_ax3/targets/mars_ax3/base.py#L3422:52
*** yfl has joined #litex22:59
nickoeI have no idea how to debug this :/23:00
nickoehmm23:10
nickoe_florent_: Ok, it does seem to help to use the 100MHz sysclock for some reason. https://github.com/litex-hub/litex-boards/commit/edb8cb188c61d45596d34c6a9266889df65e01c423:16

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