Wait_on(), Example – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 333
VHDL Monitor BFM
wait_on()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
333
April 2014
wait_on()
This blocking procedure waits for an event on the ACLK or ARESETn signals to occur before
proceeding. An optional count argument waits for the number of events equal to count.
Example
wait_on(AXI4_RESET_POSEDGE, bfm_index, axi4_tr_if_0(bfm_index));
wait_on(AXI4_CLOCK_POSEDGE, 10, bfm_index,
axi4tr_if_0(bfm_index));
Prototype
procedure wait_on
(
phase : in integer;
count: in integer; --optional
bfm_id : in integer;
path_id : in axi4_path_t; --optional
signal tr_if : inout axi4_vhd_if_struct_t
);
Arguments
phase
Wait for:
AXI4_CLOCK_POSEDGE
AXI4_CLOCK_NEGEDGE
AXI4_CLOCK_ANYEDGE
AXI4_CLOCK_0_TO_1
AXI4_CLOCK_1_TO_0
AXI4_RESET_POSEDGE
AXI4_RESET_NEGEDGE
AXI4_RESET_ANYEDGE
AXI4_RESET_0_TO_1
AXI4_RESET_1_TO_0
count
(Optional) Wait for a number of events to occur set by
count. (default = 1)
bfm_id
BFM identifier. Refer to “
” on page 151 for more details.
path_id
(Optional) Parallel process path identifier:
AXI4_PATH_0
AXI4_PATH_1
AXI4_PATH_2
AXI4_PATH_3
AXI4_PATH_4
Refer to “
” on page 151 for more details.
tr_if
Transaction signal interface. Refer to “
more details.
Returns
None