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

  • 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 103
Mentor VIP AE AXI3/4 User Guide, V10.2b
86
SystemVerilog AXI3 and AXI4 Slave BFMs
execute_write_response_phase()
September 2013
execute_write_response_phase()
This task executes a write phase previously created by the create_slave_transaction() task. This
phase can be blocking (default) or non-blocking, defined by the transaction record
operation_mode field.
It sets the BVALID protocol signal at the approriate time defined by the transaction record
write_response_valid_delay field and sets the transaction_done field to 1 on completion of the
phase to indicate the whole transaction has completed.
AXI3 Example
// Declare a local variable to hold the transaction record.
axi_transaction write_trans;
// Create a slave transaction and assign it to the local
// write_trans variable.
write_trans = bfm.create_slave_transaction();
....
// Execute the write response phase for the write_trans transaction.
bfm.execute_write_response_phase(write_trans);
AXI4 Example
// Declare a local variable to hold the transaction record.
axi4_transaction write_trans;
// Create a slave transaction and assign it to the local
// write_trans variable.
write_trans = bfm.create_slave_transaction();
....
// Execute the write response phase for the write_trans transaction.
bfm.execute_write_response_phase(write_trans);
Prototype
// * = axi | axi4
task automatic execute_write_response_phase
(
*_transaction trans
);
Arguments trans
The *_transaction record.
Returns None
Vue de la page 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 782 783

Commentaires sur ces manuels

Pas de commentaire