- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
I am using ddr3 IP controller in my design which operates at 200Mhz (avalon clock) and configured memory clock as 400 Mhz.
With that settings when I compile the design, I am getting negative slack for ddr3 core setup. some paths are reported which are in ddr3 library files.
Please give some solution for this issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the target device, and if needed for it, did you run the Tcl script needed to set the appropriate assignments? What version of Quartus? What are your EMIF IP parameter settings? What board is this for, custom or a dev kit? Really need way more info here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Target device : Cyclone v gx(5CGXFC5C6F27C7)
Yes i run the tcl script which is generated in the directory.(assigments.tcl,timing.tcltiming_ccore.tcl)
Quartus version is 22.1 prime standard
Custom board.
The following setting are used in EMIF IP:
input ref clock for ddr3 is 50 Mhz clock from board oscillator, connected in qsys design.
Please let me know if you need any additional details .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
"input ref clock for ddr3 is 50 Mhz clock from board oscillator, connected in qsys design."
- Can you provide this connection in the QSYS?
Regards,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
yes, input clk is from board oscillator and ddr ref clk is connected to that only in qsys.
this is how it is connected. Are u suggesting to connect the pll_ref_clk directly with inclk from top ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
"Are u suggesting to connect the pll_ref_clk directly with inclk from top ?"
- Yes, is that possible?
What is the other component that used that clock connection?
Regards,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ,
Ok i will check and let you know.
only ddr3, ethernet ip, pll is using that clock source only. that also connected through qsys clock source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AdzimZM_Intel,
With that clock implementation also, timing violation is increased.
attached the archived project which contains the ddr_clk connected to top.
With that also tming violation is there..Please check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Please revert back the change. It's introducing more timing violation.
To help in fix the timing issue, please change the compiler setting in advanced setting (synthesis) for optimization technique to speed.
Please supply the afi_clk from ddr3 module to cpu and vic_0 module.
Regards,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK I will check and let you know the results
Thanks for suggestion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have modified as you have suggested(optimization- speed) ,afi_clk to cpu,vic.
With that also timing violations are reported for ddr set up.
PLease check the attached project archive for reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was getting timing violations with my emif design until I found this: https://www.intel.com/content/www/us/en/support/programmable/articles/000078771.html.
In my case, I moved the qsys qip file before the sdc files in the qsf. I also had to modifiy the qsys qip file to move the ddr3_emif sdc file before the other sdc files in the qip.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response.
But i am compiling the design with the files order setup only.(first qip file then sdc file)
Still ddr has timing violation particularly for ddr3 memory clk as 400 and controller rate is 200.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page