Altera Stratix V Avalon-ST Bedienungsanleitung Seite 263

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 293
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 262
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.
17-52
chained_dma_test Procedure
UG-01097_avst
2014.12.15
Altera Corporation
Testbench and Design Example
Send Feedback
Seitenansicht 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 292 293

Kommentare zu diesen Handbüchern

Keine Kommentare