_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://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
futarisIRCcloud has joined #litex
lf has quit [Ping timeout: 240 seconds]
lf has joined #litex
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #litex
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Degi_ has joined #litex
Degi has quit [Ping timeout: 240 seconds]
Degi_ is now known as Degi
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
futarisIRCcloud has joined #litex
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #litex
midnight has quit [Ping timeout: 244 seconds]
_whitelogger has joined #litex
<_florent_> nickoe: LiteDRAMDMAReader has two endpoints: a sink to provide your read request and a source that will return the data
<_florent_> so you can just set sink.valid.eq(1), sink.address.eq(the_address_you_want_to_read)
<_florent_> then wait sink.ready to be 1
<_florent_> and data will be returned on source.data when source.valid is 1
dormito has quit [Ping timeout: 240 seconds]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Bertl_oO is now known as Bertl_zZ
<_florent_> cr1901_modern: just for info, the standard Microwatt variant (without irq) is fixed by https://github.com/enjoy-digital/litex/commit/a51bf60712bac51077d849e037f060fb02f59614
<_florent_> you can simulate it with: lxsim --cpu-type=microwatt --cpu-variant=standard+ghdl
<_florent_> I'm now going to see if I can build the OrangeCrab target
<_florent_> cr1901_modern: I just tested this: ./orangecrab.py --cpu-type=microwatt --cpu-variant=standard+ghdl --integrated-rom-size=0xa000 --build
<_florent_> Autoname pass is ok, but this is using too much resources:
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<_florent_> so I would recommend testing on a larger FPGA first
<cr1901_modern> _florent_: Okay, thanks for testing. Could you give me your commit hash for litex as well as _any_ diffs you applied to pythondata-cpu-microwatt?
<cr1901_modern> Also, I'm afraid I don't have any FOSS FPGA that's bigger LOL. Noted that microwatt is rather large
<cr1901_modern> _florent_: Oh wait... I tested --cpu-variant=standard+ghdl+irq
<cr1901_modern> That's was the variant that was failing an assert
<_florent_> cr1901_modern: yes, I also have the assertion failure with it, I'm currently looking at this
<cr1901_modern> Awesome, tyvm
<cr1901_modern> I'm going to pull and test your command line immediately
<cr1901_modern> My changes: http://ix.io/2QkG
<cr1901_modern> Awesome
<cr1901_modern> Just to reiterate, new versions of binutils error out on command line args it doesn't understand
<_florent_> here the diff I have in pythondata_cpu_microwatt:
<cr1901_modern> -nodefaultlibs is one of these options
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<cr1901_modern> tyvm for the diff
<cr1901_modern> Idk what you want to do about the binutils problem- it may not affect you rn. But it's a heads-up
<_florent_> cr1901_modern: would you mind opening an issue for this? We could also discuss this other developers familiar with Microwatt
<cr1901_modern> Which part? The autoname problem or the binutils problem?
<cr1901_modern> (I can do both of course)
<_florent_> the autoname problem seems more related to others tools (GHDL-Synth/Yosys?)
<_florent_> but for binutils we can probably do something in LiteX
<cr1901_modern> >Info: DP16KD: 56/ 56 100%
<cr1901_modern> That's not good... ._.
Melkhior has quit [Quit: Connection closed]
<_florent_> cr1901_modern: moving the BIOS to SPI Flash (as done on Fomu/Icebreaker) could help for this.
<cr1901_modern> Sure... but I'm still surprised
<nickoe> _florent_: Can I run a simulation of my entire soc? I see yhe antmicro blog about it using renode for the cpu emulation amd verlator for som modules, but I am not sure how to set this up properly. Can I use lxsim entirely?
Melkhior has joined #litex
futarisIRCcloud has joined #litex
<_florent_> nickoe: litex_sim is indeed a simulaton of a LiteX SoC. The default is something basic (CPU + ROM + SRAM + UART), but you can also enable Ethernet/SDRAM
<_florent_> we are using this to boot linux in simulation for example in https://github.com/litex-hub/linux-on-litex-vexriscv/blob/master/sim.py
Bertl_zZ is now known as Bertl
midnight has joined #litex
<nickoe> _florent_: I don't need linux, just bare metal fw
kgugala has joined #litex
mikeK_de1soc has joined #litex
mikeK_de1soc has quit [Quit: Connection closed]
mikeK_de1soc has joined #litex
<shoragan> _florent_, how would BIOS from SPI flash work? does that SPI controller have mmap support?
mikeK_de1soc has quit [Quit: Connection closed]
Melkhior has quit [Quit: Connection closed]
mikeK_de1soc has joined #litex
rj has joined #litex
mikeK_de1soc has quit [Quit: Connection closed]
mikeK_de1soc has joined #litex
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #litex
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #litex
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
Bertl is now known as Bertl_oO
<nickoe> shoragan: It just works.. :D I think it is mmapped
<nickoe> or can
<nickoe> or maybe I misunderstood you
<nickoe> mmm
<shoragan> nickoe, thanks, then i found the right part in the soc integration :)
<nickoe> :)
<nickoe> _florent_: How do I specify the simulation to run my target?
keesj has quit [Ping timeout: 246 seconds]
<nickoe> _florent_: by the way, I did successfully make the linux-on-litex-vescrisv boot the simulation. It appears to run on one core only (on the host) is that expected?
mikeK_de1soc has quit [Quit: Connection closed]
<nickoe> mm, trying to follow the example and make a sim.py, but it keeps complaining that for example: TypeError: litex.soc.integration.soc_core.SoCCore.__init__() got multiple values for keyword argument 'with_uart'
<nickoe> I can't see where it comes from in the first place
<tpb> Title: dpaste: 4MXHGXYLU (at dpaste.com)
<nickoe> I guess I should just admit I am stuck for today and go to bed.
<nickoe> which riscv64-unknown-elf-ld
<nickoe> /usr/bin/riscv64-unknown-elf-ld FWIW