beautypg.com

Table 9-2. slave bfm configuration – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual

Page 124

background image

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

124

VHDL Slave BFM
Slave BFM Configuration

April 2014

A slave BFM has configuration fields that you set by calling the

set_config()

procedure to

configure timeout factors, setup and hold times, and so on. You get the value of a configuration
field by calling the

get_config()

procedure.

Table 9-2

describes the full list of configuration

fields.

AXI4_USER_WIDTH

User data signal width in bits. This applies to the TUSER
signal. Refer to the AMBA AXI4-Stream Protocol
Specification for more details. Default: 8.

AXI4_DEST_WIDTH

Destination routing signal width in bits. This applies to
the TDEST signal. Refer to the AMBA AXI4-Stream
Protocol Specification for more details. Default: 18.

AXI4_DATA_WIDTH

Data signal width in bits. This applies to the TDATA
signal. Refer to the AMBA AXI4-Stream Protocol
Specification for more details. Default: 1024.

Table 9-2. Slave BFM Configuration

Configuration Field

Description

Timing Variables

AXI4STREAM_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.

AXI4STREAM_CONFIG_HOLD_TIME

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

1

Default: 0.

AXI4STREAM_CONFIG_BURST_TIMEOUT_FACTOR

The maximum delay between
individual transfers in clock
cycles. Default: 10000.

AXI4STREAM_CONFIG_MAX_LATENCY_TVALID_
ASSERTION_TO_TREADY

The maximum delay permitted
between the assertion of
TVALID to the assertion of
TREADY. Default: 10000.

Master Attributes

AXI4STREAM_LAST_DURING_IDLE

Controls the value of TLAST
during idle.
0 = TLAST driven to 0 during
idle (default)
1 = TLAST driven to 1 during
idle

Table 9-1. Slave BFM Signal Width Parameters (cont.)

Signal Width Parameter

Description