3
0
Fork 0
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:
Alberto Gonzalez 2020-05-01 23:17:35 +00:00
parent f9eef5e3f7
commit 9847a4eea8
No known key found for this signature in database
GPG key ID: 8395A8BA109708B2
3 changed files with 88 additions and 18 deletions

View file

@ -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