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

CSR: add switch for cycle, instret and htimedelta #388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cebarobot
Copy link
Member

As old CSR module of XiangShan does not support any unpriv counter, it's better to add switch of unpriv counter in NEMU.

Also, openSBI asks that time and htimedelta should either implemented or both unimplemented. This patch add some marco to meet this.

@cebarobot cebarobot marked this pull request as ready for review July 10, 2024 13:43
@cebarobot cebarobot force-pushed the csr-cntr branch 3 times, most recently from b5c8c9a to 7aec4e4 Compare July 11, 2024 03:54
As old CSR module of XiangShan does not support any unpriv counter, it's better to add switch of unpriv counter in NEMU.

Also, openSBI asks that time and htimedelta should either implemented or both unimplemented. This patch add some marco to meet this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant