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

Disallow writes to MSTATUS.XS #2508

Merged
merged 1 commit into from
Jun 20, 2020

Conversation

jerryz123
Copy link
Contributor

The ISA specifies the XS field to be read-only. This PR modifies Rocket's CSR file to hardware XS to 3 (dirty) when RoCC is present, and 0 otherwise.

Type of change: other enhancement

Impact: API modification

Development Phase: mplementation

Release Notes

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.

LGTM otherwise.

@jerryz123 jerryz123 force-pushed the no-xs-writes branch 2 times, most recently from dd6c480 to ef30111 Compare June 9, 2020 18:33
@aswaterman aswaterman merged commit 653efa9 into chipsalliance:master Jun 20, 2020
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