3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-22 20:57:56 +00:00

fix induction

This commit is contained in:
N. Engelhardt 2022-02-07 22:01:52 +01:00
parent 7d3545dc86
commit 7ee357fcc8
10 changed files with 15 additions and 11 deletions

View file

@ -273,6 +273,9 @@ def run(mode, task, engine_idx, engine):
assert False
if task.basecase_pass and task.induction_pass:
for prop in task.design_hierarchy:
if prop.type == prop.Type.ASSERT and prop.status == "UNKNOWN":
prop.status = "PASS"
task.update_status("PASS")
task.summary.append("successful proof by k-induction.")
task.terminate()