Visible to Intel only — GUID: lgd1688590750040
Ixiasoft
1. Introduction
2. FPGA Configuration First Mode
3. HPS Boot First Mode
4. Creating the Configuration Files
5. HPS Boot Flows
6. Configuring the FPGA Fabric from HPS Software
7. Debugging the Agilex™ 5 SoC FPGA Boot Flow
8. Document Revision History for the Hard Processor System Booting User Guide: Agilex™ 5 SoCs
4.1. Overview
4.2. Quartus® Prime Hardware Project Compilation
4.3. Bootloader Software Compilation
4.4. Programming File Generator
4.5. Configuration over JTAG
4.6. Configuration from QSPI
4.7. Configuration over AVST
4.8. Configuration via Protocol
4.9. Remote System Update
4.10. Partial Reconfiguration
Visible to Intel only — GUID: lgd1688590750040
Ixiasoft
4.5.1. FPGA Configuration First
The following figure shows an overview of the process:
Figure 12. Configuration over JTAG with FPGA Configuration First
The following steps are involved:
- Compile hardware project with Quartus® Prime to obtain the SOF file.
- Compile the HPS FSBL source code to obtain the HPS FSBL hex file or use a precompiled HPS FSBL hex file.
- Add the HPS FSBL hex file to the SOF file to obtain the HPS SOF File. SOF files resulted from compiling hardware designs that have HPS instantiated cannot be used directly to configure the device.
- Use the Quartus® Prime Programmer to configure the device over JTAG with the resulted HPS SOF file. The required firmware to run on the SDM must be downloaded on the device by the Quartus® Prime Programmer.
Run the following command to add the HPS FSBL hex file to the SOF file to create the HPS SOF file:
quartus_pfg -c design.sof design_hps.sof\ -o hps_path=fsbl.hex
The input and output files for this command are:
- Input Files:
- design.sof
- fsbl.hex
- Output File:
- design_hps.sof