Table 4-2. slave bfm configuration – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 89

Advertising
background image

SystemVerilog AXI3 and AXI4 Slave BFMs

Slave BFM Configuration

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

71

September 2013

A slave BFM has configuration fields that you can set with the

set_config()

function to

configure timeout factors, slave exclusive support, setup and hold times, etc. You can also get
the value of a configuration field via the

get_config()

function.

The full list of configuration fields is described in

Table 4-2

below.

**_ID_WIDTH

ID signal width in bits. This applies to the RID and WID signals.
Refer to the AMBA AXI Protocol specification for more details.
Default: 4.

AXI4_USER_WIDTH

(AXI4) User data signal width in bits. This applies to the
ARUSER, AWUSER, RUSER, WUSER and BUSER signals.
Refer to the AMBA AXI Protocol specification for more details.
Default: 8.

AXI4_REGION_MAP_SIZE

(AXI4) Region signal width in bits. This applies to the
ARREGION and AWREGION signals. Refer to the AMBA AXI
Protocol specification for more details. Default: 16.

Table 4-2. Slave BFM Configuration

Configuration Field

Description

Timing Variables

**_CONFIG_SETUP_TIME

The setup-time prior to the active edge of
ACLK, in units of simulator time-steps for
all signals.

1

Default: 0.

**_CONFIG_HOLD_TIME

The hold-time after the active edge of
ACLK, in units of simulator time-steps for
all signals.

1

Default: 0.

**_CONFIG_MAX_TRANSACTION_
TIME_FACTOR

The maximum timeout duration for a
read/write transaction in clock cycles.
Default: 100000.

AXI_CONFIG_TIMEOUT_MAX_DATA_TRANSFER

(AXI3) The maximum number of write
data beats that the AXI3 BFM can
generate as part of write data burst of
write transfer. Default: 1024.

**_CONFIG_BURST_TIMEOUT_FACTOR

The maximum delay between the
individual phases of a read/write
transaction in clock cycles. Default:
10000.

**_CONFIG_MAX_LATENCY_AWVALID_

ASSERTION_TO_AWREADY

The maximum timeout duration from the
assertion of AWVALID to the assertion of
AWREADY in clock periods (default
10000).

**_CONFIG_MAX_LATENCY_ARVALID_

ASSERTION_TO_ARREADY

The maximum timeout duration from the
assertion of ARVALID to the assertion of
ARREADY in clock periods (default
10000).

Table 4-1. Slave BFM Signal Width Parameters

Signal Width Parameter

Description

Advertising