Forum Discussion
Altera_Forum
Honored Contributor
10 years agoNios II DDR SDRAM read latency
Hi, I’m trying to optimize RAM access from Nios II. when reading 10’000 successive words from ram using iord in a for-loop, it takes 25 clock cycles per read (without loop overhead). To...
Altera_Forum
Honored Contributor
10 years agoHi Simon,
I would suggest using memcpy instead of IORD. You could read data in blocks reducing considerably the latency involved. I understand that you are using single words but it would be more efficient to load a block of data from DDR, store it in an array and use each word from this block. Best regards, Thiago