DMA Accelerator Functional Unit User Guide: Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA

ID 683263
Date 3/06/2020
Public

4. Software Programming Model

The DMA AFU includes a software driver that you can use in your own host application. The fpga_dma.c and fgpa_dma.h files located in the <installation_path>/hw/samples/dma_afu/sw directory implement the software driver.

This driver supports the following functions:
API Description
fpgaDMAOpen() Opens a handle to the DMA BBB.
fpgaDMATransferSync() Transfers data from a source location to a destination location. The source and destination can be located in host or device memory.
fpgaDMATransferClose() Closes DMA BBB handle previously allocated.