_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
lf has joined #litex
lf_ has quit [Ping timeout: 268 seconds]
<somlo> _florent_: thanks, that took care of it! With that out of the way, any objections to https://github.com/litex-hub/litex-boards/pull/144 ?
Degi has quit [Remote host closed the connection]
Degi has joined #litex
Dolu has quit [Ping timeout: 264 seconds]
chgavilana has quit [Ping timeout: 245 seconds]
awordnot0 has joined #litex
awordnot has quit [Read error: Connection reset by peer]
awordnot0 is now known as awordnot
peepsalot has quit [Ping timeout: 265 seconds]
lkcl has quit [Ping timeout: 264 seconds]
Degi_ has joined #litex
peepsalot has joined #litex
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
lkcl has joined #litex
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #litex
<hansfbaier> Does anyone know about an example of using a nmigen-based core in litex. I looked at the minerva cpu example, but that seems to be quite different from a regular core....
<hansfbaier> Also I didn't find much googling
kgugala_ has joined #litex
kgugala has quit [Read error: Connection reset by peer]
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #litex
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 264 seconds]
lkcl has quit [Ping timeout: 272 seconds]
awordnot has quit [Quit: The Lounge - https://thelounge.chat]
lkcl has joined #litex
awordnot has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
<_florent_> hansfbaier: to integrate a nmigen-based core you can generate it as verilog and then just use instance and add the sources to the platform, as done for example here with a verilog core: https://github.com/betrusted-io/gateware/blob/master/gateware/i2c/core.py#L106-L132
<hansfbaier> _florent_: Thank you so much, that's what I was looking for (I digged through the lab examples, it had the platform.add_source() call, but was missing the verilog file, so I could not get a complete picture from that)
martinraison has joined #litex
<hansfbaier> _florent_: I will fill in the wiki page once I get it working
<_florent_> hansfbaier: starting filling https://github.com/enjoy-digital/litex/wiki/Add-A-Verilog-VHDL-Core could be useful yes (we could rename it to Add-A-Verilog-VHDL-nMigen-Core later)
<hansfbaier> _florent_: Yes, I saw that page. Will do.
hansfbaier has quit [Quit: WeeChat 2.8]
hansfbaier has joined #litex
somlo has quit [Ping timeout: 246 seconds]
somlo has joined #litex
hansfbaier1 has joined #litex
hansfbaier has quit [Ping timeout: 264 seconds]
martinraison has quit [Remote host closed the connection]
_whitelogger has joined #litex
keesj has quit [Ping timeout: 240 seconds]
keesj has joined #litex
Dolu has joined #litex
keesj has quit [Ping timeout: 240 seconds]
keesj has joined #litex
keesj has quit [Ping timeout: 264 seconds]
keesj has joined #litex
martinraison has joined #litex
hansfbaier1 has quit [Read error: Connection reset by peer]
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
Bertl is now known as Bertl_oO
martinraison has quit [Ping timeout: 246 seconds]
martinraison has joined #litex
martinraison has quit [Ping timeout: 264 seconds]
martinraison has joined #litex
<somlo> _florent_: I can now get 100MHz with rocket (linuxq variant, 256 wide litedram connection), ethernet, and litesdcard on genesys2
<somlo> now I need to find out how much additional gateware I can stuff in: non-emulated FPU, multi-core, etc.
<somlo> and of course test on the actual board :)
<zyp> nice
lkcl has quit [Ping timeout: 246 seconds]
lkcl has joined #litex
peeps[zen] has joined #litex
peepsalot has quit [Ping timeout: 256 seconds]
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
Dolu has quit [Ping timeout: 240 seconds]
martinraison has joined #litex
martinraison has quit [Ping timeout: 264 seconds]
martinraison has joined #litex
Dolu has joined #litex
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
feldim2425_ has joined #litex
feldim2425 has quit [Ping timeout: 260 seconds]
feldim2425_ is now known as feldim2425
<somlo> turns out I can get a quad-core, "hard" FPU Rocket cpu with litex to pass timing at 100MHz, and LUT utilization is 58.96%
<somlo> now I *have* to go grab my board and see this thing in action!
<somlo> for context, this is on a genesys2 board
<daveshah> Wow nice
<daveshah> I didn't know we even had multi core Rocket support yet
<somlo> daveshah: it's the same AXI interface to litedram, mmio, and dma-slave as any other rocket
<somlo> might be a bit fiddly w.r.t. the device tree table, but I'll find out soon enough
<somlo> the Rocket is sort-of its own SoC, with internal L1, interrupt controllers, etc.
<somlo> the cache coherency is (well, "should be") handled internally, so there's nothing for us LiteX folks to worry about
<somlo> again, in theory - I've just been building bitstreams to test for timing and utilization, haven't actually run into any "in practice" brick walls yet :)
<daveshah> Yeah, I wonder if the LiteX init code will need changing to do something with the other harts too
<daveshah> I guess whatever works for smp vexriscv would work for smp rocket too there
<somlo> daveshah: probably...
<daveshah> If you're very patient it should be possible to test that in sim :)
<somlo> for now, here's the only as-of-yet unpublished portion -- patch against pythondata_cpu_rocket: https://pastebin.com/R3bwgQUD
<tpb> Title: diff --git a/pythondata_cpu_rocket/verilog/update.sh b/pythondata_cpu_rocket/ver - Pastebin.com (at pastebin.com)
<somlo> daveshah: I'm going to try to drop by the office later this evening (somewhat less painful process to get in and out) and grab the board; then tomorrow I can hit that brick wall (likely before any sim I'd start right now would get anywhere useful :D)
<somlo> blah, obviously there's another unpublished bit (using that quad/fpu-enabled variant in litex itself): https://pastebin.com/Bh0crNQA
<tpb> Title: diff --git a/litex/soc/cores/cpu/rocket/core.py b/litex/soc/cores/cpu/rocket/cor - Pastebin.com (at pastebin.com)
chgavilana has joined #litex
martinraison has joined #litex
martinraison has quit [Ping timeout: 264 seconds]