Tuesday, 2021-11-09

*** tpb <[email protected]> has joined #litex00:00
*** indy <[email protected]> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)02:13
*** indy <[email protected]> has joined #litex02:14
*** indy <[email protected]> has quit IRC (Client Quit)02:19
*** indy <[email protected]> has joined #litex02:20
*** indy <[email protected]> has quit IRC (Ping timeout: 244 seconds)02:25
*** indy <[email protected]> has joined #litex02:30
*** indy <[email protected]> has quit IRC (Ping timeout: 240 seconds)02:34
*** indy <[email protected]> has joined #litex02:36
*** Degi_ <[email protected]> has joined #litex02:54
*** Degi <[email protected]> has quit IRC (Ping timeout: 244 seconds)02:55
*** Degi_ is now known as Degi02: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 #litex04:45
*** TMM_ <[email protected]> has joined #litex04:45
*** ilia__s <[email protected]> has joined #litex04:45
*** mithro <[email protected]> has joined #litex04:45
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has joined #litex04:45
*** linear_cannon <[email protected]> has quit IRC (Ping timeout: 260 seconds)05:44
*** linear_cannon <[email protected]> has joined #litex05:46
*** linear_cannon <[email protected]> has quit IRC (Read error: Connection reset by peer)06:08
*** linearcannon <[email protected]> has joined #litex06:08
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)06:51
*** TMM_ <[email protected]> has joined #litex06:51
*** ewen <[email protected]> has joined #litex07: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 design07: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 generator07: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 build07:28
_florent_https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/minerva/core.py#L96-L12307:28
_florent_There is also https://github.com/enjoy-digital/litex/wiki/Reuse-A-Verilog-VHDL-nMigen-Core#reusing-a-nmigen-core07:29
*** andresmanelli_ <andresmanelli_!~andresman@2a01:cb19:8c36:4900:e9e2:4b35:847:3022> has joined #litex07: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 #litex07: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 #litex08:52
*** manelliandres <manelliandres!~andresman@2a01:cb19:8c36:4900:c12b:9a21:bd2f:578b> has quit IRC (Ping timeout: 268 seconds)08:56
acathlahttps://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 #litex10:43
_florent_acathla: Thanks, I'm going to look at this12: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 #litex14: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 #litex14: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 #litex15:41
*** smb784 <[email protected]> has quit IRC (Remote host closed the connection)16:44
*** trabucay1e <[email protected]> has joined #litex19:51
*** sorear_ <[email protected]> has joined #litex19:53
*** Emantor_ <[email protected]> has joined #litex19: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 sorear20:00
*** kbeckmann <[email protected]> has joined #litex20:05
*** trabucay1e is now known as trabucayre21: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 #litex22:14
smb784Hey 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 modules22:15
smb784I would like to do this so that I can add this to my own design for the SQRL Acorn22:16
smb784I 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
smb784litex.build.generic_platform.ConstraintError: Resource not found: flash_cs_n:None22:17
smb784does this mean I need to specify something extra in the ac701.yml? Or is there something else I am missing?22:18
smb784Here's a pastebin link to my edited gen.py that incorporates the spi flash & gpio: https://pastebin.com/3RxdB9mF22:20
tpbTitle: litepcie_with_spi_and_gpio - Pastebin.com (at pastebin.com)22:20
smb784and 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.yml22:21
*** cr1901 <cr1901!~William@2601:8d:8600:911:35ce:6bfb:461f:1853> has joined #litex22: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/!