Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20707 Discussions

Quartus Settings File

Altera_Forum
Honored Contributor II
1,439 Views

Hi, 

 

I want to maintain a folder for constraints. I am using quartus in tcl mode. Is there any option in tcl, mentioning the exact path for constraints.  

 

For Example :- 

 

I have this directory structure like  

RTL -> For all RTL Files 

Constraints -> Contains all the constraints 

Program -> Contains all the .sof and -.pof files. 

 

I like to mention in .tcl file that the constraints are available in Constraints folder.. How do I do that,,,, Is there a solution for that ??/  

 

Plz let me know... 

 

Waiting for an early response. 

 

 

Thanks, 

Sri.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
439 Views

Hope I've understood the question.  

I think you need to do the following... 

 

set_global_assignment -name SDC_FILE Constraints/my_constraints.sdc export_assignments
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

Hi, 

 

Thanks a lot for the reply...  

 

But What I need is ..... 

 

Can I read the settings file from a directory ??? ...... 

 

Let us say.....  

 

If I write all the settings in a file named constraints.qsf which in a directory named Constraints /...... 

 

Now from the .tcl file can I intimate the tool to take the constraints.qsf file from the Constraints directory ....  

 

Please let me know..  

 

Thanks, 

Sri.
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

You may wish to consider breaking a bit from your traditional approach. What I have typically done is keep all the Quartus project files in one folder: 

 

my_project 

---rtl (source code) 

---altera (.qsf,.qpf,.sdc) 

---generated (files generated by Quartus during compilation), you can specify this in the project assignments 

 

Jake
0 Kudos
Reply