Altera Arria 10 Avalon-ST Manual de usuario Pagina 251

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 275
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 250
chained_dma_test Procedure
The chained_dma_test procedure is the top-level procedure that runs the chaining DMA read and the
chaining DMA write
Location altpcietb_bfm_driver_rp.v
Syntax chained_dma_test (bar_table, bar_num, direction, use_msi, use_eplast)
Arguments
bar_table
Address of the Endpoint bar_table structure in BFM shared
memory.
bar_num
BAR number to analyze.
direction
When 0 the direction is read.
When 1 the direction is write.
Use_msi
When set, the Root Port uses native PCI Express MSI to detect
the DMA completion.
Use_eplast
When set, the Root Port uses BFM shared memory polling to
detect the DMA completion.
dma_rd_test Procedure
Use the dma_rd_test procedure for DMA reads from the Endpoint memory to the BFM shared memory.
Location
altpcietb_bfm_driver_rp.v
Syntax dma_rd_test (bar_table, bar_num, use_msi, use_eplast)
Arguments
bar_table
Address of the Endpoint bar_table structure in BFM shared
memory.
bar_num
BAR number to analyze.
Use_msi
When set, the Root Port uses native PCI express MSI to detect
the DMA completion.
Use_eplast
When set, the Root Port uses BFM shared memory polling to
detect the DMA completion.
dma_wr_test Procedure
Use the dma_wr_test procedure for DMA writes from the BFM shared memory to the Endpoint memory.
UG-01145_avst
2015.05.04
chained_dma_test Procedure
17-51
Testbench and Design Example
Altera Corporation
Send Feedback
Vista de pagina 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 274 275

Comentarios a estos manuales

Sin comentarios