3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-07-31 18:33:20 +00:00

Support for the new anytime schedule in yosys-abc's pdr

This commit is contained in:
Jannis Harder 2024-02-27 20:09:45 +01:00
parent d3a6f2d758
commit b6e41a388b
3 changed files with 41 additions and 20 deletions

View file

@ -295,8 +295,8 @@ def run(mode, task, engine_idx, engine):
task.pass_unknown_asserts(dict(source="smtbmc", keep_going=True, engine=f"engine_{engine_idx}"))
proc_status_lower = proc_status.lower() if proc_status == "PASS" else proc_status
task.summary.set_engine_status(engine_idx, proc_status_lower)
task.terminate()
if not keep_going:
task.terminate()
elif mode in ["prove_basecase", "prove_induction"]:
proc_status_lower = proc_status.lower() if proc_status == "PASS" else proc_status
@ -326,7 +326,8 @@ def run(mode, task, engine_idx, engine):
if task.basecase_pass and task.induction_pass:
task.update_status("PASS")
task.summary.append("successful proof by k-induction.")
task.terminate()
if not keep_going:
task.terminate()
else:
assert False