Set_config(), Example, Fields that you set by calling the – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual

Page 127: Procedure to, Slave bfm, use the, Command as shown in

Advertising
background image

VHDL Slave BFM

set_config()

Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3

127

April 2014

set_config()

This nonblocking procedure sets the configuration of the slave BFM.

Example

set_config(AXI4STREAM_CONFIG_BURST_TIMEOUT_FACTOR, 1000, bfm_index,

axi4stream_tr_if_0(bfm_index));

Prototype

procedure set_config
(

config_name : in std_logic_vector(7 downto 0);
config_val : in 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

Slave BFM Configuration

” on page 123 for more details.

bfm_id

BFM identifier. Refer to

Overloaded Procedure Common Arguments

on page 87 for more details.

tr_if

Transaction signal interface. Refer to

Overloaded Procedure Common

Arguments

” on page 87 for more details.

Returns

None

Advertising