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

⚠️ [rtl] cleanup CPU standard counters, remove CPU_CNT_WIDTH generic #407

Merged
merged 13 commits into from
Sep 9, 2022

Conversation

stnolting
Copy link
Owner

This PR is another cleanup of the CPU's standard counters.

⚠️ The CPU_CNT_WIDTH generic is removed. Hence, the width of the standard CPU counters ([m]cycle and [m]instret) is always 64-bit (low-word + high-word).

For area-constrained setups the standard CPU counters can be excluded from synthesis by disabling the Zicntr ISA extension (via the CPU_EXTENSION_RISCV_Zicntr generic).

@stnolting stnolting added the HW Hardware-related label Sep 8, 2022
@stnolting stnolting self-assigned this Sep 8, 2022
@stnolting stnolting changed the title ⚠️ [rtl] cleanup CPU standard coutners, remove CPU_CNT_WIDTH generic ⚠️ [rtl] cleanup CPU standard counters, remove CPU_CNT_WIDTH generic Sep 8, 2022
@stnolting stnolting marked this pull request as ready for review September 8, 2022 19:25
@stnolting stnolting merged commit 22be799 into main Sep 9, 2022
@stnolting stnolting deleted the cpu_counters_cleanup branch September 9, 2022 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW Hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant