Forum Discussion
Altera_Forum
Honored Contributor
14 years agoyea my data bus is 8 bits wide!! is this problem independent of the size of the variable we assign IORD to ? for example whether we use:
""unsigned char a=IORD(componenet_base,0x10)"" or ""int a=IORD(component_base,0x10)"" the cpu does 4 read actions? (assuming the cumponent's data bus width is 8) ? another questions : my compent has an 8 bit address bus. how is my 8 bit address mapped into the 32 bit Nios address bus ? the 32 bit address is truncated to an 8 bit address bus?