Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@TaoBi22
Copy link
Contributor

@TaoBi22 TaoBi22 commented Nov 26, 2024

Changes circt-bmc to use the initial values added to the BMC op in #7729 to initialize register states - this should mean circt-bmc can now check meaningful properties! 🎉

The added integration test checks whether the counter value always stays below a certain value with different time bounds, which also functions as a check that assertions are getting popped as mentioned in #7900

@TaoBi22 TaoBi22 requested a review from maerhart November 26, 2024 18:37
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! Very nice that these examples work properly now. 🎉

I think we should change the assembly format of the bmc op a bit in the future. It's a bit confusing to see which of the block arguments and terminator operands are regular inputs/outputs, registers, state values, etc.

…rovided for integer regs and update tests accordingly
@TaoBi22 TaoBi22 merged commit 46793f4 into llvm:main Nov 29, 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