Altera_Forum
Honored Contributor
17 years agoConstrain DDR2 IP -- need help
Hi,
I need your help for constrain my design based on the DDR2 HP IP from Altera. Actualy, I'm really a newbie in this particular step. I never have manually constrain a design. Well, my design is composed of one ddr2 controller (generated by megawizard), one logical block to write some patterns in ddr2 memory and another logical block to read out theses patterns (please see attached images to view a screenshot of my top level project). Altera provide a sdc file for constrain ddr2 ip. So I use it and add some constraints on my inputs and my logic (reset_n, start_write and start_read inputs and led) (please see attached file to view the complete sdc file I use). The design works good on real board (Stratix II GX PCI Expres development board) but during compilation, I have some timing issues. I have a minimum pulse width violations. First, i say : "it's nothing. All works fine". But later, when I wanted to re-use this design in another working design (composed by an ethernet mac, a nios II processor and some other logic). and when I add all together, I have got many timing issues and nothing works properly... So in a first time, I would like to fix my ddr2 design correctly. So please, could you tell me why I've got a minimum pulse with timing error ? What can I do to fix it ? Have you some links for learning basics about timing constraining ? (I will read the section 3 of quartus handbook, i think it will be usefull!) Thanks in advance! See you. Fabrice.