Altera Mentor Verification IP Altera Edition AMBA AXI4-St Manuel d'utilisateur Page 63

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 231
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 62
SystemVerilog Monitor BFM
get_packet()
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
63
April 2014
get_packet()
This blocking task gets a monitor packet previously created by the
create_monitor_transaction() function.
It calls the get_transfer() task for each transfer of the packet with the number of transfers
defined by the transaction record burst_length field.
Example
// Declare a local variable to hold the transaction record.
axi4stream_transaction trans;
// Create a monitor transaction and assign it to the local
// trans variable.
trans = bfm.create_monitor_transaction();
....
// Get the packet of the trans transaction.
bfm.get_packet(trans);
Prototype
task automatic get_packet
(
axi4stream_transaction trans
);
Arguments
trans The axi4stream_transaction record.
Returns
None
Vue de la page 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 230 231

Commentaires sur ces manuels

Pas de commentaire