Tuesday, 2020-01-14

*** tpb has joined #litex00:00
mithroI just discovered https://github.com/rsd-devel/rsd04:52
tpbTitle: GitHub - rsd-devel/rsd: RSD: RISC-V Out-of-Order Superscalar Processor (at github.com)04:52
mithroOut of order RISC-V core targeted at an FPGA done by a group of japanese researchers!04:57
*** rohitksingh has joined #litex05:52
*** rohitksingh has quit IRC07:25
*** CarlFK has quit IRC08:57
*** CarlFK has joined #litex11:48
scanakci_florent_: I am testing Blackparrot on FPGA with LiteDRAM. Although memory tests are successful in simulation, they fail on an FPGA. I noticed that the problem is most probably related to clock frequency. If I generate a bitstream for genesys using rocket and vexriscv with default frequency (125MHz), memory tests pass. When I set clock to 25MHz, they fail. My guess is that Blackparrot fails for the similar reasons.18:13
scanakciAs you pointed, I modified this specific line of code.  https://github.com/enjoy-digital/litex/blob/master/litex/boards/targets/genesys2.py#L4718:14
tpbTitle: litex/genesys2.py at master · enjoy-digital/litex · GitHub (at github.com)18:14
scanakciBitstream is generated succesfully, run BIOS but memory tests with LiteDRAM fails. Did you test these two cores on genesys with different frequencies before?18:14
daveshahI've definitely seen issues with litedram at reduced frequencies before. Both on ECP5 (but only some TrellisBoards for some strange reason, no Versas that I know of), and I think a Xilinx board too18:43
daveshah60MHz+ is usually fine18:44
scanakcithanks @daveshah. I hope current version of blackparrot works fine around that frequency.18:51
somloscanakci: with rocket, I usually get 75MHz on nexys4ddr with vivado, and 45-55 "official" MHz on versa and trellis with yosys/trellis/nextpnr. it "fails" to pass the 60MHz I'm asking of it, but usually works fine (per daveshah, there's a fair amount of extra slack in the tooling)18:54
somloI only say that because, if Blackparrot is simpler/smaller than Rocket, you *should* be able to get 60MHz out of it :)18:55
somlos/in the tooling/in the silicon, that the tooling isn't aware of/18:56
daveshahAnd the k7 in the Genesys2 should be faster than both the nexys4 and the versa18:57
scanakcithank you @somlo. I think I will play with frequency and try to fine-tune it18:57
scanakci@daveshah, true. Its specs look better than nexys4ddr and trellis.18:59
*** ambro718 has joined #litex19:13
*** ambro718 has quit IRC20:28
Findescanakci: Fei just tried the memory write/read to 0x40000000 and saw success so it looks like you were right about the address being the problem :)21:06
scanakciFinde: good to hear that :)21:06
*** CarlFK has quit IRC21:33
*** CarlFK has joined #litex22:18

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