FPGA Center



 * Project Definition

 * Create Quartus Project

  * Create Nios Project

Create Software Program In NIOS

Open NIOS Software.

Select File>New/Nios II C/C++ Application from menu bar.


In New Project dialog box,

So that you have created a new project in NIOS. Now you can add a C file into project.

Create a C File

Select File>New>Others from Menu Bar.

In New dialog box select File under General and click Next.



In New File dialog box type a name in File Name field and Select  the Parent folder as shown below. Then click finish to complete C file.

NOTE: Don't forget specify ".c" extention of the file name. ( main.c etc). For C++ files ".cpp" extention is used instead of ".c".

Enter the C Program into the main.c files and save the File.

Select the project by left click. Righ click  and select System library Properties from pop up men羹.



Untick Support C++, tick Small C library and leave the default values in the remaining fields.

Select the project by left click. Righ click  and select Build Project from pop up men羹.

Simulate Project in NIOS Software

You can also the project in NIOS software. To do so,

Select the project by left click. Righ click  and select Run As>Nios II Instruction Set Simulator from pop-up men羹.

Download The Program覺 into FPGA

Select Run As/Nios II Hardware.

Congratulation.. You have finished your First Nios Project.

Test Bench                                                                                                                                    

 

Home | Fpga | VHDL | VHDL Dictionary | Digital Design | Simulation | PCB | Examples | Contact Us
Copyright © 2010 - 2013 FPGAcenter. All Rights Reserved.