Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
make unimplemented mode bits ROZ instead of WARL
Browse files Browse the repository at this point in the history
  • Loading branch information
bcstrongx committed Jul 24, 2023
1 parent 9fdd94d commit 2c25f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ mcyclecfg and minstretcfg are 64-bit registers that configure privilege mode fil

When all __x__INH bits are zero, event counting is enabled in all modes.

For each bit in 61:58, if the associated privilege mode is not implemented, the bit is WARL. Bits 57:56 are reserved for possible future modes.
For each bit in 61:58, if the associated privilege mode is not implemented, the bit is read-only zero. Bits 57:56 are reserved for possible future modes.

For RV32, bits 63:32 of mcyclecfg can be accessed via the mcyclecfgh CSR, and bits 63:32 of minstretcfg can be accessed via the minstretcfgh CSR.

Expand Down

0 comments on commit 2c25f77

Please sign in to comment.