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 addr_offset logic #1091

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Fix addr_offset logic #1091

merged 1 commit into from
Jul 11, 2022

Conversation

nathanielnrn
Copy link
Contributor

Before, due to verilog order of operations addr offsets were incorrectly
adding before shifting.
Generated code now places shifted bits into a wire which is then added.
In the future, this commit could be reversed, depedent on the vast
library fixing this order of operations bug

Before, due to verilog order of operations addr offsets were incorrectly
adding before shifting.
Generated code now places shifted bits into a wire which is then added.
In the future, this commit could be reversed, depedent on the vast
library fixing this order of operations bug
@nathanielnrn
Copy link
Contributor Author

Also relevant to this vast precedence issue

@rachitnigam
Copy link
Contributor

Woo, perfect! LGTM

@nathanielnrn nathanielnrn merged commit 6e807de into master Jul 11, 2022
@nathanielnrn nathanielnrn deleted the bit-shift-fix branch July 11, 2022 18:57
@nathanielnrn nathanielnrn restored the bit-shift-fix branch July 11, 2022 20:22
@nathanielnrn nathanielnrn deleted the bit-shift-fix branch July 11, 2022 20:40
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.

Fix order of operations of addr calculations (bit shift must occur before addition)
2 participants