Quartus® Prime Pro Edition User Guide: Programmer

ID 683039
Date 12/05/2024
Public
Document Table of Contents

1.7.1. quartus_pfg Command Line Tool

The Programing File Generator is also available as the quartus_pfg executable. You can specify conversion settings in the command line or through a PFG setting file (.pfg). This ability is useful for advanced designs that require multiple images or multiple user data files (HEX/RBF), because you define the settings once in the GUI and then export for subsequent use in the command line.

By default, quartus_pfg converts files using the AVSTx8 configuration scheme. To use a different flow, specify the proper operation mode, as the following command shows:

quartus_pfg -c  -o device=MT25QU512 -o mode=ASX4 -o flash_loader=1SG280HN3S3 \
      project.sof project.jic

To export PFG settings to a .pfg file, click File > Save. The Programming File Generator only saves settings that are consistent.

For more information about the quartus_pfg executable, type the following in the command line:
quartus_pfg --help

Differences Between GUI and Command Line Tool

The command line tool supports single image conversion only.