Forum Discussion
Altera_Forum
Honored Contributor
20 years agoi have a problem about pio
i have a problem with pio. void main { unsigned long M=0; unsigned long N=0; unsigned long fenzi=0; unsigned long fenmu=0; ...
Altera_Forum
Honored Contributor
20 years agoHI snow
I suggest u can open the "altera_avalon_pio_regs.h" and "system.h" of NIOS2 project in the IDE and read it carefully. use these followed macro: IORD_ALTERA_AVALON_PIO_DATA(base) IOWR_ALTERA_AVALON_PIO_DATA(base, data) Reading the English Datasheet carefully before u program http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif