mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 20:50:51 +00:00
smtbmc and qbfsat: Add timeout option to set solver timeouts for Z3, Yices, and CVC4.
This commit is contained in:
parent
f9eef5e3f7
commit
9847a4eea8
3 changed files with 88 additions and 18 deletions
|
@ -1557,8 +1557,9 @@ else: # not tempind, covermode
|
|||
smt_assert(get_constr_expr(constr_asserts, i))
|
||||
|
||||
print_msg("Solving for step %d.." % (last_check_step))
|
||||
if smt_check_sat() != "sat":
|
||||
print("%s No solution found!" % smt.timestamp())
|
||||
status = smt_check_sat()
|
||||
if status != "sat":
|
||||
print("%s No solution found! (%s)" % (smt.timestamp(), status))
|
||||
retstatus = "FAILED"
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue