mstatus CSR is failing while verifying access mode.
Created by: spidugu444
Is there an existing CVA6 bug for this?
-
I have searched the existing bug issues
Bug Description
While verifying access mode for MSTATUS CSR, Test got failed on RTL end due to reading nonzero values on reserved fields, while on spike end reserved fields are reading with zero.
please find the steps to replicate issue.
- git clone https://github.com/spidugu444/core-v-verif.git
- git check out csr_mstatus_access_verification
- set toolchain to RISCV varible
- Run MSTATUS test by using source cva6/regress/dv-riscv-csr-access-test.sh
- output directory will generate inside cva6/sim
- MSTATUS test and Yaml file location: cva6/tests/custom/csr_access_tests