Forum Discussion

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

cyclone iii control ddr2.....i need help

i used cyclone iii and quartus ii 9.1 .

after building a "DDR2 SDRAM High Performance Controller" according to MegaWizard.

I get two modules: HPC and ALTMEMPHY.

After reading handbook,i found that if i want to control a ddr2 sdram,i should use both of them ,right??

but how to connect them??????????

these ctl_xxx signals should be connected to controller according to handbook.

the control just has some dq signal,but phy has the clt_wdata and clt_rdata.they don`t match.

and i think the local_xxx signals should be connected to user logic,right??

:(:(:(:(

5 Replies

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

    Hi,

    You might be better off building it as a SOPC project and exporting the local bus signals for your own logic. That way you'll get a single block and SOPC builder generates all the timing constraints you need (which are many with DDR2).

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

    ALTMEMPHY will be instantiated by the DDR2 controller. You don't need to care for it.

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

    --- Quote Start ---

    ALTMEMPHY will be instantiated by the DDR2 controller. You don't need to care for it.

    --- Quote End ---

    thanks for your help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    ALTMEMPHY will be instantiated by the DDR2 controller. You don't need to care for it.

    --- Quote End ---

    thank you~I will try it.