Altera Mentor Verification IP Altera Edition AMBA AXI4-St Manuale Utente Pagina 39

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 231
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 38
SystemVerilog Master BFM
execute_transaction()
Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3
39
April 2014
execute_transaction()
This task executes a master transaction previously created by the create_master_transaction()
function. The transaction may be blocking (default) or nonblocking, as defined by the
transaction record operation_mode field.
It calls the execute_transfer() task for each transfer within a packet, with the number of transfers
defined by the transaction burst_length field.
Example
// Declare a local variable trans to hold the transaction record.
axi4stream_transaction trans;
// Create a master transaction with a transfer count of 3 and assign
// it to the local trans variable.
trans = bfm.create_master_transaction(3);
....
// Execute the trans transaction.
bfm.execute_transaction(trans);
Prototype
task automatic execute_transaction
(
axi4stream_transaction trans
)
Arguments
trans The axi4stream_transaction record.
Returns
None
Vedere la pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 230 231

Commenti su questo manuale

Nessun commento