You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Etiss is the fault injection virtual platform FIVP and added all the missing CSRs myself. All the CSRs work and I can read and write them except the mstatus register CSR768 at address 0x300.
Why is this important register not added to the virtualStruct by default?
Additionally, can you check why it is not working? The register is zero during the complete simulation although it should not. I ensured that my test program sets the mstatus register, but when I read it through the virtualStruct, it is always zero.
The text was updated successfully, but these errors were encountered:
In etiss/ArchImpl/RISCV/RISCVArchSpecificImp.h are only the following CSRs added to the VirtualStruct:
addCSR(CSR_MISA);
addCSR(CSR_MIE);
addCSR(CSR_MTVEC);
addCSR(CSR_MEPC);
addCSR(CSR_MCAUSE);
addCSR(CSR_MTVAL);
I use Etiss is the fault injection virtual platform FIVP and added all the missing CSRs myself. All the CSRs work and I can read and write them except the mstatus register CSR768 at address 0x300.
Why is this important register not added to the virtualStruct by default?
Additionally, can you check why it is not working? The register is zero during the complete simulation although it should not. I ensured that my test program sets the mstatus register, but when I read it through the virtualStruct, it is always zero.
The text was updated successfully, but these errors were encountered: