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

  • 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 134
SystemVerilog AXI3 and AXI4 Monitor BFMs
get_rw_transaction()
Mentor VIP AE AXI3/4 User Guide, V10.2b
117
September 2013
get_rw_transaction()
This blocking task gets a complete read or write transaction previously created by the
create_monitor_transaction() function.
It updates the *_transaction record for the complete transaction.
AXI3 Example
// Declare a local variable to hold the transaction record.
axi_transaction monitor_trans;
// Create a monitor transaction and assign it to the local
// monitor_trans variable.
monitor_trans = bfm.create_monitor_transaction();
....
// Get the complete monitor_trans transaction.
bfm.get_rw_transaction(monitor_trans);
AXI4 Example
// Declare a local variable to hold the transaction record.
axi4_transaction monitor_trans;
// Create a monitor transaction and assign it to the local
// monitor_trans variable.
monitor_trans = bfm.create_monitor_transaction();
....
// Get the complete monitor_trans transaction.
bfm.get_rw_transaction(monitor_trans);
Prototype
// * = axi | axi4
task automatic get_rw_transaction
(
*_transaction trans
)
Arguments trans
The *_transaction record.
Returns
None
Vue de la page 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 782 783

Commentaires sur ces manuels

Pas de commentaire