-
Notifications
You must be signed in to change notification settings - Fork 895
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
Add support for unpacked structs #4180
Draft
daglem
wants to merge
10
commits into
YosysHQ:main
Choose a base branch
from
daglem:unpacked-structs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Sep 18, 2024
-
nordshift on a net or variable yields generation of muxes instead of shift circuits for dynamic rvalue indexing, akin to nowrshmsk for lvalue indexing. To facilitate this, the AST transformations for rvalue indexing are moved from genrtlil.cc to simplify.cc, bringing them in line with transformations for lvalue indexing.
Configuration menu - View commit details
-
Copy full SHA for ca01de2 - Browse repository at this point
Copy the full SHA ca01de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8a7b9 - Browse repository at this point
Copy the full SHA 8f8a7b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 608bc58 - Browse repository at this point
Copy the full SHA 608bc58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1597dfc - Browse repository at this point
Copy the full SHA 1597dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36257c3 - Browse repository at this point
Copy the full SHA 36257c3View commit details -
Correct self-determined signedness for right operand of AST_SHIFT and…
… AST_SHIFTX AST_CAST_SIZE on the right operand caused an unsigned operand to be signed. This is corrected by handling the right operand like in AST_POW.
Configuration menu - View commit details
-
Copy full SHA for 7b2c299 - Browse repository at this point
Copy the full SHA 7b2c299View commit details -
Configuration menu - View commit details
-
Copy full SHA for c67421e - Browse repository at this point
Copy the full SHA c67421eView commit details -
Further simplify rewriting of dynamic indexing
This also corrects the calculation of bit widths, using the new function min_bit_width.
Configuration menu - View commit details
-
Copy full SHA for 5a63653 - Browse repository at this point
Copy the full SHA 5a63653View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6dd61d - Browse repository at this point
Copy the full SHA d6dd61dView commit details -
Add support for unpacked structs/unions
Unpacked structs/unions may now be declared, and can contain members with unpacked dimensions. This is just syntactic sugar; unpacked structs/unions are handled as if they were packed. Note that arrays of structs/unions are still not supported.
Configuration menu - View commit details
-
Copy full SHA for f9381ba - Browse repository at this point
Copy the full SHA f9381baView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.