Altera Mentor Verification IP Altera Edition AMBA AXI4-Li Manuel d'utilisateur Page 77

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 413
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 76
SystemVerilog Slave BFM
get_write_data_phase()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
77
April 2014
get_write_data_phase()
This blocking task gets a write data phase previously created by the create_slave_transaction()
function.
The get_write_data_phase() sets the WREADY protocol signal at the appropriate time defined
by the data_ready_delay field.
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(0);
....
// Get the write data phase for the write_trans transaction.
bfm.get_write_data_phase(write_trans, 0, last); //Note: array element 0
Prototype
task automatic get_write_data_phase
(
axi4_transaction trans
int index = 0, // Optional
output bit last
);
Arguments
trans The axi4_transaction record.
index (Optional) Data phase (beat) number.
Note: ‘0’ for AXI4-Lite
Returns
last Flag to indicate that this data phase is the last in the burst.
Returns
None
Vue de la page 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 412 413

Commentaires sur ces manuels

Pas de commentaire