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

  • 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 143
Mentor VIP AE AXI3/4 User Guide, V10.2b
126
SystemVerilog AXI3 and AXI4 Monitor BFMs
get_write_response_phase
September 2013
get_write_response_phase
This blocking task gets a write response phase previously created by the
create_monitor_transaction() task.
It sets the transaction_done field to 1 when the transaction completes to indicate the whole
transaction is complete
AXI3 Example
// Declare a local variable to hold the transaction record.
axi_transaction write_trans;
// Create a monitor transaction and assign it to the local
// write_trans variable.
write_trans = bfm.create_monitor_transaction();
....
// Get the write response phase of the write_trans transaction.
bfm.get_write_response_phase(write_trans);
AXI4 Example
// Declare a local variable to hold the transaction record.
axi4_transaction write_trans;
// Create a monitor transaction and assign it to the local
// write_trans variable.
write_trans = bfm.create_monitor_transaction();
....
// Get the write response phase of the write_trans transaction.
bfm.get_write_response_phase(write_trans);
Prototype
// * = axi | axi4
task automatic get_write_response_phase
(
*_transaction trans
);
Arguments trans
The *_transaction record.
Returns
None
Vue de la page 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 782 783

Commentaires sur ces manuels

Pas de commentaire