Set_read_data() – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual
Page 502

Mentor VIP AE AXI3/4 User Guide, V10.2b
482
VHDL AXI3 and AXI4 Slave BFMs
set_read_data()
September 2013
set_read_data()
This nonblocking procedure sets a read data byte in a read transaction prior to execution. It is
used in a slave test program as a helper procedure to set the read data retrieved from the slave
memory into the relevant byte of a read data phase.
Prototype
-- * = axi| axi4
-- ** = AXI | AXI4
procedure set_read_data
(
transaction_id : in integer;
index : in integer;
byte_index : in integer;
dynamic_size : in integer;
addr : in std_logic_vector(**_MAX_BIT_SIZE-1
downto 0);
data : in std_logic_vector(7 downto 0);
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
on page 203 for more details.
index
(Optional) Data byte array element number.
byte_index
Data byte index number of a particular data phase
(beat).
dynamic_size
Maximum number of bytes in a particular data phase
(beat).
addr
Read address.
data
Read data byte.
bfm_id
BFM identifier. Refer to
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
on page 203 for more
details.
Returns
None