Monitor bfm configuration, Table 5-1. axi monitor bfm signal width parameters – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 92

Advertising
background image

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

92

SystemVerilog Monitor BFM
Monitor BFM Configuration

April 2014

timeunit, or timeprecision declarations with the signal setup and hold times specified in units of
simulator time-steps.

The simulator time-step resolves to the smallest of all the time-precision declarations in the test
bench and design IP as a result of these directives, declarations, options, or initialization files:

` timescale directives in design elements

Timeprecision declarations in design elements

Compiler command-line options

Simulation command-line options

Local or site-wide simulator initialization files

If there is no timescale directive, the default time unit and time precision are tool specific. The
recommended practice is to use timeunit and timeprecision declarations. Refer to the IEEE
Standard for SystemVerilog
, Section 3.14 for details.

Monitor BFM Configuration

The monitor BFM supports the full range of signals defined for the AMBA AXI Protocol
Specification. It has parameters you can use to configure the widths of the address and data
signals, and transaction fields to configure timeout factors, setup and hold times, and so on.

You can change the address and data signals widths from their default settings by assigning
them new values, usually performed in the top-level module of the test bench. These new values
are then passed into the monitor BFM via a parameter port list of the monitor BFM module. For
example, the code extract below shows the monitor BFM with the address and data signal
widths defined in module top() and passed in to the monitor_test_program parameter port list:

module top ();

parameter AXI4_ADDRESS_WIDTH = 24;
parameter AXI4_RDATA_WIDTH = 16;
parameter AXI4_WDATA_WIDTH = 16;

monitor_test_program #(AXI4_ADDRESS_WIDTH, AXI4_RDATA_WIDTH,

AXI4_WDATA_WIDTH) bfm_monitor(....);

Table 5-1

lists the parameter names for the address and data signals, and their default values.

Table 5-1. AXI Monitor BFM Signal Width Parameters

Signal Width Parameter

Description

AXI4_ADDRESS_WIDTH

Address signal width in bits. This applies to the
ARADDR and AWADDR signals. Refer to the AMBA
AXI Protocol Specification for more details. Default: 32.

Advertising