Altera SoC Embedded Design Suite User Manual
Page 85

Figure 4-43: Application Completed
8. Click Disconnect from Target button to close the debugging session.
Sequence
Sample Application
Function
Used Hardware
Libraries APIs
Description
1
socfpga_dma_setup
alt_dma_init
Init DMA module driver
2
alt_dma_channel_
alloc_any
Allocate DMA channel
3
alt_dma_channel_
state_get
Check state of DMA channel
4
socfpga_fpga_setup
alt_fpga_init
Init FPGA manager driver
5
alt_fpga_state_get
Query the FPGA state
6
alt_fpga_control_
enable
Enable controlling the FPGA
7
alt_fpga_cfg_mode_
get
Query the configuration mode
8
alt_fpga_configure_
dma
Configure the FPGA using the DMA
9
socfpga_bridge_
setup
alt_bridge_init
Initialize bridges
10
alt_addr_space_remap Remap address space
11
socfpga_bridge_io
N/A
Application accesses Soft IP directly
4-66
Running the Hardware Library Sample Application
ug-1137
2014.12.15
Altera Corporation
Getting Started Guides