Forum Discussion

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

DDR3 initialize

Hi,

I try to use uniphy DDR3 on the board Stratix IV Gx. For the design it work very well. I need to know how initialize memory of DDR3 before download it to the FPGA. For example to initiliaze ROM memory, we just put the data to .HEX file. There is a way to initialize the DDR3 with this manner?

Thank you very much for your helps.

Best regards

2 Replies

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

    The only way to initialise external memory attached to an FPGA is to write to it - via your configured FPGA.

    Whilst you can initialise memory blocks internal to the FPGA using it's configuration bitstream, you cannot initialise external memory in the same way.

    There are plenty of ways to write to (and read from) external SDRAM devices (including DDR3 memory). They all require the FPGA to be configured with an appropriate design capable of controlling the device(s). I suggest a Nios processor with the appropriate ALTMEMPHY peripheral connected might be the most appropriate way forward to allow you to 'initialise' the contents of your DDR3 memory.

    Regards,

    Alex