Master bfm configuration, Table 3-1. master bfm signal width parameters – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual

Page 40

Advertising
background image

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

40

SystemVerilog Master BFM
Master BFM Configuration

April 2014

Master BFM Configuration

A master BFM supports the full range of signals defined for the AMBA AXI Protocol
Specification. It has parameters that configure the widths of the address and data signals, and
transaction fields to specify timeout factors, setup and hold times, and so on.

You can change the address and data signal 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
to the master BFM using a parameter port list of the master BFM module. For example, the code
extract below shows the master BFM with the address and data signal widths defined in module
top()
and passed to the master_test_program parameter port list:

module top ();

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

master_test_program #(AXI4_ADDRESS_WIDTH, AXI4_RDATA_WIDTH,

AXI4_WDATA_WIDTH) bfm_master(....);

Table 3-1

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

Table 3-1. Master 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.

AXI4_RDATA_WIDTH

Read data signal width in bits. This applies to the RDATA
signals. Refer to the AMBA AXI Protocol Specification for
more details. Default: 64.

AXI4_WDATA_WIDTH

Write data signal width in bits. This applies to the WDATA
signals. Refer to the AMBA AXI Protocol Specification for
more details. Default: 64.

index

Ignored for the SystemVerilog master BFM.

READ_ISSUING_
CAPABILITY

The maximum number of outstanding read transactions that
can be issued from the master BFM. This parameter is set
with the Qsys Parameter Editor. See “

Running the Qsys

Tool

” on page 356. for details.

Default: 16.

Advertising