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

Clean up parameter types. Fix for issue #676 #813

Merged
merged 2 commits into from Mar 24, 2023

Conversation

silabs-oivind
Copy link
Contributor

Update most "parameter int" to "parameter int unsigned".
Binary parameters updated from "int" to "bit".
Note that PMA_NUM_REGIONS and DBG_NUM_TRIGGERS remain "parameter int" to avoid issues like the one reported in #39

Signed-off-by: Oivind Ekelund <oivind.ekelund@silabs.com>
@@ -24,13 +24,13 @@
////////////////////////////////////////////////////////////////////////////////

module cv32e40x_mpu_sva import cv32e40x_pkg::*; import uvm_pkg::*;
#( parameter int PMA_NUM_REGIONS = 0,
#( parameter int PMA_NUM_REGIONS = 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

IS_INSTR_SIDE should be 'bit' (might occur in other files as well)

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.

Signed-off-by: Oivind Ekelund <oivind.ekelund@silabs.com>
@Silabs-ArjanB Silabs-ArjanB added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Mar 24, 2023
@Silabs-ArjanB Silabs-ArjanB merged commit 85cabe2 into openhwgroup:master Mar 24, 2023
1 check passed
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.

None yet

2 participants