Axi3 example, Axi4 example – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 373

Advertising
background image

VHDL AXI3 and AXI4 Slave BFMs

set_config()

Mentor VIP AE AXI3/4 User Guide, V10.2b

353

September 2013

AXI3 Example

set_config(AXI_CONFIG_SUPPORT_EXCLUSIVE_ACCESS, 1, bfm_index,

axi_tr_if_0(bfm_index));

set_config(AXI_CONFIG_BURST_TIMEOUT_FACTOR, 1000, bfm_index,

axi_tr_if_0(bfm_index));

AXI4 Example

set_config(AXI4_CONFIG_SUPPORT_EXCLUSIVE_ACCESS, 1, bfm_index,

axi4_tr_if_0(bfm_index));

set_config(AXI4_CONFIG_BURST_TIMEOUT_FACTOR, 1000, bfm_index,

axi4_tr_if_0(bfm_index));

(AXI4) Configuration name:

AXI4_CONFIG_SETUP_TIME
AXI4_CONFIG_HOLD_TIME
AXI4_CONFIG_BURST_TIMEOUT_FACTOR
AXI4_CONFIG_ENABLE_RLAST
AXI4_CONFIG_ENABLE_SLAVE_EXCLUSIVE
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_ENABLE_QOS
AXI4_CONFIG_READ_DATA_REORDERING_DEPTH
AXI4_CONFIG_SLAVE_START_ADDR
AXI4_CONFIG_SLAVE_END_ADDR
AXI4_CONFIG_MAX_OUTSTANDING_WR
AXI4_CONFIG_MAX_OUTSTANDING_RD

config_val

Refer to

“Slave BFM Configuration”

on page 345 for description and

valid values.

bfm_id

BFM identifier. Refer to

“Overloaded Procedure Common Arguments”

on page 203 for more details.

path_id

(Optional) Parallel process path identifier:

**_PATH_0
**_PATH_1
**_PATH_2
**_PATH_3
**_PATH_4

Refer to

“Overloaded Procedure Common Arguments”

on page 203 for

more details.

tr_if

Transaction signal interface. Refer to

“Overloaded Procedure Common

Arguments”

on page 203 for more details.

Returns

None

Advertising