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

wt_dcache_buffer: Avoid out-of-range user signal access #2698

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

niwis
Copy link
Contributor

@niwis niwis commented Jan 9, 2025

If the data user signal is disabled and the user bus width is reduced, the slice operator into the user field will cause elaboration errors. Since the faulty else block is anyways without effect, just remove it.

If the data user signal is disabled and the user bus width is reduced,
the slice operator into the user field will cause elaboration errors.
Since the faulty else block is anyways without effect, just remove it.

Co-authored-by: Paul Scheffler <paulsc@iis.ee.ethz.ch>
Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
Copy link
Contributor

github-actions bot commented Jan 9, 2025

✔️ successful run, report available here.

@JeanRochCoulon JeanRochCoulon merged commit ee58bfa into openhwgroup:master Jan 9, 2025
10 checks passed
@niwis niwis deleted the fix-wbuffer-user branch January 10, 2025 02:30
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