Forum Discussion
Altera_Forum
Honored Contributor
20 years agoaccess the custom logic
FOr nios I I have created a custome logic pwm for my project...SOPC assignes me address of 4A0 - 4AF address 00 - duty cycle address 01 - clock divide is it correct is program it in...
Altera_Forum
Honored Contributor
20 years agoYou should better consider using the IORD() and IOWR() macros from the <io.h> for accessing your IP registers, or you might experience arratic behaviours due to data cache operations and compiler optimizations.
If you have tested your component outside of the NIOS-II system (in a simulation only separate project) and the results were as expected, and you're still having problems, you could "signaltap" your entire design.