Skip to content

In "examples/smtbmc/demo1.v" verification,the “assert” statement cannot be recognized #4962

Answered by georgerennie
zsxpdsyz asked this question in Q&A
Discussion options

You must be logged in to vote

yosys-smtbmc wraps the .smt2 file and adds the assert statements to perform the verification before passing it to the actual smt solvers (through their stdin). This allows it to incrementally unroll more cycles of the design over time. If you wanted to perform some other verification with this format the smt2 format Yosys generates is described in the write_smt2 help https://yosyshq.readthedocs.io/projects/yosys/en/latest/cmd/write_smt2.html

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by zsxpdsyz
Comment options

You must be logged in to vote
1 reply
@zsxpdsyz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants