mirror of https://github.com/YosysHQ/yosys.git
smtbmc: Fix return status handling.
This commit is contained in:
parent
5bcde7ccc3
commit
299ab76a09
|
@ -1548,7 +1548,7 @@ else: # not tempind, covermode
|
|||
break
|
||||
|
||||
smt_pop()
|
||||
if not retstatus:
|
||||
if retstatus == "FAILED" or retstatus == "PREUNSAT":
|
||||
break
|
||||
|
||||
else: # gentrace
|
||||
|
@ -1568,7 +1568,7 @@ else: # not tempind, covermode
|
|||
|
||||
step += step_size
|
||||
|
||||
if gentrace and retstatus:
|
||||
if gentrace and retstatus == "PASSED":
|
||||
print_anyconsts(0)
|
||||
write_trace(0, num_steps, '%')
|
||||
|
||||
|
|
Loading…
Reference in New Issue