mirror of https://github.com/YosysHQ/yosys.git
smtbmc: Support skipping steps in cover mode
This commit is contained in:
parent
a739e21a5f
commit
40b387a70b
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue