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

Page 33

Advertising
background image

SystemVerilog Master BFM

Master BFM Configuration

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

33

April 2014

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

set_config()

function to

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

get_config()

function.

Table 3-2

describes the full list of configuration fields.

1.

Refer to

Master Timing and Events

for details of simulator time-steps.

Table 3-2. Master 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 permitted
between the individual transfer
transactions 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

Error Detection

AXI4STREAM_CONFIG_ENABLE_ALL_ASSERTIONS

Global enable/disable of all
assertion checks in the BFM.
0 = disabled
1 = enabled (default)

AXI4STREAM_CONFIG_ENABLE_ASSERTION

Individual enable/disable of an
assertion check in the BFM.
Refer to the

Master Assertions

chapter for details
0 = disabled
1 = enabled (default)

Advertising