AN 729: Implementing JESD204B IP Core System Reference Design with Nios II Processor

ID 683844
Date 5/04/2015
Public
Document Table of Contents

1.6. Generating Programming File

To compile the HDL and generate the programming file (.sof), follow these steps:

  1. Extract the reference design from jesd204b_nios_ref_design.zip.
  2. Launch the Quartus II software.
  3. On the File menu, click Open Project.
  4. Navigate to your project directory and select the Quartus project archive file (jesd204b_ed.qar). Click Open.
  5. In the Restore Archived Project window, verify that the archive file name is jesd204b_ed.qar and set the destination folder to <project directory>/jesd204b_nios_ref_design/jesd204b_ed/. Click OK. The Quartus project is now open in the Quartus window.
  6. In the top level HDL file, <project directory>/jesd204b_nios_ref_design/jesd204b_ed/jesd204b_ed.sv, set the project parameter settings according to your configuration. Ensure that the settings match the JESD204B parameter settings in QSYS. Refer to the Top Level HDL Parameters section for more details on the project parameters
  7. To compile the HDL, navigate to the Processing menu and select Start Compilation.
  8. After compilation is done, you are ready to program the FPGA device with the programming file. Navigate to the Tools menu and click Programmer.
  9. In the Programmer window, click Add File.
  10. In the Select Programming File window, navigate to <project directory>/jesd204b_nios_ref_design/jesd204b_ed/output_files/jesd204b_ed.sof and click Open.
  11. Verify that all the hardware setup options are set correctly to your system configurations.
  12. Click Start to download the file into the Arria 10 FPGA device on the development board.

Alternatively, if you want to use the pre-generated golden programming file, skip the Quartus compilation in step 6 and 7. In step 10, select <project directory>/jesd204b_nios_ref_design/jesd204b_ed/output_files/jesd204b_ed_golden.sof and proceed accordingly.

After programming the Arria 10 FPGA device on the development board, the system needs to be initialized via software before the link can be fully active. Follow the steps in the Setting Up the Software Command Line Environment section to complete the link initialization process.