mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-12 16:28:17 +00:00
Merge pull request #244 from jix/smtbmc-cover-keepgoing
This commit is contained in:
commit
4d1ac0115c
|
@ -69,8 +69,6 @@ def run(mode, task, engine_idx, engine):
|
||||||
task.error("smtbmc options --basecase and --induction are exclusive.")
|
task.error("smtbmc options --basecase and --induction are exclusive.")
|
||||||
induction_only = True
|
induction_only = True
|
||||||
elif o == "--keep-going":
|
elif o == "--keep-going":
|
||||||
if mode not in ("bmc", "prove", "prove_basecase", "prove_induction"):
|
|
||||||
task.error("smtbmc option --keep-going is only supported in bmc and prove mode.")
|
|
||||||
keep_going = True
|
keep_going = True
|
||||||
elif o == "--seed":
|
elif o == "--seed":
|
||||||
random_seed = a
|
random_seed = a
|
||||||
|
@ -134,7 +132,8 @@ def run(mode, task, engine_idx, engine):
|
||||||
|
|
||||||
if keep_going and mode != "prove_induction":
|
if keep_going and mode != "prove_induction":
|
||||||
smtbmc_opts.append("--keep-going")
|
smtbmc_opts.append("--keep-going")
|
||||||
trace_prefix += "%"
|
if mode != "cover":
|
||||||
|
trace_prefix += "%"
|
||||||
|
|
||||||
if dumpsmt2:
|
if dumpsmt2:
|
||||||
smtbmc_opts += ["--dump-smt2", trace_prefix.replace("%", "") + ".smt2"]
|
smtbmc_opts += ["--dump-smt2", trace_prefix.replace("%", "") + ".smt2"]
|
||||||
|
|
Loading…
Reference in a new issue