Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Accessing SDRAM and SRAM in Cyclone Dev. Kit

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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