Master bfm configuration, Table 8-1. master bfm signal width parameters, Table 8-2. master bfm configuration – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual
Page 88
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
88
VHDL Master BFM
Master BFM Configuration
April 2014
Master BFM Configuration
A master BFM supports the full range of signals defined for the AMBA AXI4-Stream Protocol
Specification. It has parameters that you use to configure the widths of the data and ID signals,
and transaction fields to configure timeout factors, setup and hold times, and so on.
You can change the data and ID signal widths from their default setting by assigning them new
values, usually performed in the top-level module of the test bench. These new values are then
passed into the master BFM using a parameter port list of the master BFM module.
lists the parameter names for the data and ID signals and their default values.
A master BFM has configuration fields that you set by calling the
procedure to
configure timeout factors, setup and hold times, etc. You get the value of a configuration field
by calling the
procedure.
describes the full list of configuration fields.
Table 8-1. Master BFM Signal Width Parameters
Signal Width Parameter
Description
AXI4_ID_WIDTH
ID signal width in bits. This applies to the TID signal.
Refer to the AMBA AXI4-Stream Protocol Specification
for more details. Default: 18.
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 8-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.