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

[rtl] cleanup, reworks and optimization #559

Merged
merged 6 commits into from
Mar 24, 2023
Merged

[rtl] cleanup, reworks and optimization #559

merged 6 commits into from
Mar 24, 2023

Conversation

stnolting
Copy link
Owner

  • cleanup and improve instruction cache (loading a block on a miss is 1 cycle faster)
  • cleanup PMP and counter CSR logic
  • 🔒 fix minor CSR access check issue; accessing base counters like cycle did not trap when Zicntr was disabled
  • ✨ add full support for mcounteren CSR (constrain user-level access to counter CSRs)

* cleanup counter and PMP CSRs
* fix minor bug in base counter CSR check
* add full support for mcounteren CSR
@stnolting stnolting added risc-v compliance Modification to comply with official RISC-V specs. HW Hardware-related coding-style Related to the HW/SW coding style labels Mar 24, 2023
@stnolting stnolting self-assigned this Mar 24, 2023
@stnolting stnolting marked this pull request as ready for review March 24, 2023 17:09
@stnolting stnolting merged commit d610a0b into main Mar 24, 2023
@stnolting stnolting deleted the csr_reworks branch March 24, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coding-style Related to the HW/SW coding style 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.

1 participant