Closed Podgorny98 closed 2 years ago
I'll try to provide fix
Thanks for reporting. Setting mrac to 1 sounds like the correct solution. It doesn't look like we can set a reset value for the register so we should do this early in the software instead. Perhaps the best way would be to do this as the first operation in the bootloader.
In that case we need to change it in two places.
The bootloader now sets mrac since a while back. Closing this. Please reopen if issue remains
When riscv-gnu-toolchain is built as "rv32imc" following set of rv32i riscv-compliance tests falls on comparing output signature files to reference files:
It happens due to Write Buffer coalescing on print - these tests pass if WB coalescing disable bit is set in the mfdc register .
Reset value equal to 1 in the mrac register for memory regions with side-effects may be a solution.