Set_config(), Example, Fields that you can set via the – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 284: Function to, Command as the following example illustrates
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
284
VHDL Monitor BFM
set_config()
April 2014
set_config()
This nonblocking procedure sets the configuration of the monitor BFM.
Example
set_config(AXI4_CONFIG_MAX_TRANSACTION_TIME_FACTOR, 1000, bfm_index,
axi4_tr_if_0(bfm_index));
Prototype
procedure set_config
(
config_name : in std_logic_vector(7 downto 0);
config_val : in std_logic_vector(AXI4_MAX_BIT_SIZE-1 downto
0)|integer;
bfm_id : in integer;
path_id : in axi4_path_t; --optional
signal tr_if : inout axi4_vhd_if_struct_t
);
Arguments
config_name
Configuration name:
AXI4_CONFIG_SETUP_TIME
AXI4_CONFIG_HOLD_TIME
AXI4_CONFIG_MAX_TRANSACTION_TIME_FACTOR
AXI4_CONFIG_AXI4LITE_axi4
AXI4_CONFIG_ENABLE_ALL_ASSERTIONS
AXI4_CONFIG_ENABLE_ASSERTION
AXI4_CONFIG_MAX_LATENCY_AWVALID_
ASSERTION_TO_AWREADY
AXI4_CONFIG_MAX_LATENCY_ARVALID_
ASSERTION_TO_ARREADY
AXI4_CONFIG_MAX_LATENCY_RVALID_
ASSERTION_TO_RREADY
AXI4_CONFIG_MAX_LATENCY_BVALID_
ASSERTION_TO_BREADY
AXI4_CONFIG_MAX_LATENCY_WVALID_
ASSERTION_TO_WREADY
AXI4_CONFIG_SLAVE_START_ADDR
AXI4_CONFIG_SLAVE_END_ADDR
config_val
Refer to “
” on page 280 for description and
valid values.
bfm_id
BFM identifier. Refer to “
Overloaded Procedure Common Arguments
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
more details.
tr_if
Transaction signal interface. Refer to “
” on page 151 for more details.
Returns
None