Ensures that the value of a specified expression is not TRUE.
assert_never
[#(severity_level, property_type, msg, coverage_level )]
instance_name (clk, reset_n, test_expr );
The assert_never
assertion checker checks the single-bit expression test_expr at each rising edge of clk to verify the expression does not evaluate to TRUE.
|
ASSERT_NEVER
|
Expression evaluated to TRUE.
|
|
test_expr contains X/Z value
|
Expression evaluated to X or Z, and ‘OVL_XCHECK_OFF is not set.
|
none
1. By default, the assert_never
assertion is pessimistic and the assertion fails if test_expr is not 0 (i.e.equals 1, X, Z, etc.). However, if ‘OVL_XCHECK_OFF is set, the assertion fails if and only if test_expr is 1.
assert_always, assert_always_on_edge, assert_implication, assert_proposition
assert_never #(
|
|||
|
‘OVL_ERROR,
‘OVL_ASSERT,
“”,
‘OVL_COVER_ALL)
|
// severity_level
// property_type
// msg
// coverage_level
|
|
|
valid_count (
|
|
|
|
|
clk,
reset_n,
reg_a < reg_b );
|
// clock
// reset
// test_expr
|
Ensures that (reg_a < reg_b
) is FALSE at each rising edge of clk.
© Accellera Organization, Inc. 2005 All Rights Reserved. |
Standard OVL V1.1a |