Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
760 Views

Nios II basic questions

Greetings 

 

I own a DE2 development board with a cyclone II processor. THe class is finished. I bought one because I love VHDL but I have a few questions about "Nios II" 

 

1. What is the reason most developers use NIOS II? Is it because it can handles more complex math functions? 

 

2. What means or software do I need to use the NIOS II package? 

 

3. Are there basic tutorials available? 

 

Thank you 

 

Bill
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
42 Views

 

--- Quote Start ---  

 

1. What is the reason most developers use NIOS II? Is it because it can handles more complex math functions? 

 

--- Quote End ---  

 

Nios is a microprocessor, with all its advantages: code execution in the form of sequential instructions, high level language programming (C/C++), memory, peripherals, timers and so on. 

Then, complex math functions, control tasks or communication protocols are far easier to implement than with HDL. 

Clearly, you pay this with lower speed. 

If you decide to use Nios (or other uP) in a fpga system, usually is convenient to keep some functions in hardware, to improve performance. The great advantage of a soft uP core implemented in fpga, compared to a physical uP, is the fact you can somehow choose the separation line between hw and sw, because you are able to define the architecture of the system. 

 

 

--- Quote Start ---  

 

2. What means or software do I need to use the NIOS II package? 

 

--- Quote End ---  

 

All you need is included in the Quartus II web edition intallation, which can be freely downloaded from Altera website. The Nios dev tools are included here. 

A licence is required for using Nios in a production device. You don't need it if you simply use the core for testing purposes: an unlicensed Nios will keep on working as long as your development system remains connected. 

 

 

--- Quote Start ---  

3. Are there basic tutorials available? 

 

--- Quote End ---  

 

There's plenty of documentation and tutorials on the Altera website. 

Since you already have a DE2 board, I'd suggest you start with the Nios Architect Design Tutorial. This and much other helpful documentation can be found here: 

http://www.altera.com/devices/processor/nios2/literature/lit-nio2.jsp
Altera_Forum
Honored Contributor I
42 Views

We used the fpga and nios2 to replace a DSP that had become obsolete. 

Although the nios2 is somewhat slower than that of the DSP, the ability to add custom logic makes a lot of difference. 

Getting the required performance did require some lateral thought!
Reply