Arria® 10 Hard Processor System Technical Reference Manual
ID
683711
Date
5/09/2025
Public
1. Arria® 10 Hard Processor System Technical Reference Manual Revision History
2. Introduction to the Hard Processor System
3. Clock Manager
4. Reset Manager
5. FPGA Manager
6. System Manager
7. SoC Security
8. System Interconnect
9. HPS-FPGA Bridges
10. Cortex*-A9 Microprocessor Unit Subsystem
11. CoreSight* Debug and Trace
12. Error Checking and Correction Controller
13. On-Chip Memory
14. NAND Flash Controller
15. SD/MMC Controller
16. Quad SPI Flash Controller
17. DMA Controller
18. Ethernet Media Access Controller
19. USB 2.0 OTG Controller
20. SPI Controller
21. I2C Controller
22. UART Controller
23. General-Purpose I/O Interface
24. Timer
25. Watchdog Timer
26. Hard Processor System I/O Pin Multiplexing
27. Introduction to the HPS Component
28. Instantiating the HPS Component
29. HPS Component Interfaces
30. Simulating the HPS Component
A. Booting and Configuration
8.1.1. Features of the System Interconnect
8.1.2. System Interconnect Block Diagram and System Integration
8.1.3. Arria 10 HPS Secure Firewalls
8.1.4. About the Rate Adapters
8.1.5. About the SDRAM L3 Interconnect
8.1.6. About Arbitration and Quality of Service
8.1.7. About the Service Network
8.1.8. About the Observation Network
8.2.1. System Interconnect Address Spaces
8.2.2. Secure Transaction Protection
8.2.3. System Interconnect Master Properties
8.2.4. System Interconnect Slave Properties
8.2.5. System Interconnect Clocks
8.2.6. System Interconnect Resets
8.2.7. Functional Description of the Rate Adapters
8.2.8. Functional Description of the Firewalls
8.2.9. Functional Description of the SDRAM L3 Interconnect
8.2.10. Functional Description of the Arbitration Logic
8.2.11. Functional Description of the QoS Generators
8.2.12. Functional Description of the Observation Network
10.3.1. Functional Description
10.3.2. Implementation Details
10.3.3. Cortex*-A9 Processor
10.3.4. Interactive Debugging Features
10.3.5. L1 Caches
10.3.6. Preload Engine
10.3.7. Floating Point Unit
10.3.8. NEON* Multimedia Processing Engine
10.3.9. Memory Management Unit
10.3.10. Performance Monitoring Unit
10.3.11. Arm* Cortex* -A9 MPCore Timers
10.3.12. Generic Interrupt Controller
10.3.13. Global Timer
10.3.14. Snoop Control Unit
10.3.15. Accelerator Coherency Port
11.1. Features of CoreSight* Debug and Trace
11.2. Arm* CoreSight* Documentation
11.3. CoreSight Debug and Trace Block Diagram and System Integration
11.4. Functional Description of CoreSight Debug and Trace
11.5. CoreSight* Debug and Trace Programming Model
11.6. CoreSight Debug and Trace Address Map and Register Definitions
11.4.1. Debug Access Port
11.4.2. System Trace Macrocell
11.4.3. Trace Funnel
11.4.4. CoreSight Trace Memory Controller
11.4.5. AMBA* Trace Bus Replicator
11.4.6. Trace Port Interface Unit
11.4.7. Embedded Cross Trigger System
11.4.8. Program Trace Macrocell
11.4.9. HPS Debug APB* Interface
11.4.10. FPGA Interface
11.4.11. Debug Clocks
11.4.12. Debug Resets
14.1. NAND Flash Controller Features
14.2. NAND Flash Controller Block Diagram and System Integration
14.3. NAND Flash Controller Signal Descriptions
14.4. Functional Description of the NAND Flash Controller
14.5. NAND Flash Controller Programming Model
14.6. NAND Flash Controller Address Map and Register Definitions
15.1. Features of the SD/MMC Controller
15.2. SD/MMC Controller Block Diagram and System Integration
15.3. SD/MMC Controller Signal Description
15.4. Functional Description of the SD/MMC Controller
15.5. SD/MMC Controller Programming Model
15.6. SD/MMC Controller Address Map and Register Definitions
16.1. Features of the Quad SPI Flash Controller
16.2. Quad SPI Flash Controller Block Diagram and System Integration
16.3. Quad SPI Flash Controller Signal Description
16.4. Functional Description of the Quad SPI Flash Controller
16.5. Quad SPI Flash Controller Programming Model
16.6. Quad SPI Flash Controller Address Map and Register Definitions
16.4.1. Overview
16.4.2. Data Slave Interface
16.4.3. SPI Legacy Mode
16.4.4. Register Slave Interface
16.4.5. Local Memory Buffer
16.4.6. DMA Peripheral Request Controller
16.4.7. Arbitration between Direct/Indirect Access Controller and STIG
16.4.8. Configuring the Flash Device
16.4.9. XIP Mode
16.4.10. Write Protection
16.4.11. Data Slave Sequential Access Detection
16.4.12. Clocks
16.4.13. Resets
16.4.14. Interrupts
18.6.1. System Level EMAC Configuration Registers
18.6.2. EMAC FPGA Interface Initialization
18.6.3. EMAC HPS Interface Initialization
18.6.4. DMA Initialization
18.6.5. EMAC Initialization and Configuration
18.6.6. Performing Normal Receive and Transmit Operation
18.6.7. Stopping and Starting Transmission
18.6.8. Programming Guidelines for Energy Efficient Ethernet
18.6.9. Programming Guidelines for Flexible Pulse-Per-Second (PPS) Output
19.1. Features of the USB OTG Controller
19.2. USB OTG Controller Block Diagram and System Integration
19.3. USB 2.0 ULPI PHY Signal Description
19.4. Functional Description of the USB OTG Controller
19.5. USB OTG Controller Programming Model
19.6. USB 2.0 OTG Controller Address Map and Register Definitions
29.5.1.1. NAND Flash Controller Interface
29.5.1.2. SD/MMC Controller Interface
29.5.1.3. Quad SPI Flash Controller Interface
29.5.1.4. Ethernet Media Access Controller Interface
29.5.1.5. USB 2.0 OTG Controller Interface
29.5.1.6. SPI Controller Interface
29.5.1.7. I2C Controller Interface
29.5.1.8. UART Interface
30.1. Simulation Flows
30.2. Clock and Reset Interfaces
30.3. FPGA-to-HPS AXI Slave Interface
30.4. HPS-to-FPGA AXI Master Interface
30.5. Lightweight HPS-to-FPGA AXI Master Interface
30.6. HPS-to-FPGA MPU Event Interface
30.7. Interrupts Interface
30.8. HPS-to-FPGA Debug APB* Interface
30.9. FPGA-to-HPS System Trace Macrocell Hardware Event Interface
30.10. HPS-to-FPGA Cross-Trigger Interface
30.11. FPGA-to-HPS DMA Handshake Interface
30.12. Boot from FPGA Interface
30.13. Security Manager Anti-Tamper Signals Interface
30.14. EMIF Conduit
30.15. Pin MUX and Peripherals
A.8.2. Arria 10 SoC FPGA Partial Reconfiguration Sequence Through FPGA Manager
Partial reconfiguration allows you to reconfigure part of the device while other sections remain running. This implementation divides the design in to a static region and a partial reconfiguration region.
- Static Region: Comprised of hard memory controller I/O, shared I/O, FPGA I/O and a portion of your FPGA design
- Dynamic Region: Remaining portion of FPGA design
The HPS performs partial reconfiguration while the FPGA portion of the device is in user mode. The following sequence suggests one way for software to perform a partial configuration. When using this sequence:
- If f2s_pr_ready=1 and f2s_pr_error=0 in the imgcfg_stat register of the FPGA Manager, begin at step 9.
- If the f2s_pr_ready bit in the imgcfg_stat register of the FPGA Manager is clear, then begin the sequence at step 1.
If an HPS warm reset occurs in the middle of a partial reconfiguration, software must repeat the steps for partial configuration. After an HPS cold reset, software must repeat the steps for Arria 10 SoC FPGA Configuration Sequence Through FPGA Manager.
- Read the f2s_usermode bit of the imgcfg_stat register in FPGA Manager to ensure that the FPGA is in user mode.
- Read the f2s_msel[2:0] field in the imgcfg_stat register to verify that the configuration mode is the passive fast (000) or passive slow (001). The FPGA manager only supports passive parallel programming.
- Set the cdratio bit of the imgcfg_ctrl_02 register to match the characteristics of the partial reconfiguration image and configure the cfgwidth bit of the imgcfg_ctrl_02 register to 0. Partial reconfiguration only supports 16-bit passive parallel programming.
- Prepare for partial reconfiguration. Set the en_cfg_ctrl bit of the imgcfg_ctrl_02 register to give the FPGA manager control of the configuration input signals.
- Read and confirm that s2f_pr_request=0 in the imgcfg_ctrl_01 register and s2f_nconfig=1 in the imgcfg_ctrl_00 register.
- Drive the chip select signal by clearing the s2f_nce bit in the imgcfg_ctrl_01 register.
- Enable overrides for configuration data and control by setting the en_cfg_ctrl bit in the imgcfg_ctrl_02 to 1.
- Disable overrides that are not used for partial reconfiguration by programming the following bits in the imgcfg_ctrl_00 register:
- s2f_condone_oe = 0
- s2f_nstatus_oe = 0
- s2_nconfig = 1
- s2f_nenable_condone = 1
- s2f_nenable_nstatus = 1
- s2f_nenable_nconfig = 0
- Enable HPS to override the DATA, DCLK, nCE and PR_REQUEST signals to the CSS by clearing the s2f_nenable_config bit in the imgcfg_ctrl_01 register.
- Run DCLK to clear any errors. Write a value of 0x100 to the dclkcnt register to generate 256 DCLK cycles. Poll the dclkstat register until dcntdone=1. You must implement a timeout in your software loop that either exits with an error or restarts at step 1 if dcntdone is not set after a period of time.
- Initiate a partial reconfiguration request.
- Set the s2f_pr_request bit of the imgcfg_ctrl_01 register to assert PR_REQUEST
- Write 0x7FF to the dclkcnt register.
- Poll the dclkstat register until dcntdone=1 .Again, you must implement a timeout in your software loop that either exits with an error or restarts at step 1 if dcntdone is not set after a period of time.
- Poll the f2s_pr_ready bit and the f2s_pr_error bit in the imgcfg_stat register. When f2s_pr_ready=1, the PR_READY signal is asserted. Alternately, the FPGA Manager can be configured to generate an interrupt when the PR_READY signal is asserted. If f2s_pr_error=1, you cannot continue with partial reconfiguration because security is preventing the software from updating the configuration. Intel recommends that your software routine implement an exit with a timeout error when f2s_pr_ready and f2s_pr_error continue to read as 0 after ten register reads.
- When the PR_READY signal is asserted, write the partial reconfiguration image to the img_data_w register in the FPGA Manager. You can also choose to use a DMA to transfer the configuration image from a peripheral device to the FPGA manager.
- Poll the imgcfg_stat register to observe the f2s_pr_done and f2s_pr_error bits. When the f2s_pr_done bit is set, partial FPGA reconfiguration is complete. If f2s_pr_done or f2s_pr_error is not set to 1 after reading the imgcfg_stat register ten times, generate a timeout error and continue on to the next step.
- Clear the s2f_pr_request bit of the imgcfg_ctrl_01 register to deassert PR_REQUEST.
- Poll the dcntdone bit of the dclkstat register until it reads as 1, which indicates that all the DCLKs have been sent.
- Write a 1 to the dcntdone bit of the dclkstat register to clear the completed status flag.
- Disable the DATA path and DCLK by clearing the en_cfg_ctrl bit of the imgcfg_ctrl_02 register.
- Disable the chip select. Set the s2f_nce bit in the imgcfg_ctrl_01 register.
- Disable overrides to the nCONFIG, DATA and DCLK signals by setting the s2f_nenable_config in the imgcfg_ctrl_01 register.
- Check that user mode is enabled and the configuration is done by checking that the bits below have the following values:
- f2s_usermode=1 in the imgcfg_stat register
- f2s_nstatus_pin=1 in the imgcfg_stat register
- f2s_condone_pin=1 in the imgcfg_stat register
Related Information