Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFlash read causes two reads
I have the Stratix III development kit with the 512-Mbit Intel part on it. My command writes appear to be correct, looking at it with SignalTap. I write to the base address a command such as ...
Altera_Forum
Honored Contributor
16 years agoIIRC the nios data master always does 32 bit reads (and asserts all byte enables). Their will be a bus width adapter between that and a 16bit slave - which will convert every read request from the nios into 2 reads of the slave.
The only way I know of to avoid that is to make the slave have a 32 bit interface. You then need you own logic to perform the two 16 bit cycles under normal conditions - while allowing a single cycle for programming operations (etc). Or maybe it is possible to map the flash memory at multiple addresses with different properties ...