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

Page 70

Advertising
background image

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

70

SystemVerilog Slave BFM
get_config()

April 2014

get_config()

This function gets the configuration of the slave BFM.

Example

get_config(AXI4_CONFIG_MAX_TRANSACTION_TIME_FACTOR);

Prototype

function void get_config
(

input axi4_config_e config_name,

);

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

Returns

config_val

See

Slave BFM Configuration

for descriptions and valid values.

Advertising