Dma_set_rd_desc_data procedure, Dma_set_wr_desc_data procedure, Dma_set_header procedure – Altera Stratix V Avalon-ST User Manual

Page 264

Advertising
background image

Location

altpcietb_bfm_driver_rp.v

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.

dma_set_rd_desc_data Procedure

Use the

dma_set_rd_desc_data

procedure to configure the BFM shared memory for the DMA read.

Location

altpcietb_bfm_driver_rp.v

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.

dma_set_wr_desc_data Procedure

Use the

dma_set_wr_desc_data

procedure to configure the BFM shared memory for the DMA write.

Location

altpcietb_bfm_driver_rp.v

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.

dma_set_header Procedure

Use the

dma_set_header

procedure to configure the DMA descriptor table for DMA read or DMA write.

UG-01097_avst

2014.12.15

dma_set_rd_desc_data Procedure

17-53

Testbench and Design Example

Altera Corporation

Send Feedback

Advertising
This manual is related to the following products: