Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

How can I get a 'hello_led'for Nios II?

Altera_Forum
Honored Contributor II
1,381 Views

I'm a beginner. Following the example of the course, I opened a project under NiosII IDE,and clicked C\C++ application. But I didn't find a 'hello_led' template there. Does anyone know how I can get a hello_led template here?Thank you!

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
442 Views

File->New->Project 

Select Altera Nios->Nios C/C++ application. 

Choose hello_world and associate to your sopc file. 

When sys library and all the stuff has been generated you can build your application. 

If you say hello_led I suppose you simply want make a led blink. Then you should have a pio connected to the led: use the pio register to set/clear the proper bit in order to drive the led
0 Kudos
Altera_Forum
Honored Contributor II
442 Views

Well thanks a lot. But I saw a hello_led project template just like the hello_world template in my course book. The version there is 5.1. But my nios II is 8.0. I can't find a hello_led under the Project Template. I can see hello_world there. So how can I get a hello_led under the Project Template? Should I download it somewhere? 

 

 

 

--- Quote Start ---  

File->New->Project 

Select Altera Nios->Nios C/C++ application. 

Choose hello_world and associate to your sopc file. 

When sys library and all the stuff has been generated you can build your application. 

If you say hello_led I suppose you simply want make a led blink. Then you should have a pio connected to the led: use the pio register to set/clear the proper bit in order to drive the led 

--- Quote End ---  

0 Kudos
Reply