_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
Hammdist has joined #litex
<tpb> Title: Antmicro · Speeding up SoC interconnects with test-driven FPGA development using Cocotb (at antmicro.com)
Hammdist has quit [Quit: Client closed]
Degi_ has joined #litex
Degi has quit [Ping timeout: 246 seconds]
Degi_ is now known as Degi
_embargo_ has quit [Ping timeout: 240 seconds]
embargo has joined #litex
FabM has joined #litex
FabM has joined #litex
FabM has quit [Changing host]
somlo has quit [Ping timeout: 250 seconds]
somlo has joined #litex
cr1901_ has joined #litex
cr1901 has quit [Ping timeout: 255 seconds]
<_florent_> mithro: thanks, now I better understand the PR (sadly for Antmicro I also asked to have regression test for this in LiteX, so they probably had to duplicate part of the cocotb tests in the unit-test :))
peepsalot has quit [Quit: Connection reset by peep]
peepsalot has joined #litex
indy has quit [Read error: Connection reset by peer]
indy has joined #litex
indy has quit [Excess Flood]
indy has joined #litex
indy has quit [Ping timeout: 240 seconds]
indy has joined #litex
indy has quit [Ping timeout: 246 seconds]
cr1901_ is now known as cr1901
peepsalot has quit [Ping timeout: 255 seconds]
Guest58 has joined #litex
<Guest58> hello please, I have a question concerning litedram
<tnt> ask, don't ask to ask.
<Guest58> I am new to Litex world I have a problem when trying to run gen.py it says that it needs config argument and when I add it says the file is not found so do; I need to download it or create one or what I should do?
Guest58 has left #litex [#litex]
peepsalot has joined #litex
<_florent_> Guest58: (if reading the logs): you need to provide a configuration file to litedram_gen, you can find some examples there: https://github.com/enjoy-digital/litedram/tree/master/examples
<_florent_> ex: litedram_gen arty.yml
FabM has quit [Remote host closed the connection]
<_florent_> you can find some examples of integration here: https://github.com/antonblanchard/microwatt/tree/master/litedram
indy has joined #litex
Guest34 has joined #litex
<Guest34> Hello, I am a new user of LiteX. My target board is digilent_arty.py and am trying to build a SoC with VexRISCV plus some peripherals. If I disable gateware compilation and software compilation, my flow runs. If I enable these compilations, I get an issue - the Makefile cannot find the location of SOC_DIRECTORY variable. Has anyone else seen this
<Guest34> issue ?
<sajattack[m]> it looks like soc_directory is supposed to point to the build directory of your board
<sajattack[m]> so like litex/litex-boards/litex_boards/targets/build/digilent_arty/ for example
<sajattack[m]> also I came to say liteluna looks cool and congrats on the progress with litesata
<Guest34> sajattack[m] : Thank for the response. In my sub-directory ./litex-boards/litex_boards/targets/ I do not see a build sub-directory at all. However I see ./litex-boards/litex_boards/targets/digilent_arty.py . Any thoughts ?
<sajattack[m]> well it would be where-ever you run the script from
zjason` has joined #litex
zjason has quit [Ping timeout: 246 seconds]
<somlo> _florent_: after 89fdb498 (I think, it's the first one to break my build, but the error is different than what I get with master) I can no longer build rocket/litex (on nexys_video, in particular)
<somlo> the error is "pythondata_software_picolibc/data/meson.build:35:0: ERROR Compiler riscv64-unknown-elf-gcc can not compile programs"
<_florent_> somlo: thanks for the feedback, can you add a print of the binutils version here?: https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/export.py#L101
<_florent_> just in case, can you also try to do a clean build (rm -rf build)
<somlo> _florent_: first off, manually commenting out / reverting 89fdb498 gets things to work again for me, so it's definitely the culprit
<somlo> I always rm -rf the build directory before starting a build
<_florent_> somlo: ok, I did some fix on top of this commit to get it working on my setup, we would now need to understand what is different on yours
<somlo> so you want me to print out what it thinks the binutils version and flags are at the locations you pointed out?
<somlo> stand by, adding prints to my copy of the code...
<_florent_> yes, just to see if this triggers to workaround to add _zicsr to march
<_florent_> it could also be interesting to comment this:
<somlo> version is "2.37"; flags are "-mno-save-restore -march=rv64imafdc_zicsr -mabi=lp64 -D__rocket__ -mcmodel=medany"
<somlo> still the same issue with those lines commented out in common.mak
<somlo> btw, my command line is:
<somlo> rm -rf build/digilent_nexys_video; litex-boards/litex_boards/targets/digilent_nexys_video.py --build --cpu-type rocket --cpu-variant full4d --sys-clk-freq 50e6 --with-ethernet --with-sdcard --with-sata --sata-gen 1 --with-sata-pll-refclk
<somlo> yeah, seems to work fine with that portion commented out
<_florent_> ok, so while fixing the code I just made sure the behavior was as described in https://github.com/enjoy-digital/litex/pull/1279
<_florent_> on my setup, binutils is < 2.37, so I haven't been able to test this feature.
<_florent_> I'll have a closer look tomorrow
<somlo> for the record, my toolchain is github.com/riscv/riscv-gnu-toolchain commit 051b9f7 from Mar. 09, 2022 -- available pre-compiled from http://www.contrib.andrew.cmu.edu/~somlo/BTCP/RISCV-toolchain.tar.xz, in case that helps in any way
Guest34 has quit [Quit: Client closed]