Forum Discussion

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

Using SDRAM on a DE2

Hi all,

I'm rather new to FPGA development, and Im having trouble finding a megafunction for the SDRAM for my DE2. I see there is something for it in the SOPC builder, but that's no help to me as far as I can tell. Im a little confused that there is nothing included from Altera for this purpose.

What would you do to instantiate an SDRAM controller?

Thanks,

- John

14 Replies

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

    Yes, I took a look at that controller. It was hard to understand how to use it, since there is little to no documentation with it. I've never worked with SDRAM at such a low level before, so I need to keep it simple :P

    The reference controller looks as if it will work fine for my purposes, and the whitepaper that comes with it is very informative. I may even rewrite it a little, since I will only be using page bursts (so as to maximize the throughput).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    All,

    Altera provides a library of SOPC Builder components (IP cores), which are listed in the URL below, for all I/O devices on the DE1 and DE2 boards. These components can be used as part of the SOPC Builder tool in the Quartus® II software. They allow users to easily create Nios® II systems that can access the I/O devices on the DE1 and DE2 boards. Also provided are the associated software drivers that can be incorporated into an Altera® Debug Client project (or an Altera Nios II IDE project).

    http://www.altera.com/education/univ/ip-cores/unv-ip-cores.html

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

    The DE2 kit should come with a CD full of demonstrations. The demo titled "DE2_TV" utilizes a 4-port SDRAM controller, which isn't generated by the SOPC. I've been using it the same situation you seem to be looking for (hardware circuits, no NIOS processor).