projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bcde7c
)
smtbmc: Fix return status handling.
author
Alberto Gonzalez
<boqwxp@airmail.cc>
Thu, 14 May 2020 17:07:59 +0000
(17:07 +0000)
committer
Alberto Gonzalez
<boqwxp@airmail.cc>
Thu, 14 May 2020 17:07:59 +0000
(17:07 +0000)
backends/smt2/smtbmc.py
patch
|
blob
|
history
diff --git
a/backends/smt2/smtbmc.py
b/backends/smt2/smtbmc.py
index d3015b0669da48b3302dfefd0c8eb5ad149b1f8f..f1f55be1cad928a7bec397cf24700c7a703a0bca 100644
(file)
--- a/
backends/smt2/smtbmc.py
+++ b/
backends/smt2/smtbmc.py
@@
-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, '%')