Agilex™ 7 SoC FPGA Boot User Guide

ID 683389
Date 8/28/2024
Public
Document Table of Contents

4.4. Programming File Generator

The tool that is used for creating the configuration files is called Programming File Generator. This tool is part of the Quartus® Prime Programmer, which is included with the full Quartus® Prime software installation. The Quartus® Prime Programmer can also be downloaded and installed separately as a standalone application, in which case less disk space would be required.

The Programming File Generator tool can be called from command line using the quartus_pfg command, or as a graphical user interface application using qpfgw command. Both command line version and graphical interface version offer the same functionality with a couple of exceptions:
  • Adding an HPS FSBL hex file to a SOF file is only supported by the command line version.
  • Creating the initial flash contents for a Remote System Update (RSU) system is only supported by the graphical interface version.

The command line version is typically more convenient to use, as it requires less parameters to be entered than the graphical interface version. The graphical interface version also has the capability of saving all the selected options in a .pfg file, by going to File > Save or File > Save As menus. The saved .pfg file can later be used to re-create the configuration files by running the quartus_pfg -c filename.pfg command. The .pfg file is an XML file, typically not editable by hand. One useful edit though is to replace absolute filenames with relative ones, so that the tool could be ran in a different folder than the one where the .pfg file was originally created.

The following table summarizes the file types handled by the Quartus® Prime Programming File Generator:

Table 10.   Quartus® Prime Programming File Generator File Types
File Extension File Type Description
.jic JTAG Indirect Configuration File These files are intended to be written to QSPI flash by using the Quartus® Prime Programmer tool. They contain the actual flash data, and also a flash loader, which is a small FPGA design used by the Quartus® Prime Programmer to write the data.
.rpd Raw Programming Data File These files contain actual binary content for the flash and no additional metadata. They can contain the full content of the flash, similar with the .jic file—this is typically used in the case where an external tool is used to program the initial flash image. They can also contain an RSU application image, or RSU factory update image.
.rbf Raw Binary File

These files are binary files which can be used typically to configure the FPGA fabric for HPS configuration first mode. They can also be used for passively configuring the FPGA device through Avalon® Streaming Interface. They are also used for configuring the FPGA fabric for CvP case.

The maximum size of the .core.rbf file for the FPGA core fabric from the HPS does not exceed the bit-stream size for the FPGA from a configuration device.

The maximum size of bit-stream can be found in the Configuration Bit Stream Sizes section in the Agilex™ 7 F-Series and I-Series Device Data Sheet .

.map Memory Map File These files contain details about where the input data was placed in the output file. This file is human readable.