Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI have a simple question. While reading data from PIO, we just need to mention the base address of the signal. Whereas, the PIOs can be of different widths (1bit to 32 bit)... so by just mentioning the base address, the system automatically reads the complete value???
BIU_status_x = IORD_ALTERA_AVALON_PIO_DATA(BIU_STATUS_REG_BASE); In this case, the BIU_STATUS_REG is a 5 bit PIO. Will I get the same 5 bit value in BIU_status_x????