Altera Mentor Verification IP Altera Edition AMBA AXI4-St Instrukcja Użytkownika Strona 32

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 231
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 31
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
32
SystemVerilog Master BFM
Master BFM Configuration
April 2014
Master BFM Configuration
A master 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 master BFM using a parameter port list of the master BFM module. Example 3-1 shows
the master BFM with the data and ID signal widths defined in module top() and passed in to the
master BFM mgc_axi4stream_master parameter port list.
Example 3-1. Master 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_master #(AXI4STREAM_ID_WIDTH, AXI4STREAM_USER_WIDTH,
AXI4STREAM_DEST_WIDTH, AXI4STREAM_DATA_WIDTH) bfm_master(....);
Note
In the above code extract, the mgc_axi4stream_master is the master BFM interface.
Table 3-1 lists the parameter names for the data and ID signals, and their default values.
Table 3-1. Master 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.
Przeglądanie stron 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 230 231

Komentarze do niniejszej Instrukcji

Brak uwag