Altera HWLIB  16.0
The Altera HW Manager API Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
The FPGA Manager

Description

This module defines the FPGA Manager API for accessing, configuring, and controlling the FPGA fabric and the FPGA/HPS interface.

Members

 FPGA Manager Status and Control
 
 FPGA Configuration
 
 FPGA Manager Interrupt Control
 
 SoC to FPGA General Purpose I/O Signals
 

Macros

#define ALT_FPGA_ENABLE_DMA_SUPPORT   (0)
 

Functions

ALT_STATUS_CODE alt_fpga_init (void)
 
ALT_STATUS_CODE alt_fpga_uninit (void)
 

Macro Definitions

#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.

Function Documentation

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_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_fpga_uninit ( void  )

Uninitializes the FPGA manager

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.