AN 747: Implementing PHYLite in Intel® Arria® 10 Devices Design Examples

ID 683384
Date 5/08/2017
Public

1.2.2.3. 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 modify the phylite_dynamic_reconfiguration.c, phylite_dynamic_reconfiguration.h and hello_world.c files.

  1. In the Intel® Quartus® Prime software version 15.1, select Tools > Nios II Software Build Tools for Eclipse .
  2. Create a new workspace when the Select a workspace window prompt appears.
  3. A Nios II - Eclipse window appears. Select File > New > 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.
  5. In the Project name parameter, specify your desired project name. This example uses phylite_nios_1DQ2DQS_new.
  6. Choose Hello World as the project template.
  7. Click Finish to generate the project. Intel® Quartus® Prime software creates a new directory named software in the specified project location.
    Figure 15. 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 phylite_nios_1DQ2DQS_new.elf file is generated in the new <project directory>/software/phylite_nios_1DQ2DQS_new/ directory.