smtbmc: Support skipping steps in cover mode

This commit is contained in:
George Rennie 2024-07-03 22:12:06 +01:00
parent a739e21a5f
commit 40b387a70b
1 changed files with 5 additions and 0 deletions

View File

@ -1866,6 +1866,11 @@ elif covermode:
smt_assert_antecedent("(|%s_t| s%d s%d)" % (topmod, step-1, step)) smt_assert_antecedent("(|%s_t| s%d s%d)" % (topmod, step-1, step))
smt_assert_antecedent("(not (|%s_is| s%d))" % (topmod, step)) smt_assert_antecedent("(not (|%s_is| s%d))" % (topmod, step))
if step < skip_steps:
print_msg("Skipping step %d.." % (step))
step += 1
continue
while "1" in cover_mask: while "1" in cover_mask:
print_msg("Checking cover reachability in step %d.." % (step)) print_msg("Checking cover reachability in step %d.." % (step))
smt_push() smt_push()