Dma_set_rd_desc_data procedure, Dma_set_wr_desc_data procedure, Dma_set_header procedure – Altera Arria 10 Avalon-MM User Manual

Page 194

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.

14-44

dma_set_rd_desc_data Procedure

UG-01145_avmm

2015.05.14

Altera Corporation

Avalon-MM Testbench and Design Example

Send Feedback

Advertising