Table 5-1. axi monitor bfm signal width parameters – Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 123

Advertising
background image

SystemVerilog AXI3 and AXI4 Monitor BFMs

Monitor BFM Configuration

Mentor VIP AE AXI3/4 User Guide, V10.2b

105

September 2013

module. For example, the code extract below shows the AXI3 monitor BFM with the address,
ID and data signal widths defined in module top() and passed in to the monitor BFM
mgc_axi_monitor parameter port list:

module top ();

parameter AXI_ADDRESS_WIDTH = 24;
parameter AXI_RDATA_WIDTH = 16;
parameter AXI_WDATA_WIDTH = 16;
parameter AXI_ID_WIDTH = 4;

mgc_axi_monitor #(AXI_ADDRESS_WIDTH, AXI_RDATA_WIDTH, AXI_WDATA_WIDTH,

AXI_ID_WIDTH) bfm_monitor(....);

Note

In the above code extract the mgc_axi_monitor is the AXI3 monitor BFM interface.

The following table lists the parameter names for the address, ID and data signals, and their
default values.

A monitor BFM has configuration fields that you can set via the

set_config()

function to

configure timeout factors, slave exclusive support, setup and hold times, etc. You can also get

Table 5-1. AXI Monitor BFM Signal Width Parameters

Signal Width Parameter

Description

**_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.

**_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.

**_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.

**_ID_WIDTH

IID signal width in bits. This applies to the RID and WID signals.
Refer to the AMBA AXI Protocol specification for more details.
Default: 4.

AXI4_USER_WIDTH

(AXI4) User data signal width in bits. This applies to the
ARUSER, AWUSER, RUSER, WUSER and BUSER signals.
Refer to the AMBA AXI Protocol specification for more details.
Default: 8.

AXI4_REGION_MAP_SIZE

(AXI4) Region signal width in bits. This applies to the
ARREGION and AWREGION signals. Refer to the AMBA AXI
Protocol specification for more details. Default: 16.

Advertising