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

write_btor: only initialize array with const value when it is fully def #4645

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

georgerennie
Copy link
Collaborator

If all addresses of an array have the same initial value, they can be initialized in one go in btor with the constraint that the initial value must be fully const and thus can't have undef bits in. This constraint was not being checked before.

* If all addresses of an array have the same initial value, they can be
  initialized in one go in btor with the constraint that the initial
  value must be fully const and thus can't have undef bits in
@georgerennie georgerennie force-pushed the george/btor_undef_array_init branch from 2f54741 to 6ab3931 Compare October 9, 2024 13:08
@jix jix merged commit 014cb53 into YosysHQ:main Nov 11, 2024
24 checks passed
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