Tests: Enable cover named property
This commit is contained in:
parent
de77f1ee5c
commit
c65265477f
|
|
@ -1317,7 +1317,9 @@ public:
|
|||
bool cleanOut() const override { return true; }
|
||||
};
|
||||
class AstImplication final : public AstNodeExpr {
|
||||
// Verilog |-> |=>
|
||||
// Verilog Implication Operator
|
||||
// Nonoverlapping "|=>"
|
||||
// Overlapping "|->" (doesn't currently use this - might make new Ast type)
|
||||
// @astgen op1 := lhsp : AstNodeExpr
|
||||
// @astgen op2 := rhsp : AstNodeExpr
|
||||
// @astgen op3 := sentreep : Optional[AstSenTree]
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ module Test
|
|||
end
|
||||
endgenerate
|
||||
|
||||
`ifndef verilator // Unsupported
|
||||
//============================================================
|
||||
// Using a more complicated property
|
||||
property C1;
|
||||
|
|
@ -104,6 +103,8 @@ module Test
|
|||
endproperty
|
||||
cover property (C1) $display("*COVER: Cyc==5");
|
||||
|
||||
`ifndef verilator // Unsupported
|
||||
//============================================================
|
||||
// Using covergroup
|
||||
// Note a covergroup is really inheritance of a special system "covergroup" class.
|
||||
covergroup counter1 @ (posedge cyc);
|
||||
|
|
@ -131,9 +132,9 @@ module Test
|
|||
|
||||
// option.at_least = {number}; // Default 1 - Hits to be considered covered
|
||||
// option.auto_bin_max = {number}; // Default 64
|
||||
// option.comment = {string}
|
||||
// option.comment = {string}; // Default ""
|
||||
// option.goal = {number}; // Default 90%
|
||||
// option.name = {string}
|
||||
// option.name = {string}; // Default ""
|
||||
// option.per_instance = 1; // Default 0 - each instance separately counted (cadence default is 1)
|
||||
// option.weight = {number}; // Default 1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue