Forum Discussion
Altera_Forum
Honored Contributor
16 years agoGiven that the nios2 cpu always does 32bit memory accesses, and that these get converted into two 16bit cycles to access a 16bit target, it might be worth making your peripheral have a 32bit interface and just ignore the high bits?
The 32bit MM bus doesn't have address lines for the bottom 2 address bits, writes use 4 byte enable lines, and (IIRC) reads are always 32bit. It might be that the ADR0 line corresponds to value 4.