Rc_mempoll procedure – Altera Arria V Avalon-ST User Manual

Page 224

Advertising
background image

Location

altpcietb_bfm_driver_rp.v

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)

Arguments

bar_table

Address of the Endpoint

bar_table

structure in BFM shared

memory.

bar_num

BAR number to analyze.

Descriptor_size

Number of descriptor.

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.

Bdt_msb

BFM shared memory upper address value.

Bdt_lsb

BFM shared memory lower address value.

Msi_number

When

use_msi

is set, specifies the number of the MSI which is

set by the

dma_set_msi

procedure.

Msi_traffic_class

When

use_msi

is set, specifies the MSI traffic class which is set

by the

dma_set_msi

procedure.

Multi_message_enable

When

use_msi

is set, specifies the MSI traffic class which is set

by the

dma_set_msi

procedure.

rc_mempoll Procedure

Use the

rc_mempoll

procedure to poll a given dword in a given BFM shared memory location.

Location

altpcietb_bfm_driver_rp.v

Syntax

rc_mempoll (rc_addr, rc_data, rc_mask)

16-54

rc_mempoll Procedure

2014.12.15

Altera Corporation

Testbench and Design Example

Send Feedback

Advertising
This manual is related to the following products: