Visible to Intel only — GUID: emw1671390026623
Ixiasoft
Visible to Intel only — GUID: emw1671390026623
Ixiasoft
4.5.2. HPS Boots First
In order to configure a device over JTAG with HPS first, you need to generate a bitstream intended for AVST. Two RBF files are created: design.hps.rbf Phase 1 bitstream which is used for initial device configuration over JTAG, and design.core.rbf Phase 2 bitstream used for later fabric configuration by HPS software.
- 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 one.
- Use Programming File Generator to create the following files:
- Peripheral RBF file—contains the phase 1 configuration bitstream for initial configuration over JTAG.
- Core RBF file—contains the phase 2 configuration bitstream. To be used by HPS software later to configure the fabric.
- Use Quartus® Prime Programmer to configure the device using the phase 1 peripheral RBF. HPS software starts running, beginning with HPS FSBL.
- At a later time, HPS software configures the FPGA fabric by using the phase 2 Core RBF bitstream.
quartus_pfg -c design.sof design.rbf -o hps_path=fsbl.hex -o hps=on
- Input Files:
- design.sof
- fsbl.hex
- Output Files:
- design.hps.rbf—Phase 1 Peripheral RBF
- design.core.rbf—Phase 2 Core RBF