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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 783
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 73
Mentor VIP AE AXI3/4 User Guide, V10.2b
56
SystemVerilog AXI3 and AXI4 Master BFMs
get_read_data_burst()
September 2013
get_read_data_burst()
This blocking task gets a read data burst previously created by the create_read_transaction()
function.
It calls the get_read_data_phase() task for each beat of the data burst, with the length of the
burst defined by the transaction record burst_length field.
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 burst for the read_trans transaction.
bfm.get_read_data_burst(read_trans);
AXI4 Example
// Declare a local variable to hold the transaction record.
axi4_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);
....
// Execute the read_trans transaction.
bfm.execute_transaction(read_trans);
Prototype
// * = axi | axi4
task automatic get_read_data_burst
(
*_transaction trans
);
Arguments trans
The *_transaction record.
Returns
None
Vista de pagina 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 782 783

Comentarios a estos manuales

Sin comentarios