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
Reads and writes to illegal CSRs should raise an Illegal Instruction exception. Since the commit ca2b76e, reads to illegal (or unimplemented) CSRs return 0, and writes do nothing. Before that commit, accesses to illegal CSRs caused a fromJust runtime error in Haskell.
I added the behavior in ca2b76e to get riscv-tests to work for now. If we fix this issue, we will break riscv-tests support until we implement all the CSRs used in those tests (e.g. satp, mideleg, medeleg, etc.).
The text was updated successfully, but these errors were encountered:
Reads and writes to illegal CSRs should raise an Illegal Instruction exception. Since the commit ca2b76e, reads to illegal (or unimplemented) CSRs return 0, and writes do nothing. Before that commit, accesses to illegal CSRs caused a fromJust runtime error in Haskell.
I added the behavior in ca2b76e to get riscv-tests to work for now. If we fix this issue, we will break riscv-tests support until we implement all the CSRs used in those tests (e.g. satp, mideleg, medeleg, etc.).
The text was updated successfully, but these errors were encountered: