-
Notifications
You must be signed in to change notification settings - Fork 213
Use generate statements for multidimensional array updates. #3207
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
Use generate statements for multidimensional array updates. #3207
Conversation
xls/codegen/testdata/combinational_generator_test_PrioritySelectOneHot.vtxt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice! Thanks for doing this
xls/codegen/testdata/combinational_generator_test_ArrayUpdate2DUpdateArrayVariableIndex.vtxt
Show resolved
Hide resolved
ed1171b to
1423b5a
Compare
|
The failure //xls/jit:jit_channel_queue_test is unrelated and seems to be broken at head at least for github CI. |
|
Would you mind rebasing and re-running rebuild-goldens? That script was missing a bunch of tests it should have included but it has been updated now. |
This significantly reduces the size of the verilog for these operations. Also reduce unnecessary duplication of expressions in some ops.
1423b5a to
5d05563
Compare
|
(I missed your earlier comment). Updated and fixed tests. Also fixed the golden file script which was broken in OSS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'll let @grebe weigh in before this lands.
|
Add "Reviewing Internally" label? Thanks |
This significantly reduces the size of the verilog for these operations. Also reduce unnecessary duplication of expressions in some ops, and inline bits typed literals.