Forum Discussion
Altera_Forum
Honored Contributor
15 years agowith
--- Quote Start --- unsigned char a=IORD(componenet_base,0x10) --- Quote End --- The CPU will do one 32-bit read access to the component's register 0x10, which the switch fabric will change into 4 8-bit read accesses at registers 0x40,0x41,0x42 and 0x43 (notice the register number shift). It's a lot easier to do a 32-bit data bus, even if you only use the low 8-bits. It will save you a lot of trouble.