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

Tie dcsr.mprven to 1. Add dcsr.stopcount. #718

Merged
merged 2 commits into from
Dec 8, 2022

Conversation

silabs-oivind
Copy link
Contributor

Fix for openhwgroup/cv32e40s#343.
Implementation of dcsr.stopcount functionality will come in a later PR.

@Silabs-ArjanB Silabs-ArjanB added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Dec 8, 2022
@@ -1010,6 +1012,8 @@ module cv32e40x_cs_registers import cv32e40x_pkg::*;
xdebugver : dcsr_rdata.xdebugver,
ebreakm : dcsr_rdata.ebreakm,
stepie : dcsr_rdata.stepie,
stopcount : dcsr_rdata.stopcount,
mprven : 1'b1,
Copy link
Contributor

Choose a reason for hiding this comment

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

dcsr_rdata.mprven

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@@ -644,6 +644,8 @@ module cv32e40x_cs_registers import cv32e40x_pkg::*;
xdebugver : dcsr_rdata.xdebugver,
ebreakm : csr_wdata_int[15],
stepie : csr_wdata_int[11],
stopcount : csr_wdata_int[10],
mprven : 1'b1,
Copy link
Contributor

Choose a reason for hiding this comment

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

dcsr_rdata.mprven

(treat the same as dcsr_rdata.xdebugver)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@Silabs-ArjanB Silabs-ArjanB merged commit e1ef7ec into openhwgroup:master Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants