Altera Avalon Verification IP Suite Manuale Utente Pagina 174

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 224
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 173
External Memory BFM API
fill()
fill()Prototype:
VHDL:
logic[DATA_W-1:0] data
bit[DATA_W-1:0] increment
bit[CDT_ADDRESS_W-1:0] address low
bit[CDT_ADDRESS_W-1:0] address high
bfm_id req_if(bfm_id)
Verilog HDL:
logic[DATA_W-1:0] data
bit[DATA_W-1:0] increment
bit[CDT_ADDRESS_W-1:0] address low
bit[CDT_ADDRESS_W-1:0] address high
Arguments:
voidReturns:
Overwrites the memory content at the starting address specified by address_low until
the ending address specified by address_high. The data field indicates the data value.
The increment field indicates the data value increment from one address to the next
address. For example, fill (data[1], increment[2], address_low[10], address_
high[12]) fills the memory as follows:
memory[address=10] is filled with data value 1
memory[address=11] is filled with data value 3
memory[address=12] is filled with data value 5
Description:
Verilog HDL, VHDLLanguage support:
read()
read()Prototype:
Verilog HDL: bit[CDT_ADDRESS_W-1:0] address
VHDL: data, bit[CDT_ADDRESS_W-1:0] address, bfm_id, req_if(bfm_id)
Arguments:
logic[DATA_W-1:0]Returns:
Retrieves the memory content from an address you specify.Description:
Verilog HDL, VHDLLanguage support:
Altera Corporation
External Memory BFM
Send Feedback
13-5
External Memory BFM API
Vedere la pagina 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 223 224

Commenti su questo manuale

Nessun commento