Closed alanvgreen closed 4 years ago
Thanks for reporting @alanvgreen, i confirm i can reproduce the issue with lxsim --cpu-type=vexriscv --cpu-variant=lite --with-sdram
and will look at it.
This is fixed with https://github.com/enjoy-digital/litex/commit/e0a763e534ccbe8689c62906f59f5f9ebfbc27ed, the issue was that the Lite version does not have a data cache and does not support the dcache flush instruction. We are now providing empty flush_icache
/flush_dcache
functions for variants whithout i/d caches.
I have a Lite+Debug VexRiscV based SoC on an Arty that is failing to get past the memory test.
GDB says:
Instruction x500f is dcache flush.
Things that make this work:
Here is the failing boot sequence, up to the point where it hangs.