Skip to content

Conversation

kroening
Copy link
Collaborator

No description provided.

@kroening kroening marked this pull request as ready for review August 14, 2024 19:07
@kroening kroening force-pushed the indexed-part-select5 branch 2 times, most recently from b0215b9 to 8430840 Compare August 14, 2024 20:26
This adds a test for an assignment to an indexed part select with constant
indices.  The test yields invalid SMT-LIB.
@kroening kroening force-pushed the indexed-part-select5 branch from 8430840 to 4467d38 Compare August 14, 2024 20:30
--
^warning: ignoring
--
This yields invalid SMT-LIB ("invalid extract application").
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For that to materialise, wouldn't also some --smt command line be required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do run all tests both with the flattening backend and with Z3.

This fixes an off-by-one error in the synthesis for indexed part select
expressions.
@kroening kroening changed the title Verilog: KNOWNBUG test for assignment to indexed part select Verilog: fix synthesis for assignment to indexed part select Aug 14, 2024
@tautschnig tautschnig merged commit 4dee118 into main Aug 16, 2024
8 checks passed
@tautschnig tautschnig deleted the indexed-part-select5 branch August 16, 2024 12:31
Romy15200 pushed a commit to Romy15200/nws that referenced this pull request Aug 19, 2025
Verilog: fix synthesis for assignment to indexed part select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants