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

  • 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 151
Mentor VIP AE AXI3/4 User Guide, V10.2b
134
SystemVerilog AXI3 and AXI4 Monitor BFMs
get_read_addr()
September 2013
get_read_addr()
This nonblocking function returns the actual address addr of a particular index in a read
transaction. It is used in a monitor test program as a helper function to return the address of a
byte of data in the monitor memory. If the corresponding index does not exist, then this function
returns false, otherwise it returns true.
Example
bfm.get_read_addr(read_trans, 0, addr);
Prototype
// * = axi | axi4
// ** = AXI | AXI4
function bit get_read_addr
(
input *_transaction trans,
input int index = 0,
output bit [((**_ADDRESS_WIDTH) - 1) : 0] addr[]
);
Arguments trans
The *_transaction record.
index
Array element number.
addr Read address array
Returns
bit Flag to indicate existence of index array element;
0 = array element non-existent.
1 = array element exists.
Zobrazit stránku 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 782 783

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

Žádné komentáře