Ensures that the value of a specified expression remains TRUE for a specified number of cycles after a start event.
|
Parameters:
severity_level
num_cks
action_on_new_start
property_type
msg
coverage_level
|
Class:
n-cycle assertion
|
assert_time
[#(severity_level, num_cks, action_on_new_start, property_type, msg, coverage_level )]
instance_name (clk, reset_n, start_event, test_expr );
The assert_time
assertion checker checks the expression start_event at each rising edge of clk to determine whether or not to initiate a check. Once initiated, the check evaluates test_expr each rising edge of clk for num_cks cycles to verify that its value is TRUE. During that time, the assertion fails each cycle a sampled value of test_expr is not TRUE.
The method used to determine what constitutes a start event for initiating a check is controlled by the action_on_new_start parameter. If no check is in progress when start_event is sampled TRUE, a new check is initiated. But, if a check is in progress when start_event is sampled TRUE, the checker has the following actions:
‘OVL_IGNORE_NEW_START
The checker does not sample start_event for the next num_cks cycles after a start event.
‘OVL_RESET_ON_NEW_START
The checker samples start_event every cycle. If a check is pending and the value of start_event is TRUE, the checker terminates the check and initiates a new check without sampling test_expr.
‘OVL_ERROR_ON_NEW_START
The checker samples start_event every cycle. If a check is pending and the value of start_event is TRUE, the assertion fails with an illegal start event
violation. In this case, the checker does not initiate a new check, does not terminate a pending check and reports an additional assertion violation if test_expr is FALSE.
assert_change, assert_next, assert_frame, assert_unchange, assert_win_change, assert_win_unchange, assert_window
Ensures that ptr
is sampled in the range 1 to 3 for three cycles after req
is sampled equal to 1 at the rising edge of clk.
If req
is sampled equal to 1 when the checker samples ptr
, a new check is not initiated (i.e., the new start is ignored).
Ensures that ptr
is sampled in the range 1 to 3 for three cycles after req
is sampled equal to 1 at the rising edge of clk.
If req
is sampled equal to 1 when the checker samples ptr
, a new check is initiated (i.e., the new start restarts a check).
Ensures that ptr
is sampled in the range 1 to 3 for three cycles after req
is sampled equal to 1 at the rising edge of clk.
If req
is sampled equal to 1 when the checker samples ptr
, the checker issues an illegal start event
violation and does not start a new check.
© Accellera Organization, Inc. 2005 All Rights Reserved. |
Standard OVL V1.1a |