Forum Discussion
Altera_Forum
Honored Contributor
14 years agowaitrequest signal for Avalon MM Slave
I have created a custom Avalon MM Slave component with SOPC v10.1 which uses chipselect_n, read_n, write_n, address/data, and waitrequest. Long story short I need it to be variable wait states so th...
Altera_Forum
Honored Contributor
14 years agoThe nios cpu always asserts all 4 byte enables during read cycles - it discards the unwanted bytes internally. For writes is only asserts the required byte enables.
This means that the bus width adapter inserted before an 8-bit slave will always generate 4 read cycles. (For writes, it might generate the cycles with no byte enables!) The usual way around this is to make the device be a 32bit slave that ignores the high bits.