
Location altpcietb_bfm_driver_rp.v
Arguments
rc_addr
Address of the BFM shared memory that is being polled.
rc_data
Expected data value of the that is being polled.
rc_mask Mask that is logically ANDed with the shared memory data
before it is compared with rc_data.
msi_poll Procedure
The msi_poll procedure tracks MSI completion from the Endpoint.
Location altpcietb_bfm_driver_rp.v
Syntax
msi_poll(max_number_of_msi,msi_address,msi_expected_dmawr,msi_expected_
dmard,dma_write,dma_read)
Arguments
max_number_of_msi
Specifies the number of MSI interrupts to wait for.
msi_address
The shared memory location to which the MSI messages will
be written.
msi_expected_dmawr
When dma_write is set, this specifies the expected MSI data
value for the write DMA interrupts which is set by the dma_
set_msi procedure.
msi_expected_dmard
When the dma_read is set, this specifies the expected MSI data
value for the read DMA interrupts which is set by the dma_
set_msi procedure.
Dma_write
When set, poll for MSI from the DMA write module.
Dma_read
When set, poll for MSI from the DMA read module.
dma_set_msi Procedure
The dma_set_msi procedure sets PCI Express native MSI for the DMA read or the DMA write.
Location altpcietb_bfm_driver_rp.v
Syntax
dma_set_msi(bar_table, bar_num, bus_num, dev_num, fun_num, direction, msi_
address, msi_data, msi_number, msi_traffic_class, multi_message_enable,
msi_expected)
14-46
msi_poll Procedure
UG-01145_avmm
2015.05.14
Altera Corporation
Avalon-MM Testbench and Design Example
Send Feedback
Kommentare zu diesen Handbüchern