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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 413
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 112
SystemVerilog Monitor BFM
set_read_data()
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
113
April 2014
set_read_data()
This nonblocking function sets the read data in the axi4_transaction record data_words field. It
is used in a monitor test program as a helper function to read from the monitor memory given
the address addr, data beat index, and the read data arguments.
Example
bfm.set_read_data(read_trans, 0, addr, data);
Prototype
function bit set_read_addr_data
(
input axi4_transaction trans,
input int index = 0,
input bit [((AXI4_ADDRESS_WIDTH) - 1) : 0] addr[],
input bit [7:0] data[]
);
Arguments
trans The axi4_transaction record.
index (Optional) Array element number.
Note: ‘0’ for AXI4-Lite
addr Read address array
data Read data array
Returns
None
Vista de pagina 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 412 413

Comentarios a estos manuales

Sin comentarios