This module defines the FPGA Manager API for accessing, configuring, and controlling the FPGA fabric and the FPGA/HPS interface.
#define ALT_FPGA_ENABLE_DMA_SUPPORT (0) |
This preprocessor definition determines if DMA support for FPGA programming is enabled or not. Enabling DMA support enables the following API:
- alt_fpga_configure_dma()
- alt_fpga_istream_configure_dma()
To enable DMA support, define ALT_FPGA_ENABLE_DMA_SUPPORT=1 in the Makefile.
ALT_STATUS_CODE alt_fpga_init |
( |
void |
| ) |
|
Initializes the FPGA manager. This should be the first API called when using the FPGA manager API.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_fpga_uninit |
( |
void |
| ) |
|
Uninitializes the FPGA manager
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |