Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Writing C code in Nios II IDE

Altera_Forum
Honored Contributor II
1,936 Views

I am just familiarizing myself the usage of Altera/NIOS packages. For test purposes, I am trying to count the number of clock ticks taken to display "Hello World" 10000 times. 

 

What peripherals do I need to add in it to make it working?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
866 Views

The performance counter is probably good enough, no? I'll let you do your own hunting to find information on it... :-) 

 

-slacker
0 Kudos
Altera_Forum
Honored Contributor II
866 Views

Performance counter.. fast and simple to use.

0 Kudos
Altera_Forum
Honored Contributor II
866 Views

 

--- Quote Start ---  

The performance counter is probably good enough, no? I'll let you do your own hunting to find information on it... :-) 

 

-slacker 

--- Quote End ---  

 

Hi! 

I'm writing a C code to run on Nios II to produce a sine wave. I'll have to have it compared to a triangular wave, written in VHDL with the comparator also in VHDL. How can I link the C and VHDL codes? Or does the C code get converted to VHDL?
0 Kudos
Reply