Altera Mentor Verification IP Altera Edition AMBA AXI4-St Bedienungsanleitung Seite 44

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 231
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 43
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
44
SystemVerilog Slave BFM
Slave BFM Configuration
April 2014
Slave BFM Configuration
The slave 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 settings by assigning them new
values, usually in the top-level module of the test bench. These new values are then passed into
the slave BFM using a parameter port list of the slave BFM module. Example 4-1 shows the
slave BFM with the data and ID signal widths defined in module top() and passed in to the slave
BFM mgc_axi4stream_slave parameter port list.
Example 4-1. Slave BFM Configuration
module top ();
parameter AXI4STREAM_ID_WIDTH = 18;
parameter AXI4STREAM_USER_WIDTH = 4;
parameter AXI4STREAM_DEST_WIDTH = 4;
parameter AXI4STREAM_DATA_WIDTH = 32;
mgc_axi4stream_slave #(AXI4STREAM_ID_WIDTH, AXI4STREAM_USER_WIDTH,
AXI4STREAM_DEST_WIDTH, AXI4STREAM_DATA_WIDTH) bfm_slave(....);
Note
In the Example 4-1 code extract, the mgc_axi4stream_slave is the slave BFM interface.
Table 4-1 lists the parameter names for the data and ID signals and their default values.
Table 4-1. Slave 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.
Seitenansicht 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 230 231

Kommentare zu diesen Handbüchern

Keine Kommentare