Get_config(), Example – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual
Page 128

Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
128
VHDL Slave BFM
get_config()
April 2014
get_config()
This nonblocking procedure gets the configuration of the slave BFM.
Example
get_config(AXI4STREAM_CONFIG_BURST_TIMEOUT_FACTOR, config_value,
bfm_index, axi4stream_tr_if_0(bfm_index));
Prototype
procedure get_config
(
config_name : in std_logic_vector(7 downto 0);
config_val : out std_logic_vector(AXI4STREAM_MAX_BIT_SIZE-1
downto 0)|integer;
bfm_id : in integer;
signal tr_if : inout axi4stream_vhd_if_struct_t
);
Arguments
config_name
Configuration name:
AXI4STREAM_CONFIG_SETUP_TIME
AXI4STREAM_CONFIG_HOLD_TIME
AXI4STREAM_CONFIG_BURST_TIMEOUT_FACTOR
AXI4STREAM_CONFIG_LAST_DURING_IDLE
AXI4STREAM_CONFIG_MAX_LATENCY_TVALID_ASSERTION_
TO_TREADY
AXI4STREAM_CONFIG_ENABLE_ALL_ASSERTIONS
AXI4STREAM_CONFIG_ENABLE_ASSERTION
config_val
Refer to “
” on page 123 for description and
valid values.
bfm_id
BFM identifier. Refer to “
Overloaded Procedure Common Arguments
on page 87 for more details.
tr_if
Transaction signal interface. Refer to “
” on page 87 for more details.
Returns
config_val