mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-10 07:10:54 +00:00
Revert "Remove asserts during cover mode"
This reverts commit 81873292c9
.
This commit is contained in:
parent
81873292c9
commit
205245c827
3 changed files with 2 additions and 5 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 -assert -remove", file=f)
|
||||
print("chformal -live -fair -remove", file=f)
|
||||
if self.opt_mode == "live":
|
||||
print("chformal -assert2assume", file=f)
|
||||
print("chformal -cover -remove", file=f)
|
||||
|
|
|
@ -8,9 +8,6 @@ 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