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

Fix crossbar locking up after reading to write-only address #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aharrysrc
Copy link

@aharrysrc aharrysrc commented Dec 3, 2024

When someone tries to read from a write-only region, it doesn't increment trans_count_reg (because it never sets trans_start), but it still gets s_cpl_valid to indicate the end of the transaction (once the DECERR goes through) and tries to decrement the transaction count. This can cause trans_count_reg to overflow and peg the transaction count at the limit, causing the bus to stall.
fixes #84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crossbar locks up after reading to write-only address
1 participant