Forum Discussion
Altera_Forum
Honored Contributor
15 years agoregister 0 will give you back a number that represents your PIO lines if the core is configured as input lines. Please have a look at the documentation chapter 10, this is covered pretty well.
http://www.altera.com/literature/ug/ug_embedded_ip.pdf (http://www.altera.com/literature/ug/ug_embedded_ip.pdf)