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

add gate for CSR read address #295

Merged
merged 2 commits into from
Apr 7, 2022
Merged

add gate for CSR read address #295

merged 2 commits into from
Apr 7, 2022

Conversation

stnolting
Copy link
Owner

This small PR adds an AND-gate to the CSR read address bus. This eliminates unnecessary switching activity in the (large) CSR block as the read address is only propagated (from the instruction word) if there is an actual CSR access. (Somehow,) this also reduces area costs of the CSR system 😉

* reduces switching activity (= dyn. power consumption)
* minor control bus cleanup (ALU co-processor select)
@stnolting stnolting added the HW Hardware-related label Apr 7, 2022
@stnolting stnolting self-assigned this Apr 7, 2022
@stnolting stnolting marked this pull request as ready for review April 7, 2022 09:41
@stnolting stnolting merged commit bd379f0 into main Apr 7, 2022
@stnolting stnolting deleted the reduce_csr_switching branch April 7, 2022 15:58
@stnolting stnolting added the optimization Make things faster, smaller and more efficient label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW Hardware-related optimization Make things faster, smaller and more efficient
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant