Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Instrukcja Użytkownika Strona 120

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 783
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 119
Mentor VIP AE AXI3/4 User Guide, V10.2b
102
SystemVerilog AXI3 and AXI4 Slave BFMs
set_read_data()
September 2013
set_read_data()
This nonblocking function sets a read data in the *_transaction record data_words field. It is
used in a slave test program as a helper function to read from the slave memory given the
address addr, data beat index, and the read data arguments.
Example
bfm.set_read_data(read_trans, 0, addr, data);
Prototype
// * = axi | axi4
// ** = AXI | AXI4
function bit set_read_data
(
input *_transaction trans,
input int index = 0,
input bit [((**_ADDRESS_WIDTH) - 1) : 0] addr[],
input bit [7:0] data[]
);
Arguments trans
The *_transaction record.
index
(Optional) Data byte array element number.
addr Read address.
data
Read data byte.
Returns
None
Przeglądanie stron 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 782 783

Komentarze do niniejszej Instrukcji

Brak uwag