Altera Mentor Verification IP Altera Edition AMBA AXI4-Li Manual do Utilizador Página 73

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 413
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 72
SystemVerilog Slave BFM
execute_read_data_phase()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
73
April 2014
execute_read_data_phase()
This task executes a read data phase (beat) previously created by the create_slave_transaction()
task. This phase can be blocking (default) or nonblocking, as defined by the transaction record
operation_mode field.
The execute_read_data_phase() task sets the RVALID protocol signal at the appropriate time
defined by the transaction record data_valid_delay field and sets the transaction_done field to 1
to indicate the whole read transaction has completed.
Example
// Declare a local variable to hold the transaction record.
axi4_transaction read_trans;
// Create a slave transaction and assign it to the local
// read_trans variable.
read_trans = bfm.create_read_transaction(0);
....
// Execute the read data phase for the read_trans transaction.
bfm.execute_read_data_phase(read_trans, 0); //Note: array element 0
Prototype
task automatic execute_read_data_phase
(
axi4_transaction trans
int index = 0 // Optional
);
Arguments
trans The axi4_transaction record.
index Data phase (beat) number.
Note: ‘0’ for AXI4-Lite
Returns
None
Vista de página 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 412 413

Comentários a estes Manuais

Sem comentários