Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12408 Discussions

Access DDR2 memory outside of NIOS SOPC system

Honored Contributor I

Hi all. 


I have an SOPC system where my NIOS uses an external DDR2 memory as its main memory. The system being designed is that the NIOS will create an overlay buffer for an 800X600 OnScreen Display. This buffer is stored inside the DDR2 of the NIOS. 


The question is, how can a module external to the SOPC system read that overlay buffer? 


If the OnScreen Display would need to be refreshed at a 30Hz rate, then we'd need to use a very fast datapath through this DDR2. 


Any thoughts? 


Thank you
0 Kudos
1 Reply
Honored Contributor I

You need a DMA. You can either add a ready made DMA controller core to your SOPC system (such as Altera's SGDMA) or design your own component that uses an Avalon Master Memory Mapped interface to directly read from the RAM.