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:
|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.|
Did you find the information on this page useful?