*** tpb has joined #litex | 00:00 | |
*** fitzsim has quit IRC | 00:07 | |
*** HoloIRCUser has joined #litex | 00:27 | |
*** HoloIRCUser1 has quit IRC | 00:30 | |
*** Degi has quit IRC | 01:27 | |
*** Degi has joined #litex | 01:28 | |
*** HoloIRCUser1 has joined #litex | 01:48 | |
*** HoloIRCUser has quit IRC | 01:48 | |
*** gregdavill has joined #litex | 02:40 | |
*** jaseg has quit IRC | 02:44 | |
gregdavill | loxodes: I just took a look at your dma code, and opened an issue with a fix. Pretty sure you just need to flush the caches. | 02:45 |
---|---|---|
*** jaseg has joined #litex | 02:45 | |
loxodes | gregdavill: thanks! the fix worked for me | 03:00 |
loxodes | I'm trying to understand why this fixed it - so the vexriscv cpu was caching some of the "adc_sram" memory, and reading unrelated hid the problem because that filled up the cache with something else? | 03:06 |
loxodes | and adding the volatile keyword to dram_array didn't help in this case because that only works on the compiler? | 03:08 |
gregdavill | Yeah, I think so. I'm not entirely sure of the logic behind how the cache lines are filled on the vex. But in general you should always invalidate the cache when using DMA and shared memory spaces. | 03:10 |
*** ranzbak has quit IRC | 03:57 | |
*** st-gourichon-fid has joined #litex | 04:55 | |
*** HoloIRCUser2 has joined #litex | 04:59 | |
*** HoloIRCUser1 has quit IRC | 05:02 | |
*** HoloIRCUser1 has joined #litex | 05:23 | |
*** HoloIRCUser2 has quit IRC | 05:27 | |
*** HoloIRCUser1 has quit IRC | 05:49 | |
*** kgugala__ has quit IRC | 05:51 | |
*** kgugala has joined #litex | 05:52 | |
*** ranzbak has joined #litex | 06:01 | |
*** kgugala_ has joined #litex | 06:46 | |
*** kgugala has quit IRC | 06:50 | |
*** ranzbak has quit IRC | 06:53 | |
*** ranzbak has joined #litex | 07:00 | |
*** st-gourichon-f has joined #litex | 07:27 | |
*** st-gourichon-fid has quit IRC | 07:31 | |
*** st-gourichon-f has quit IRC | 07:39 | |
*** gregdavill_ has joined #litex | 09:38 | |
*** gregdavill has quit IRC | 09:41 | |
*** scanakci has quit IRC | 10:23 | |
*** kgugala has joined #litex | 11:11 | |
*** kgugala_ has quit IRC | 11:14 | |
*** kgugala has quit IRC | 11:22 | |
*** kgugala has joined #litex | 11:22 | |
*** _whitelogger has quit IRC | 13:25 | |
*** gregdavill_ has quit IRC | 13:26 | |
*** _whitelogger has joined #litex | 13:26 | |
*** Degi has quit IRC | 13:27 | |
*** acathla has quit IRC | 13:27 | |
*** somlo has quit IRC | 13:27 | |
*** _franck_ has quit IRC | 13:27 | |
*** Finde has quit IRC | 13:27 | |
*** tmbinc has quit IRC | 13:27 | |
*** wizzy has quit IRC | 13:27 | |
*** Degi has joined #litex | 13:28 | |
*** acathla has joined #litex | 13:28 | |
*** somlo has joined #litex | 13:28 | |
*** _franck_ has joined #litex | 13:28 | |
*** Finde has joined #litex | 13:28 | |
*** wizzy has joined #litex | 13:28 | |
*** tmbinc has joined #litex | 13:28 | |
*** kgugala_ has joined #litex | 16:13 | |
*** kgugala has quit IRC | 16:16 | |
*** kgugala_ has quit IRC | 16:27 | |
*** kgugala has joined #litex | 16:27 | |
kbeckmann | Is anyone working on integrating PSRAM/qspi-ram support in litex? I have some quite low quality code that works but is good enough to verify that the chip works. (write 42Mbps / read 27Mbps at 50MHz cpu core) | 16:45 |
kbeckmann | just asking before i put in an effort in making it nice. would be fun to run it at the max speed and so on. | 16:45 |
zyp | there's hyperram at least: https://github.com/gregdavill/litex-hyperram/blob/master/hyperbus.py | 17:13 |
tpb | Title: litex-hyperram/hyperbus.py at master · gregdavill/litex-hyperram · GitHub (at github.com) | 17:13 |
kbeckmann | right, that nice. but i was thinking of integrating with LY68L6400SLIT | 17:27 |
kbeckmann | ah i see that https://github.com/enjoy-digital/litex/pull/381 exists, that should be usable for (q)spi-ram as well | 17:33 |
tpb | Title: spi_flash: Add quadspi support by mateusz-holenko · Pull Request #381 · enjoy-digital/litex · GitHub (at github.com) | 17:33 |
*** kgugala has quit IRC | 17:46 | |
*** kgugala has joined #litex | 17:46 | |
*** m4ssi has joined #litex | 20:26 | |
*** m4ssi has quit IRC | 20:58 | |
*** lf_ has joined #litex | 23:49 | |
*** lf has quit IRC | 23:49 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!