Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16614 Discussions

sopc design with ddr sdram controller

Altera_Forum
Honored Contributor II
1,225 Views

Hi, 

 

I am getting the following error when running the sopc design(which has ddr-sdram controller), am I suppose to change anything in the TCL scripts to amke it work?  

 

 

Error: Analysis and Elaboration failed. The constraints script will not be able to add any constraints. 

Error: Tcl error: ERROR: Error(s) found while running an executable. See report file(s) for error message(s). Message log indicates which executable was run last. 

while executing 

"error $result" 

(procedure "check_paths" line 13) 

invoked from within 

"check_paths $wrapper_name $do_analysis" 

invoked from within 

"if { $run_var != 0 } {# ########################################################################### Procedure check_paths() will analyse the project..." 

(file "add_constraints_for_ddr_sdram_0.tcl" line 74) 

invoked from within 

"source add_constraints_for_ddr_sdram_0.tcl" 

(file "auto_add_ddr_constraints.tcl" line 11) 

Error: Evaluation of Tcl script auto_add_ddr_constraints.tcl unsuccessful 

Error: Quartus II Shell was unsuccessful. 11 errors, 0 warnings 

Error: Peak virtual memory: 60 megabytes 

Error: Processing ended: Thu Oct 16 14:09:52 2008 

Error: Elapsed time: 00:00:15 

Error: Total CPU time (on all processors): 00:00:00 

Error: Quartus II Full Compilation was unsuccessful. 13 errors, 0 warnings 

 

Thanks a lot! 

Sasi 

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
502 Views

You should edit the DDR megafunction and click on step 2, labelled constraints.  

This will create the "auto_add_ddr_constraints.tcl" which should in turn load the "add_constraints_for_<DDR SDRAM NAME>.tcl" script.
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

hi  

 

i have the same problem , how can i edit the megafunction plzzzzzzzzzzzzzzzzzzzzzzzzz 

:)) thank u
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

Hi, 

 

Have a read through Chapter 1 of this document: 

 

http://www.altera.com/literature/hb/external-memory/emi_tut_ddr.pdf 

 

Mark.
0 Kudos
Reply