Wait_on() – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 362

Advertising
background image

Mentor VIP AE AXI3/4 User Guide, V10.2b

344

VHDL AXI3 and AXI4 Master BFMs
wait_on()

September 2013

wait_on()

This blocking task waits for an event(s) on the ACLK or ARESETn signals to occur before
proceeding. An optional count argument waits for the number of events equal to count.

Prototype

-- * = axi| axi4
-- ** = AXI | AXI4
procedure wait_on
(

phase : in integer;
count: in integer; --optional
bfm_id : in integer;
path_id : in *_path_t; --optional
signal tr_if : inout *_vhd_if_struct_t

);

Arguments

phase

Wait for:

**_CLOCK_POSEDGE
**_CLOCK_NEGEDGE
**_CLOCK_ANYEDGE
**_CLOCK_0_TO_1
**_CLOCK_1_TO_0
**_RESET_POSEDGE
**_RESET_NEGEDGE
**_RESET_ANYEDGE
**_RESET_0_TO_1
**_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

“Overloaded Procedure

Common Arguments”

on page 203 for more details.

path_id

(Optional) Parallel process path identifier:

**_PATH_0
**_PATH_1
**_PATH_2
**_PATH_3
**_PATH_4

Refer to

“Overloaded Procedure Common

Arguments”

on page 203 for more details.

tr_if

Transaction signal interface. Refer to

“Overloaded

Procedure Common Arguments”

on page 203 for

more details.

Returns

None

Advertising