aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2/smtbmc.py
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-02-26 11:06:26 +0100
committerClifford Wolf <clifford@clifford.at>2017-02-26 11:06:26 +0100
commit66a1617b6973a98f62975e6bf01ab8cdda19b782 (patch)
tree0fcfb531d5dbee7449aff9f2cc5baa775541f3f9 /backends/smt2/smtbmc.py
parentfd1cc0c73d402f0db2c964537b38321f59c116b3 (diff)
downloadyosys-66a1617b6973a98f62975e6bf01ab8cdda19b782.tar.gz
yosys-66a1617b6973a98f62975e6bf01ab8cdda19b782.tar.bz2
yosys-66a1617b6973a98f62975e6bf01ab8cdda19b782.zip
Fix assert checking in "yosys-smtbmc -c --append"
Diffstat (limited to 'backends/smt2/smtbmc.py')
-rw-r--r--backends/smt2/smtbmc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/smt2/smtbmc.py b/backends/smt2/smtbmc.py
index d1b45bb07..97a552c52 100644
--- a/backends/smt2/smtbmc.py
+++ b/backends/smt2/smtbmc.py
@@ -904,7 +904,7 @@ elif covermode:
cover_mask = "".join(new_cover_mask)
- for i in range(step+1):
+ for i in range(step+1+append_steps):
if print_failed_asserts(i, extrainfo=" (step %d)" % i):
found_failed_assert = True