Forum Discussion
Altera_Forum
Honored Contributor
14 years agogpio input and output
I have a de2-115 board and i'm trying to do some basic functions but i'm hitting a roadblock. I used SOPC builder to create a system that has nios ii, two PIO interfaces where one is input and ...
Altera_Forum
Honored Contributor
14 years agoYes. You can either detect the change in software (i.e. read the pio and compare with a provious value stored in a variable) or enable the edge detection options in SOPC builder and use the IOWR_ALTERA_AVALON_PIO_EDGE_CAP macro.