R-Tile Avalon® Streaming Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683544
Date 4/12/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents ebfm_barrd_wait Procedure

The ebfm_barrd_wait procedure reads a block of data from the offset of the specified Endpoint BAR and stores it in BFM shared memory. The length can be longer than the configured maximum read request size; the procedure breaks the request up into multiple transactions as needed. This procedure waits until all of the completion data is returned and places it in shared memory.




ebfm_barrd_wait(bar_table, bar_num, pcie_offset, lcladdr, byte_len, tclass)



Address of the Endpoint bar_table structure in BFM shared memory. The bar_table structure stores the address assigned to each BAR so that the driver code does not need to be aware of the actual assigned addresses only the application specific offsets from the BAR.


Number of the BAR used with pcie_offset to determine PCI Express address.


Address offset from the BAR base.


BFM shared memory address where the read data is stored.


Length, in bytes, of the data to be read. Can be 1 to the minimum of the bytes remaining in the BAR space or BFM shared memory.


Traffic class used for the PCI Express transaction.