Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWriting C code in Nios II IDE
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?3 Replies
- Altera_Forum
Honored Contributor
--- 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? - Altera_Forum
Honored Contributor
Performance counter.. fast and simple to use.
- Altera_Forum
Honored Contributor
The performance counter is probably good enough, no? I'll let you do your own hunting to find information on it... :-)
-slacker