Set_config(), Example, Function to – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual

Page 36: Command as shown in

Advertising
background image

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

36

SystemVerilog Master BFM
set_config()

April 2014

set_config()

This function sets the configuration of the master BFM.

Example

set_config(AXI4STREAM_CONFIG_BURST_TIMEOUT_FACTOR, 1000);

Prototype

function void set_config
(

input axi4stream_config_e config_name,
input axi4stream_max_bits_t config_val

);

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

See “

Master BFM Configuration

” on page 32 for more details.

Returns

None

Advertising