diff options
author | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-05-14 17:07:59 +0000 |
---|---|---|
committer | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-05-14 17:07:59 +0000 |
commit | 299ab76a093f0cde95fdc0214b371140d7f339b9 (patch) | |
tree | 93e91b9523a2095e2c0fc9f974ba84193358468d /backends | |
parent | 5bcde7ccc331e575682823222c97cc414bb3d808 (diff) | |
download | yosys-299ab76a093f0cde95fdc0214b371140d7f339b9.tar.gz yosys-299ab76a093f0cde95fdc0214b371140d7f339b9.tar.bz2 yosys-299ab76a093f0cde95fdc0214b371140d7f339b9.zip |
smtbmc: Fix return status handling.
Diffstat (limited to 'backends')
-rw-r--r-- | backends/smt2/smtbmc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/smt2/smtbmc.py b/backends/smt2/smtbmc.py index d3015b066..f1f55be1c 100644 --- 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, '%') |