mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-09 23:00:53 +00:00
Reapply "Remove asserts during cover mode"
This reverts commit 205245c827
.
This commit is contained in:
parent
205245c827
commit
aa7d8ab4ce
3 changed files with 5 additions and 2 deletions
|
@ -1020,7 +1020,7 @@ class SbyTask(SbyConfig):
|
|||
if self.opt_mode in ["bmc", "prove"]:
|
||||
print("chformal -live -fair -cover -remove", file=f)
|
||||
if self.opt_mode == "cover":
|
||||
print("chformal -live -fair -remove", file=f)
|
||||
print("chformal -live -fair -assert -remove", file=f)
|
||||
if self.opt_mode == "live":
|
||||
print("chformal -assert2assume", file=f)
|
||||
print("chformal -cover -remove", file=f)
|
||||
|
|
|
@ -8,6 +8,9 @@ cover: mode cover
|
|||
bmc: mode bmc
|
||||
bmc: depth 1
|
||||
|
||||
cover: expect pass
|
||||
~cover: expect fail
|
||||
|
||||
[engines]
|
||||
cover: btor btormc
|
||||
btormc: btor btormc
|
||||
|
|
|
@ -3,7 +3,7 @@ module test (input CP, CN, input A, B, output reg XP, XN);
|
|||
always @* begin
|
||||
assume (A || B);
|
||||
assume (!A || !B);
|
||||
assert (A != B);
|
||||
assert (A == B);
|
||||
cover (counter == 3 && A);
|
||||
cover (counter == 3 && B);
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue