Properties
Properties
PROPERTIES
A property defines a behavior of the design. A property can be used for verification as an assumption, a
checker, or a coverage specification.
Sequences are often used to construct properties. usage of sequences in properties brakes down the
complexity. Sequence can be reused across various properties.
Properties constructs:
Disable iff
Implication (if ..else)
overlapping implication (|->)
Non overlapping implication(||->)
not
EXAMPLE:
propertyrule6_with_type(bitx,bity);
##1x|->##[2:10]y;
//antecedent |-> consequent
endproperty
The left-hand operand sequence_expr is called the antecedent, while the right-hand operand
property_expr is called the consequent.
if antecedent is false, then consequent is not cared and property is considered as vacuous success.
if antecedent is True and if consequent is false then property is considered as false.
if antecedent is True and if consequent is true then property is considered as true.
Overlap Implication:
EXAMPLE:
a|->b
http://www.testbench.in/AS_07_PROPERTIES.html 1/2
28/06/2017 WWW.TESTBENCH.IN - System Verilog Assertion - SVA
EXAMPLE:
a||->b
http://www.testbench.in/AS_07_PROPERTIES.html 2/2