Altera Mentor Verification IP Altera Edition AMBA AXI3/4T Manual de usuario Pagina 75

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 783
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 74
SystemVerilog AXI3 and AXI4 Master BFMs
get_read_data_phase()
Mentor VIP AE AXI3/4 User Guide, V10.2b
57
September 2013
get_read_data_phase()
This blocking task gets a read data phase previously created by the create_read_transaction()
task.
Note
The get_read_data_phase() sets the data_beat_done array index element field to 1 when
the phase completes. If this is the last phase (beat) of the burst, then it sets the
transaction_done field to 1 to indicate the whole read transaction is complete.For AXI3,
the get_read_data_phase() also sets the RREADY protocol signal at the appropriate time,
defined by the transaction record data_ready_delay field.
Note
AXI3 Example
// Declare a local variable to hold the transaction record.
axi_transaction read_trans;
// Create a read transaction with start address of 0 and assign
// it to the local read_trans variable.
read_trans = bfm.create_read_transaction(0);
....
// Get the read data phase for the first beat of the
// read_trans transaction.
bfm.get_read_data_phase(read_trans, 0);
// Get the read data phase for the second beat of the
// read_trans transaction.
bfm.get_read_data_phase(read_trans, 1);
Prototype
// * = axi | axi4
task automatic get_read_data_phase
(
*_transaction trans
,
int index = 0 // Optional
);
Arguments trans
The *_transaction record.
index (Optional) Data phase (beat) number.
Returns
None
Vista de pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 782 783

Comentarios a estos manuales

Sin comentarios