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

Page 474

Advertising
background image

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

454

VHDL AXI3 and AXI4 Slave BFMs
get_write_data_phase()

September 2013

get_write_data_phase()

This blocking procedure gets a write data phase that is uniquely identified by the transaction_id
argument previously created by the

create_slave_transaction()

procedure. It sets the

data_beat_done array index element to 1 when the phase completes. If this is the last data phase
of the burst, then it returns the last argument set to 1.

Note

For AXI3 the get_write_data_phase() also sets the WREADY protocol signal at the
appropriate time defined by the transaction record data_ready_delay array index element
when the phase completes.

Prototype

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

transaction_id : in integer;
index : in integer; --optional
last : out integer;
bfm_id : in integer;
path_id : in *_path_t; --optional
signal tr_if : inout *_vhd_if_struct_t

);

Arguments

transaction_id

Transaction identifier. Refer to

“Overloaded Procedure Common

Arguments”

on page 203 for more details.

index

(Optional) Data phase (beat) number.

last

Last data phase (beat) of the burst:

0 = data burst not complete
1 = data burst complete

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

last

Advertising