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

Prevent TLWidthWidget from generating X outputs #2815

Merged
merged 2 commits into from
Apr 19, 2021
Merged

Conversation

ingallsj
Copy link
Contributor

Widening WidthWidgets contain an uninitialized data register. The first transaction through the widget may propagate that register's contents on the bus, which is logically correct but can propagates a X, violating our constraint that we never provide X in the payload of a valid xact.

Fix by propagating in.bits.data, rather than the register, until the register has been written at least once. This is cheaper than resetting the register.

Widening WidthWidgets contain an uninitialized data register.  The first
transaction through the widget may propagate that register's contents
on the bus, which is logically correct but can propagates a X, violating
our constraint that we never provide X in the payload of a valid xact.

Fix by propagating in.bits.data, rather than the register, until the
register has been written at least once.  This is cheaper than resetting
the register.
@ingallsj ingallsj requested a review from aswaterman April 18, 2021 04:08
@ingallsj ingallsj closed this Apr 19, 2021
@ingallsj ingallsj deleted the widthwidget-x-prop branch April 19, 2021 01:46
@ingallsj ingallsj restored the widthwidget-x-prop branch April 19, 2021 01:47
@ingallsj ingallsj reopened this Apr 19, 2021
@ingallsj ingallsj merged commit d56e216 into master Apr 19, 2021
@ingallsj ingallsj deleted the widthwidget-x-prop branch April 19, 2021 06:31
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.

2 participants