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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 413
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 111
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
112
SystemVerilog Monitor BFM
get_read_addr()
April 2014
get_read_addr()
This nonblocking function returns the actual address addr of a particular index in a read
transaction. It is used in a monitor test program as a helper function to return the address of a
byte of data in the monitor memory. If the corresponding index does not exist, then this function
returns false; otherwise, it returns true.
Example
bfm.get_read_addr(read_trans, 0, addr);
Prototype
function bit get_read_addr
(
input axi4_transaction trans,
input int index = 0,
output bit [((AXI4_ADDRESS_WIDTH) - 1) : 0]
addr[]
);
Arguments
trans The axi4_transaction record.
index Array element number.
Note: ‘0’ for AXI4-Lite
addr Read address array
Returns
bit Flag to indicate existence of index array element;
0 = array element non-existent.
1 = array element exists.
Vista de página 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 412 413

Comentários a estes Manuais

Sem comentários