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

[circt-bmc][VerifToSMT] Pop existing assertions on each cycle #7900

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

TaoBi22
Copy link
Contributor

@TaoBi22 TaoBi22 commented Nov 26, 2024

This fixes a bug with circt-bmc where assertions on each cycle are never popped from the stack - as a result, if a property holds on the first cycle, it will always hold (as the unsatisfiable assertion never goes away). I haven't included an integration test in this PR because a meaningful integration test needs initial value support in circt-bmc - I have a branch to add this that I'll PR once this is merged.

Copy link
Member

@maerhart maerhart left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this bug 💯

@TaoBi22 TaoBi22 merged commit 239ab40 into llvm:main Nov 26, 2024
4 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