Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNIOS II C code tips?
hey everybody I'm trying to make a PWM using NIOSII and SOPC and i have reached the point where i need to wright the C code for my model but i can't find any documentation describing how to do it...
Altera_Forum
Honored Contributor
15 years agoYou could look at literature on altera web site, there are "getting started" and tutorials.
With NIOS you get examples : "hello word" which lights up leds on altera nios dev kits with IOWR instructions. It is a good starting point, a good example you can modify. There are NIOS documentations on IORD , IOWR ... macro functions. Look at examples included in Quartus and Nios