Hard Processor System Booting User Guide: Agilex™ 5 SoCs

ID 813762
Date 12/20/2024
Public
Document Table of Contents

4.8.2. Creating Configuration Files Using Graphical Interface

The following example creates the CvP configuration files using the Programming File Generator in GUI mode:

  1. Start the Programming File Generator in GUI mode by running the qpfgw command.
  2. Select the Device Family to be Agilex™ 5.
  3. Select the Configuration mode to be Active Serial x4.
  4. In the Output Files tab:
    1. Change the output file Name to “design”.
    2. Check Raw Binary File for CvP Core Configuration (.rbf) option - the others are grayed out.
    3. Check JTAG Indirect Configuration File for Periphery Configuration (.jic) sub-option.
    4. Check the Memory Map File (.map) sub-option.
    5. Optionally check the Raw Programming Data (.rpd) sub-option.
    6. Click the Raw Programming Data (.rpd) sub-option.
    The Quartus® Prime Programming File Generator window is displayed:
    Figure 29.  Quartus® Prime Programming File Generator Pro Edition Window: Output Files
  5. Switch to Input Files tab by clicking it. In the Input Files tab, do the following:
    1. Click the Add Bitstream button, browse to your SOF file, then click Open.
    2. Click the newly added design.sof file, then click Properties. In the HPS settings > Bootloader section, click the “..” browse button, go to the location of your HPS FSBL hex file, select it and click Open.
      The Quartus® Prime Programming File Generator window is displayed:
      Figure 30.  Quartus® Prime Programming File Generator Pro Edition Window: Input Files
  6. Switch to the Configuration Device tab by clicking it. In the Configuration Device tab, do the following:
    1. Click Add Device, select your desired flash device (in this example, MT25QU128) then click OK.
    2. Click the newly added device, then click Add Partition. In the partition window, leave Name as “P1”, select Input file to be “Bitstream_1 (design.sof)” and leave Page as “0”, Address Mode as “Auto”, then click OK.
    3. Under Flash Loader, click the Select.. button, then select Agilex™ 5 under Device Family, and A5ED065BB32AR0 under Device Name. Click OK.
      The Quartus® Prime Programming File Generator window is displayed:
      Figure 31.  Quartus® Prime Programming File Generator Pro Edition Window: Configuration Device
  7. Click the Generate button. Once the files are generated, a confirmation message is received.
  8. Optionally, go to File > Save or File > Save As to save the configuration in a .pfg file. You can generate the output again by applying the same options by running the command line version of the tool like this:
    quartus_pfg -c <filename.pfg