User guide

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab
49
Step 3: Develop the Software for Nios II SBT for Eclipse
1) This step relies on the .sopcinfo file created when generating the Qsys system
2) Open Nios II SBT for Eclipse
a) Indicate workspace as your project directory, and create a new file called
“Software” and click “Okay”
b) Set perspective to Nios II: Menu -> Window -> Open Perspective -> Other ->
Nios II
c) Menu -> File -> New -> Nios II Application and BSP from Template
i) Under “Target Hardware Information” select file
<directory>\nios.sopcinfo
ii) Under “Application Project” type “Binary Adder” as “Project Name”
iii) Under “Project Template” select “helloWorld”
iv) Click “Finish”
3) Include C++ code (Code located in the Codes folder under Binary_Adder_Nios2)