_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
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
indy has joined #litex
indy has quit [Client Quit]
indy has joined #litex
indy has quit [Ping timeout: 244 seconds]
indy has joined #litex
indy has quit [Ping timeout: 240 seconds]
indy has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 244 seconds]
Degi_ is now known as Degi
andresmanelli has quit [*.net *.split]
TMM_ has quit [*.net *.split]
ilia__s has quit [*.net *.split]
mithro has quit [*.net *.split]
lexano has quit [*.net *.split]
andresmanelli has joined #litex
ilia__s has joined #litex
mithro has joined #litex
lexano has joined #litex
TMM_ has joined #litex
linear_cannon has quit [Ping timeout: 260 seconds]
linear_cannon has joined #litex
linear_cannon has quit [Read error: Connection reset by peer]
linearcannon has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
ewen has joined #litex
<_florent_> smb784: If you want to use the full LiteX flow, you can see how to integrate the LitePCIe + the SPI Flash core from the SQRL Acorn design
<_florent_> smb784: if you want to use the standalone core, you can either modify LitePCIe Generator to include it (use the code from the SQRL Acorn design) or integrate an Flash core externally (the generator provide a MMAP interface)
<_florent_> smb784: for the first solution, it only requires copy/pasting of the SQRL Acorn integration code + add the Flash IOs to the generator
<_florent_> andresmanelli: Hi, you can have a look at the Minerva CPU integration: The CPU is written in nMigen and generated/integrated during the build
andresmanelli_ has joined #litex
<andresmanelli_> _florent_: Oh I've seen the second link, but the first one actually handles the build itself so I think that's what I'm looking for.  I'll take a look , thank you !
manelliandres has joined #litex
andresmanelli has quit [Read error: Connection reset by peer]
ewen has quit [Ping timeout: 240 seconds]
andresmanelli has joined #litex
manelliandres has quit [Ping timeout: 268 seconds]
<acathla> https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/bios/boot.c#L263 If you start copying at 4 (because it's the address) and use the full payload_length, aren't you copying 4 random bytes?
peepsalot has joined #litex
<_florent_> acathla: Thanks, I'm going to look at this
<acathla> _florent_, cool, thanks. I think that's the only real thing that made the flash goes wrong, it was overwriting without erasing.
cr1901 has quit [Ping timeout: 264 seconds]
awordnot has quit [Ping timeout: 245 seconds]
cr1901 has joined #litex
cr1901 has quit [Quit: Leaving.]
awordnot has joined #litex
andresmanelli has quit []
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
SMB784 has quit [Remote host closed the connection]
trabucay1e has joined #litex
sorear_ has joined #litex
Emantor_ has joined #litex
trabucayre has quit [*.net *.split]
sorear has quit [*.net *.split]
Emantor has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
sorear_ is now known as sorear
kbeckmann has joined #litex
trabucay1e is now known as trabucayre
andresmanelli_ has quit [Quit: Client closed]
SMB784 has joined #litex
<SMB784> Hey everyone, I'm trying to integrate the spi flash loader into the litepcie gen.py so I can create a standalone verilog file that contains both the PCIe & the SPI flash modules
<SMB784> I would like to do this so that I can add this to my own design for the SQRL Acorn
<SMB784> I have copied over the code from the sqrl_acorn.py that incorporates the spi_flash & gpio to a copy of the gen.py generator for the litepcie core, however I'm getting an error when I run it with the ac701.yml:
<SMB784> litex.build.generic_platform.ConstraintError: Resource not found: flash_cs_n:None
<SMB784> does this mean I need to specify something extra in the ac701.yml? Or is there something else I am missing?
<SMB784> Here's a pastebin link to my edited gen.py that incorporates the spi flash & gpio: https://pastebin.com/3RxdB9mF
<tpb> Title: litepcie_with_spi_and_gpio - Pastebin.com (at pastebin.com)
<SMB784> and the yml i'm using to generate this modified core is just the stock yml for the artix 7 found on the litex github: https://github.com/enjoy-digital/litepcie/blob/master/examples/ac701.yml
cr1901 has joined #litex
linearcannon has quit [Quit: linearcannon]