3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-19 11:20:25 +00:00

More improvements in sby error handling

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-03-27 16:23:57 +02:00
parent 9edc65874c
commit 36c7185393
7 changed files with 25 additions and 17 deletions

View file

@ -57,13 +57,15 @@ def run(mode, job, engine_idx, engine):
elif o == "--progress":
progress = True
elif o == "--basecase":
assert not induction_only
if induction_only:
job.error("smtbmc options --basecase and --induction are exclusive.")
basecase_only = True
elif o == "--induction":
assert not basecase_only
if basecase_only:
job.error("smtbmc options --basecase and --induction are exclusive.")
induction_only = True
else:
assert False
job.error("Invalid smtbmc options %s." % o)
for i, a in enumerate(args):
if i == 0 and a == "z3" and unroll_opt is None: