Altera Mentor Verification IP Altera Edition AMBA AXI4-Li Manual de usuario Pagina 77

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 413
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 412 413

Comentarios a estos manuales

Sin comentarios