Closed MarioOpenHWGroup closed 4 months ago
@zchamski Can you approve ?
I don't know why but I need to give the cva6.py the misa_we_enabled to get spike work !!
MISA is read only. I do not understand why in Spike MISA need to be write-able !? misa_we_enable =1
I don't know why but I need to give the cva6.py the misa_we_enabled to get spike work !!
The misa_we_enable
parameter (with value 'true') enables the control of the writability of MISA via the parameter misa_we
.
If misa_we_enable
is left at false
, the default behavior of Spike remains in effect, which is to keep MISA extension bits MAFDQCHV
writable (https://github.com/openhwgroup/core-v-verif/blob/master/vendor/riscv/riscv-isa-sim/riscv/csrs.cc#L613)
:heavy_check_mark: successful run, report available here.