Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNios instruction timings
I thought I understood the Nios instruction timings, and exactly when pipeline stalls occur. However I've found some discrepencies between calculated and measured execution times. This is a /f ...
Altera_Forum
Honored Contributor
13 years agoI've located the undocumented stall.
There is a 1 clock delay if a read follows a write to the same tightly coupled data block. The same delay may apply to data cache accesses. The reason is that the write cannot be requested unless the address matches and the instruction is a write. The read can (and is) issued to every tightly coupled memory block every cycle, and the value only used if the instruction was a read on that block. This means that the writes actually happen one clock later than reads.