*** tpb <[email protected]> has joined #litex | 00:00 | |
*** indy <[email protected]> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 02:13 | |
*** indy <[email protected]> has joined #litex | 02:14 | |
*** indy <[email protected]> has quit IRC (Client Quit) | 02:19 | |
*** indy <[email protected]> has joined #litex | 02:20 | |
*** indy <[email protected]> has quit IRC (Ping timeout: 244 seconds) | 02:25 | |
*** indy <[email protected]> has joined #litex | 02:30 | |
*** indy <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 02:34 | |
*** indy <[email protected]> has joined #litex | 02:36 | |
*** Degi_ <[email protected]> has joined #litex | 02:54 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 244 seconds) | 02:55 | |
*** Degi_ is now known as Degi | 02:55 | |
*** andresmanelli <[email protected]> has quit IRC (*.net *.split) | 04:44 | |
*** TMM_ <[email protected]> has quit IRC (*.net *.split) | 04:44 | |
*** ilia__s <[email protected]> has quit IRC (*.net *.split) | 04:44 | |
*** mithro <[email protected]> has quit IRC (*.net *.split) | 04:44 | |
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has quit IRC (*.net *.split) | 04:44 | |
*** andresmanelli <[email protected]> has joined #litex | 04:45 | |
*** TMM_ <[email protected]> has joined #litex | 04:45 | |
*** ilia__s <[email protected]> has joined #litex | 04:45 | |
*** mithro <[email protected]> has joined #litex | 04:45 | |
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has joined #litex | 04:45 | |
*** linear_cannon <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 05:44 | |
*** linear_cannon <[email protected]> has joined #litex | 05:46 | |
*** linear_cannon <[email protected]> has quit IRC (Read error: Connection reset by peer) | 06:08 | |
*** linearcannon <[email protected]> has joined #litex | 06:08 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 06:51 | |
*** TMM_ <[email protected]> has joined #litex | 06:51 | |
*** ewen <[email protected]> has joined #litex | 07:03 | |
_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 | 07:23 |
---|---|---|
_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) | 07:24 |
_florent_ | smb784: for the first solution, it only requires copy/pasting of the SQRL Acorn integration code + add the Flash IOs to the generator | 07:26 |
_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 | 07:28 |
_florent_ | https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/minerva/core.py#L96-L123 | 07:28 |
_florent_ | There is also https://github.com/enjoy-digital/litex/wiki/Reuse-A-Verilog-VHDL-nMigen-Core#reusing-a-nmigen-core | 07:29 |
*** andresmanelli_ <andresmanelli_!~andresman@2a01:cb19:8c36:4900:e9e2:4b35:847:3022> has joined #litex | 07:36 | |
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 ! | 07:39 |
*** manelliandres <manelliandres!~andresman@2a01:cb19:8c36:4900:c12b:9a21:bd2f:578b> has joined #litex | 07:58 | |
*** andresmanelli <[email protected]> has quit IRC (Read error: Connection reset by peer) | 07:58 | |
*** ewen <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 08:13 | |
*** andresmanelli <[email protected]> has joined #litex | 08:52 | |
*** manelliandres <manelliandres!~andresman@2a01:cb19:8c36:4900:c12b:9a21:bd2f:578b> has quit IRC (Ping timeout: 268 seconds) | 08:56 | |
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? | 10:27 |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 10:43 | |
_florent_ | acathla: Thanks, I'm going to look at this | 12:41 |
_florent_ | acathla: This is fixed with https://github.com/enjoy-digital/litex/commit/02c0ed2de7ea059bc37a506c1116c200070dd90e, thanks! | 13:05 |
acathla | _florent_, cool, thanks. I think that's the only real thing that made the flash goes wrong, it was overwriting without erasing. | 13:10 |
*** cr1901 <cr1901!~William@2601:8d:8600:911:109:c768:abb5:da22> has quit IRC (Ping timeout: 264 seconds) | 13:14 | |
*** awordnot <[email protected]> has quit IRC (Ping timeout: 245 seconds) | 13:25 | |
*** cr1901 <cr1901!~William@2601:8d:8600:911:11bb:3b8:d197:c940> has joined #litex | 14:05 | |
*** cr1901 <cr1901!~William@2601:8d:8600:911:11bb:3b8:d197:c940> has quit IRC (Quit: Leaving.) | 14:17 | |
*** awordnot <awordnot!~awordnot@user/awordnot> has joined #litex | 14:52 | |
*** andresmanelli <[email protected]> has quit IRC () | 15:09 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 15:41 | |
*** TMM_ <[email protected]> has joined #litex | 15:41 | |
*** smb784 <[email protected]> has quit IRC (Remote host closed the connection) | 16:44 | |
*** trabucay1e <[email protected]> has joined #litex | 19:51 | |
*** sorear_ <[email protected]> has joined #litex | 19:53 | |
*** Emantor_ <[email protected]> has joined #litex | 19:54 | |
*** trabucayre <[email protected]> has quit IRC (*.net *.split) | 20:00 | |
*** sorear <[email protected]> has quit IRC (*.net *.split) | 20:00 | |
*** Emantor <[email protected]> has quit IRC (*.net *.split) | 20:00 | |
*** kbeckmann <[email protected]> has quit IRC (*.net *.split) | 20:00 | |
*** sorear_ is now known as sorear | 20:00 | |
*** kbeckmann <[email protected]> has joined #litex | 20:05 | |
*** trabucay1e is now known as trabucayre | 21:40 | |
*** andresmanelli_ <andresmanelli_!~andresman@2a01:cb19:8c36:4900:e9e2:4b35:847:3022> has quit IRC (Quit: Client closed) | 21:41 | |
*** smb784 <[email protected]> has joined #litex | 22:14 | |
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 | 22:15 |
smb784 | I would like to do this so that I can add this to my own design for the SQRL Acorn | 22:16 |
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: | 22:17 |
smb784 | litex.build.generic_platform.ConstraintError: Resource not found: flash_cs_n:None | 22:17 |
smb784 | does this mean I need to specify something extra in the ac701.yml? Or is there something else I am missing? | 22:18 |
smb784 | Here's a pastebin link to my edited gen.py that incorporates the spi flash & gpio: https://pastebin.com/3RxdB9mF | 22:20 |
tpb | Title: litepcie_with_spi_and_gpio - Pastebin.com (at pastebin.com) | 22:20 |
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 | 22:21 |
*** cr1901 <cr1901!~William@2601:8d:8600:911:35ce:6bfb:461f:1853> has joined #litex | 22:51 | |
*** linearcannon <[email protected]> has quit IRC (Quit: linearcannon) | 23:31 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!