mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3258 from jix/fix-no-assertions
smtbmc: fix bmc with no assertions
This commit is contained in:
commit
d44f618de5
|
@ -1589,6 +1589,8 @@ else: # not tempind, covermode
|
|||
active_assert_expr = "(and %s)" % " ".join(active_assert_exprs)
|
||||
|
||||
smt_assert("(not %s)" % active_assert_expr)
|
||||
else:
|
||||
smt_assert("false")
|
||||
|
||||
|
||||
if smt_check_sat() == "sat":
|
||||
|
|
Loading…
Reference in New Issue