Altera IP Compiler for PCI Express Manuel d'utilisateur Page 284

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 372
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 283
15–52 Chapter 15: Testbench and Design Example
BFM Procedures and Functions
IP Compiler for PCI Express User Guide August 2014 Altera Corporation
dma_wr_test Procedure
Use the
dma_wr_test
procedure for DMA writes from the BFM shared memory to the
endpoint memory.
dma_set_rd_desc_data Procedure
Use the
dma_set_rd_desc_data
procedure to configure the BFM shared memory for
the DMA read.
dma_set_wr_desc_data Procedure
Use the
dma_set_wr_desc_data
procedure to configure the BFM shared memory for
the DMA write.
dma_set_header Procedure
Use the
dma_set_header
procedure to configure the DMA descriptor table for DMA
read or DMA write.
Table 15–62. dma_wr_test Procedure
Location altpcietb_bfm_driver_chaining.v or altpcietb_bfm_driver_chaining.vhd
Syntax
dma_wr_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.
Table 15–63. dma_set_rd_desc_data Procedure
Location altpcietb_bfm_driver_chaining.v or altpcietb_bfm_driver_chaining.vhd
Syntax
dma_set_rd_desc_data (bar_table, bar_num)
Arguments
bar_table
Address of the endpoint
bar_table
structure in BFM shared memory.
bar_num
BAR number to analyze.
Table 15–64. dma_set_wr_desc_data_header Procedure
Location altpcietb_bfm_driver_chaining.v or altpcietb_bfm_driver_chaining.vhd
Syntax
dma_set_wr_desc_data_header (bar_table, bar_num)
Arguments
bar_table
Address of the endpoint
bar_table
structure in BFM shared memory.
bar_num
BAR number to analyze.
Table 15–65. dma_set_header Procedure
Location altpcietb_bfm_driver_chaining.v or altpcietb_bfm_driver_chaining.vhd
Syntax
dma_set_header (bar_table, bar_num, Descriptor_size, direction, Use_msi, Use_eplast,
Bdt_msb, Bdt_lab, Msi_number, Msi_traffic_class, Multi_message_enable)
Vue de la page 283
1 2 ... 279 280 281 282 283 284 285 286 287 288 289 ... 371 372

Commentaires sur ces manuels

Pas de commentaire