Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNIOS with DDR as Main Memory
Hello everyone, I am attempting to use the DDR memory as the main memory for the NIOS core. As such, I decided to enable burst transfers for the processor. I have a couple of questions regardi...
Altera_Forum
Honored Contributor
15 years agoThe compiler won't do anything special, all the writes from the NiosII cpu instruction unit are single words.
It would be normal to use the data cache for external memory (DDR or SDRAM), cache line writes are likely to be burst transfers. I also believe the Avalon slave interface to DDR/SDRAM will merge writes to adjacent locations into a burst transfer to the memory itself. Certainly the first 2 writes are 'posted' (ie the data and address are latched and the Avalon bus cycle completes before the memory cycle starts).