Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Manuel d'utilisateur Page 119

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 783
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 118
SystemVerilog AXI3 and AXI4 Slave BFMs
get_read_addr()
Mentor VIP AE AXI3/4 User Guide, V10.2b
101
September 2013
get_read_addr()
This nonblocking function returns the address addr of a particular byte in a read transaction. It
is used in a slave test program as a helper function to return the address of a data byte in the
slave 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 data at index array
element number;
0 = nonexistent.
1 = exists.
Vue de la page 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 782 783

Commentaires sur ces manuels

Pas de commentaire