Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Uživatelský manuál Strana 153

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 783
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 152
SystemVerilog AXI3 and AXI4 Monitor BFMs
set_read_data()
Mentor VIP AE AXI3/4 User Guide, V10.2b
135
September 2013
set_read_data()
This nonblocking function sets the read data in the *_transaction record data_words field. It is
used in a monitor test program as a helper function to read from the monitor 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_addr_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) Array element number.
addr Read address array
data
Read data array
Returns
None
Zobrazit stránku 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 782 783

Komentáře k této Příručce

Žádné komentáře