add Charles' flush command + recommended nops

the Vex has a custom flush instruction, after contacting
charles he recommends maybe adding some nops to make sure it
completes (maybe hardware bug? unclear. we're about to find out.)
This commit is contained in:
bunnie 2022-10-19 23:42:43 +08:00
parent c90bbb6276
commit 7b0f30c318
9 changed files with 9 additions and 0 deletions

0
xous-rs/assemble.sh Normal file → Executable file
View file

Binary file not shown.

View file

@ -101,5 +101,14 @@ vex_aes_dec_id_last_3:
.global riscv_cache_flush
riscv_cache_flush:
.word 0x500F
nop
nop
nop
nop
fence
nop
nop
nop
nop
ret