Customizable Flash Programmer User Guide

ID 683271
Date 4/28/2023
Public
Document Table of Contents

3.1.3.2. Generating .rpd File for Other FPGA Devices

To generate the .rpd file for other FPGA devices, follow these steps:

  1. Create quartus.ini in any of the following folders:
    • Quartus project folder
    • For Windows: %QUARTUS_ROOTDIR%\bin64
    • For Linux: $QUARTUS_ROOTDIR/linux64
  2. Fill in the quartus.ini directive according to the flash byte-addressing mode, regardless of the flash density.
    Quad SPI Flash Byte-Addressing Mode quartus.ini Directive
    3-byte PGM_ALLOW_QSPI128=ON
    4-byte PGM_ALLOW_QSPI512=ON
  3. Set the following settings in the Convert Programming File tool.
    1. Specify the programming file type: POF
    2. Select the configuration device.
      • Select QSPI128 for 3-byte addressing.
      • Select QSPI512 for 4-byte addressing.
    3. Select mode: Active Serial x1 or Active Serial x4.
    4. For Advanced Options:
      1. Check Advanced... > Disable EPCS/EPCQ ID check.
      2. Fill up the dummy clock for quad SPI flash single IO and quad IO modes. Refer to the third-party quad SPI flash datasheet for this information.
    5. Check Create config data RPD (Generate output_file_auto.rpd).
    6. Under Input files to convert, select the .sof file for your design.
      Intel recommends enabling compression for the .sof file to reduce the .rpd file size.
    7. Click Generate.
The generated <output_file>_auto.rpd file is the configuration bitstream to be programmed into the quad SPI flash using the Customizable Flash Programmer. The generated .pof file can be ignored.