Get_read_addr() – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 275
VHDL Slave BFM
get_read_addr()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
275
April 2014
get_read_addr()
This nonblocking procedure returns the actual address addr a particular byte in a read data
transaction. It also returns the maximum number of bytes (dynamic_size) in the read data phase
(beat). It is used in a slave test program as a helper procedure to return the address of a data byte
in the slave memory
.
Prototype
procedure get_read_addr
(
transaction_id : in integer;
byte_index : in integer;
dynamic_size : out integer;
addr : out std_logic_vector(AXI4_MAX_BIT_SIZE-
1 downto 0);
bfm_id : in integer;
path_id : in axi4_path_t; --optional
signal tr_if : inout axi4_vhd_if_struct_t
);
Arguments
transaction_id
Transaction identifier. Refer to “
” on page 151 for more details.
byte_index
Data byte number in a data phase (beat)
dynamic_size
Number of data bytes in a data phase (beat).
addr
Data byte address.
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 “
Overloaded Procedure Common Arguments
on page 151 for more details.
tr_if
Transaction signal interface. Refer to “
” on page 151 for more
details.
Returns
dynamic_size
addr