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

How to rename the project and also its files?

Altera_Forum
Honored Contributor II
17,597 Views

Hi All, 

 

How can I rename the project in Quartus-II so that all the relevant files will be renamed as well?  

 

For example, "Project -> Copy Project..." doesn't do the job - it only create a new work directory without renaming the files... 

 

Thank you
5 Replies
Altera_Forum
Honored Contributor II
14,720 Views

Files cannot be renamed without doing it manually. 

If they are generated files (from QSYS) then you will need to change the component names in QSYS before regenerating them. 

 

What are the files?
0 Kudos
Altera_Forum
Honored Contributor II
14,720 Views

I'm about the Project name, not a Qsys hierarchy renaming... As for the Qsys, it may to stay the same... I want just to rename the Quartus-II project...

0 Kudos
Altera_Forum
Honored Contributor II
14,720 Views

Just manually rename the .qpf and .qsf. Open the new .qpf in a text editor and modify the .qsf name it points to.

0 Kudos
Altera_Forum
Honored Contributor II
14,720 Views

I think the easiest way I found to do it in the past if you only have one project revision is follows. (I can't remember exactly as it was a couple of years ago, so make sure you have a backup copy of your project before proceeding) 

 

(1) Make a new revision in the project with the new name you want, making sure you ask for all of the files to be copied from the current one. 

(2) Delete the original revision leaving just the new one. 

(3) Close the project. 

(4) Manually rename the project folder and the ProjectName.qpf file to be the new name. 

 

Then if you open the project again, it should be renamed. All of the output files and intermediate files get renamed when you make a new revision of the project so it should just be the folder and .qpf you have to do manually.
Altera_Forum
Honored Contributor II
14,720 Views

I was wondering the same thing because as you said. Copy project doesn't do it. I made a new project (and folder) and imported all assignments from the project I wanted. Then closed the new project and open the original. Open Qsys and use "Save as" to save a copy to the new project/folder with the new name. That will get you the Qsys part. Then open the new project, add the qip file from Qsys and set the top design file. You may need to re-generate in Qsys, not sure. Sorry I haven't done the Eclipse file yet but my C program is rather simple because I'm learning. Hope that helps.

0 Kudos
Reply