<_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_>
_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]
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