Intel® Quartus® Prime Pro Edition User Guide: Programmer

ID 683039
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.2.3. Generating Secondary Programming Files (Settings: Programming Files Dialog Box)

Follow these steps to generate .rbf files automatically as part of a standard compilation from the Intel® Quartus® Prime GUI.

  1. In Intel® Quartus® Prime, select Assignments > Settings.
  2. In the Settings window, select Assembler > Programming Files.

  3. In the Programming Files pane, select Generate programming files.
  4. Enter your command in the Command arguments box or click Import Script to upload a script file.
    Each argument line the Command arguments box is subject to the following conditions:
    • Lines must each begin with -c or --convert.
    • Lines must each contain at least two argument tokens.
    • Lines cannot contain pipes. For lines that contain pipes, only the first command argument before the first pipe in the command argument is executed.
    For example, -c <project_name>.sof project_name.rbf.

    If an argument line does not meet these conditions, you might see one of the following errors:

    Figure 9. Error message when command argument lines do not begin with -c or --convert
    Figure 10. Error message when command argument line does not contain at least two arguments
    Figure 11. Error message when command argument line contains a pipe
  5. Click Apply then click OK.
Ensure that the path to the .sof file is correct, otherwise you receive error messages similar to the following messages:
Error(22528): Programming files generation using command Error (19509):
Cannot locate file output_files/abc.sof. was unsuccessful. Check pfg.log for more info.
A pfg_commands.txt file is generated and the QSF file is updated with the following settings:
GENERATE_PROGRAMMING_FILES=ON
CONVERT_PROGRAMMING_FILES_COMMANDS /<user-project-path>/pfg_commands.txt