In "examples/smtbmc/demo1.v" verification,the “assert” statement cannot be recognized #4962
-
When I try to use "make" to formally verify the "examples/smtbmc/demo1.v". I checked the Makefile and find the workflow of the verification is: firstly, using yosys script to rewrite the verilog design to smt2 format. Then, using But I observed the formal check are always passed, then I read the I want to ask: How can we modify the code to perform the correct verification? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Depending on what you're trying to do, you may also be better off using SBY instead of trying to use |
Beta Was this translation helpful? Give feedback.
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 thewrite_smt2
help https://yosyshq.readthedocs.io/projects/yosys/en/latest/cmd/write_smt2.html