Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Accessing SDRAM and SRAM in Cyclone Dev. Kit

Altera_Forum
Honored Contributor II
1,128 Views

I'm new to the Nios processor, and I have a question. I can't understand clearly how to access the SDRAM and SRAM on the Cyclone Dev. kit. Are there special instructions which are used in writing and reading from these memories? Or are they accessed in an alternative way? 

 

Thanks in advance, 

Zyad Mohamed
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
219 Views

Hello zyadmohamed, 

 

Welcome to this forum!  

 

There are no differences to access SRAM and SDRAM. For both of them you can use IORD… and IOWR… or pointers. The SDRAM controller is working in the back to refresh the SDRAM cells.  

 

Regards, 

niosIIuser
0 Kudos
Reply