Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ constrain MTVAL CSR, add MTINST CSR #674

Merged
merged 8 commits into from
Aug 19, 2023
Merged

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Aug 18, 2023

  • ⚠️ constrain mtval CSR - does no longer provide the faulting instruction word when an illegal instruction exception has been raised (allowed by RISC-V priv. spec.; simplifies hardware)
  • add new minstret CSR that shows the (decompressed) instruction word for all synchronous exceptions

@stnolting stnolting added enhancement New feature or request risc-v compliance Modification to comply with official RISC-V specs. HW hardware-related labels Aug 18, 2023
@stnolting stnolting self-assigned this Aug 18, 2023
@stnolting stnolting marked this pull request as ready for review August 19, 2023 15:40
@stnolting stnolting merged commit c30e0d8 into main Aug 19, 2023
8 checks passed
@stnolting stnolting deleted the mtval_mtinst_csrs branch August 19, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW hardware-related risc-v compliance Modification to comply with official RISC-V specs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant