
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
158
VHDL Monitor BFM
Monitor BFM Configuration
April 2014
not contain any timescale, timeunit, or timeprecision declarations, with the signal setup and
hold times specified in units of simulator time-steps.
Monitor BFM Configuration
The monitor 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 signals widths from their default settings by assigning them
new values, usually in the top-level module of the test bench. These new values are then passed
into the monitor BFM using a parameter port list of the monitor BFM module
Table 10-1 lists the parameter names for the data and ID signals and their default values.
A monitor BFM has configuration fields that you set with the set_config() procedure to
configure timeout factors, setup and hold times, and so on. You get the value of a configuration
field with the get_config() procedure. Table 10-2 describes the full list of configuration fields.
Table 10-1. Monitor 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 10-2. Monitor 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.
Comentarios a estos manuales