Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

6.5.3.1. Creating a Software Project Using Nios® II SBT for Eclipse

In this application note, you simulate a simple Hello World program with Platform Designer. The Hello World software prints a message to the console via JTAG UART. To create and build the software project, perform the following steps:

  1. Open the Nios® II SBT for Eclipse version 11.0 or later.
  2. On the File menu, point to New, and click Nios® II Application and BSP from Template.
  3. Select the SOPC Information (.sopcinfo) file name by browsing to <your project directory>/ an351_design, and then select niosii_system.sopcinfo.
  4. For Project Name, type hello_world_an351.
  5. Select Hello World from the Templates option.
  6. Click Finish.
  7. Right-click on hello_world_an351 in Project Explorer and then click Build Project.

    Now you have successfully built the Hello World project. In the next step, you will invoke ModelSim simulation from the Nios II SBT for Eclipse. This function populates the Memory Initialization File (.mif) with the Hello World program and starts the ModelSim software.

  8. Right-click on hello_world_an351 in Project Explorer. Point to Run As, and then click Nios® II ModelSim.