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

optimize CSR address logic #1008

Merged
merged 4 commits into from
Sep 8, 2024
Merged

optimize CSR address logic #1008

merged 4 commits into from
Sep 8, 2024

Conversation

stnolting
Copy link
Owner

  • add a dedicated register stage for the CSR address that gets updated only if there is an actual CSR access operation (reduces switching activity)
  • code cleanup
  • revert package function cleanup (Quartus issues warnings if variables are initialized only at declaration)

Quartus is unhappy (issues warnings) if variables are initialized only at declaration
no switching activity at all on CSR address net if there is no explicit CSR access operation in progress
@stnolting stnolting added HW Hardware-related optimization Make things faster, smaller and more efficient labels Sep 8, 2024
@stnolting stnolting self-assigned this Sep 8, 2024
@stnolting stnolting marked this pull request as ready for review September 8, 2024 10:10
@stnolting stnolting merged commit 208aa66 into main Sep 8, 2024
10 checks passed
@stnolting stnolting deleted the dev070924 branch September 8, 2024 11:55
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