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

Fix definition of mcontrol.action #260

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

YenHaoChen
Copy link
Contributor

The mcontrol has 4 bits only instead of 6 bits in debug spec 1.0.0-rc3.

@YenHaoChen
Copy link
Contributor Author

I found a CSR RW bug in Spike and traced it back to this root cause.

The definitions of mcontrol CSR is outdated. People may want to remove all of the mcontrol definitions in the encoding.h and use the ones in debug_defines.h. In such a case, I can provide additional fixes to Spike.

Copy link
Member

@aswaterman aswaterman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with continuing to provide these definitions in encoding.h, but of course you are right that they need to be correct.

@aswaterman aswaterman merged commit 6665a19 into riscv:master Jul 16, 2024
2 checks passed
@YenHaoChen YenHaoChen deleted the pr-mcontrol-action branch July 16, 2024 02:25
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.

2 participants