Set_config(), Example, Them in the slave bfm, use the – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 69

Advertising
background image

SystemVerilog Slave BFM

set_config()

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

69

April 2014

set_config()

This function sets the configuration of the slave BFM.

Example

set_config(AXI4_CONFIG_MAX_TRANSACTION_TIME_FACTOR, 1000);

Prototype

function void set_config
(

input axi4_config_e config_name,
input axi4_max_bits_t config_val

);

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
AXI4_CONFIG_MAX_OUTSTANDING_WR
AXI4_CONFIG_MAX_OUTSTANDING_RD
AXI4_CONFIG_NUM_OUTSTANDING_WR_PHASE
AXI4_CONFIG_NUM_OUTSTANDING_RD_PHASE

config_val

See

Slave BFM Configuration

for descriptions and valid values.

Returns

None

Advertising