Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCustom component writing to SD-RAM
Hi fellows, i have created a system in which nios II processor is running at 100 MHZ and ddr sdram is running at 150 mhz so , i also added a clock crossing bridge, after this i created a ...
Altera_Forum
Honored Contributor
16 years agoPerhaps one of the master examples on the altera website (http://www.altera.com/support/examples/nios2/exm-avalon-mm.html) would be useful?
One thing to keep in mind is that you really shouldn't be too worried specifically about how to write to SDRAM but instead how to write to an Avalon slave. Writing to any slave, including SDRAM, is the same. Another thing to watch out for is that SDRAM is an example of a high latency slave, particularly for reads. Because of this, if you need to achieve high bandwidth/efficiency to the slave, you will need to use pipelining or burst transfers.