Forum Discussion
Altera_Forum
Honored Contributor
16 years agoPIO set and clear bits
Hi! I am using a Nios II in my Cyclone II FPGA. I configured the Nios with a 18bit output-PIO. When i use the macro IOWR_ALTERA_AVALON_PIO_DATA() i can easily turn my leds on and off. Looking ...
Altera_Forum
Honored Contributor
16 years agoHi Cris!
Thank you for your efforts! It still does not work for me. I think i will try to rebuild the nios in sopc builder from scratch. But just another though: Could it be that the IOWR_ALTERA_AVALON_PIO_SET_BITS() and IOWR_ALTERA_AVALON_PIO_CLEAR_BITS() macro do not work because i derived my project from the "Hello World Small" template? Regards FredFlintstone