AN 888: PHY Lite for Parallel Interfaces Reference Design with Dynamic Reconfiguration for Intel® Stratix® 10 Devices

ID 683220
Date 9/11/2020
Public
Document Table of Contents

1.7.2. Generating Executable and Linking Format (.elf) Programming File

Follow the steps below to generate an executable and linking format (.elf) programming file. These steps are necessary if you would like to modify the phylite_dynamic_reconfiguration.c, phylite_dynamic_reconfiguration.h and hello_world.c files.

  1. In the Intel® Quartus® Prime Pro Edition software version 19.1, select Tools > Nios® II Software Build Tools for Eclipse.
    Figure 14.  Nios® II Software Build Tools for Eclipse
  2. Create a new workspace when the Select a workspace window prompt appears.
    Figure 15. Create New Workspace
  3. Select File > New > Nios® II Application and BSP from Template in the Nios II - Eclipse window.
    Figure 16.  Nios® II Application and BSP from Template
  4. In the SOPC Information File name parameter, browse to the location of phylite_nios.sopcinfo file in your host machine. Click OK to select the file and Eclipse automatically loads all CPU settings.
    The phylite_nios.sopcinfo is created when generating phylite_nios.qsys.
  5. In the Project name parameter, specify your desired project name.
  6. Choose Hello World as the project template.
  7. Click Finish to generate the project. The Intel® Quartus® Prime Pro Edition software creates a new directory named software in the specified project location.
    Figure 17.  Nios® II Application and BSP from Template Settings
  8. Replace the following files from <project directory>/software reference design with the files located in your new software directory.
    • hello_world.c
    • phylite_dynamic_reconfiguration.c
    • phylite_dynamic_reconfiguration.h
  9. In the Nios II - Eclipse window, press F5 to refresh the window and reload the new files into the project.
  10. Click Project > Build Project.
  11. Make sure the <project_name>.elf file is generated in the new <project directory>/software/<project_name>/ directory.