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
Attempting to read any of these CSR's in machine mode causes an illegal instruction exception. (User mode access has not yet been tested.) This is consistent with Ibex and CV32E40 handling of unimplemented CSR's.
If the desire is to implement these CSR's then functionality needs to be added to properly return data. If that is not desired, then the documentation should be updated to remove them.
The text was updated successfully, but these errors were encountered:
Are these CSRs supposed to be able to be read in machine mode? I see that the riscv-privilege spec has them as URO privilege in table 2.2. This lead me to believe that these registers are User mode Read Only. Although I don't see a definition of URO in the spec.
From page 5 of the riscv-privilege spec:
"Note that although CSRs and instructions are associated with one privilege level, they are also accessible at all higher privilege levels."
So these registers should be readable in machine mode.
Bug Description
The CV32E20 Specification lists the following CSR's as implemented:
Attempting to read any of these CSR's in machine mode causes an illegal instruction exception. (User mode access has not yet been tested.) This is consistent with Ibex and CV32E40 handling of unimplemented CSR's.
If the desire is to implement these CSR's then functionality needs to be added to properly return data. If that is not desired, then the documentation should be updated to remove them.
The text was updated successfully, but these errors were encountered: