Thursday, 2019-10-24

*** tpb has joined #litex00:00
*** CarlFK has quit IRC00:31
scanakciI have  a question related to testing strategy that we should have for integrating  a cpu in litex. We figured out how blackparrot off-chip link interface looks like and currently writing a convertor to adapt the BB memory interface to wishbone(BP2WB). Soon, we would like to test Blackparrot&BP2WB convertor and see if communication between BlackParrot core and Litex DRAM goes correct. Blackparrot repo has some basic02:55
scanakcihelloworld testbenchs, so I was planning to use one of those as a first step in Litex. Is this straightforward? litex_sim seems to run BIOS for current CPUs and I think it is a bit aggressive test for first shot.  Any feedback, suggestion will be so helpful.02:55
*** CarlFK has joined #litex03:57
forksandWhere is the best place to set the ethernet MAC address to a static address (instead of a random MAC each time fpga is programmed)?17:25
*** ambro718 has joined #litex17:34
*** ambro718 has quit IRC19:29
_florent_somlo: i'll try to see if i can add an AXI converter in the next weeks (this will also be useful for the others CPUs using AXI)21:04
_florent_scanakci: for the first tests, you can21:06
_florent_you can use litex-sim with --rom-init to use you software instead of the BIOS21:08
_florent_you can also trace the signals by adding --trace21:09
_florent_once you have the bios working and want to test with LiteDRAM in simulation, use --with-sdram and it will use a SDRAM instead of the integrated main_ram21:10
_florent_forksand: the mac address is specified here: https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/bios/boot.c#L23821:19
tpbTitle: litex/boot.c at master · enjoy-digital/litex · GitHub (at github.com)21:19
_florent_it's static for now, but we could make it configurable and loaded from an EEPROM or SPI Flash21:19
*** CarlFK has quit IRC21:31
somlo_florent_: looks pretty straightforward to specify the mem_axi data_width on the rocket verilog side (even independently of the mmio_axi data_width!)22:00
somlobut rather than a cpu-type x mem_axi_datawidth matrix of pre-generated verilog, it'll be nice to have a rocket with mem_axi datawidth set to the widest LiteDRAM configuration (128bit on the versa, gotta find out about trellis), and down-convert for boards where it is narrower22:01
*** forksand has quit IRC23:49
futarisIRCcloudJohn_K / mithro / _florent_ : Looks like DDR2 on Pano Logic just got solved recently. cryozap and ali_as were talking about it on ##fpga.23:57
futarisIRCcloudhttps://twitter.com/tom_verbeure/status/118605966264847564923:57

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