Nios® V Embedded Processor Design Handbook

ID 726952
Date 12/04/2023
Public

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

Document Table of Contents

4.5.2.1.5. Programming Files Generation

  1. Go to File > Programming File Generator.
  2. Select the Configuration mode to be Active Serial x4.
  3. In the Output Files tab, select JTAG Indirect Configuration File (.jic).
    Figure 67. Programming File Generator (Output Files)
  4. In the Input Files tab, perform the following steps:
    1. Add the SOF file by clicking Add Bitstream.
    2. Add the user application (.hex) file by clicking Add Raw Data.
    3. Select the HEX file and click Properties.
    4. Select Bit Swap : On.
      Figure 68. Programming File Generator (Input Files)
  5. In the Configuration Device tab,
    1. Add the flash device by clicking Add Device.
      1. If you are using a supported device, you may make your selection, and click OK. Else, proceed to Apply the Configuration Device window.
    2. Add the SOF file by selecting the flash device and click Add Partition.
    3. Add the user application (.hex) file by selecting the flash device and click Add Partition. Select the Address Mode to Start and set the Start address to the value set for PAYLOAD_OFFSET in mailbox_bootcopier.c.
    4. Select the Flash loader according to the Intel FPGA device.
    Figure 69. Programming File Generator (Configuration Device)
  6. Click Generate to generate the JIC file.

Applying the Configuration Device Window

The Configuration Device allows for choosing a specific supported device or alternatively an unsupported device.

Figure 70. Configuration Device Window
  1. If you are using a supported device, make your selection, and click OK. Else, proceed with the following steps:
    1. Select <<new device>>.
    2. Enter the information about Device name, Device ID, Device I/O voltage, Device density, Total device die, Dummy clock (Single I/O or Quad I/O mode) and Programming flow template.
    3. Click Apply.
      Note: The Programming flow template helps you to define a template for flash operation in Initialization, Program, Erase, Verify/Blank-Check/Examine and Termination. If the device is not available for selection, refer to Modifying Programming Flows in Generic Flash Programmer User Guide to modify the programming flow.