risc-v/litex: Update docs for vexriscv invalidate and no-op flush.

Per further feedback from Litex community, the vexriscv cache is
write-through so no flush is required - therefore, make it a nop.

And add a pointer to vexriscv invalidation magic instr docs.

Signed-off-by: Justin Erenkrantz <justin@erenkrantz.com>
This commit is contained in:
Justin Erenkrantz
2026-01-07 10:15:15 -05:00
committed by Lup Yuen Lee
parent 0737eb3325
commit 220263e7c4
+5 -1
View File
@@ -52,6 +52,9 @@
.globl up_invalidate_dcache_all
.type up_invalidate_dcache_all, function
/* Invalidate entire cache via the 0x500F instruction
* See https://github.com/SpinalHDL/VexRiscv?tab=readme-ov-file#dbuscachedplugin
*/
up_invalidate_dcache_all:
.word 0x500F
#endif
@@ -74,8 +77,9 @@ up_invalidate_dcache_all:
.globl up_flush_dcache_all
.type up_flush_dcache_all, function
/* VexRiscv cache is write-through so there is no need to flush */
up_flush_dcache_all:
.word 0x500F
nop
#endif
/****************************************************************************