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

Cleaning Project Files

Altera_Forum
Honored Contributor II
6,473 Views

Hi everyone, :cool: 

 

I need help, do anyone here know how to clean unnecessary files or old files automatically from quartus, such as *.rpt file, *.summary and also wlf file on ModelSim. Files that can be generated again when compile operation executed. My project grow larger everytime I edit and recompile the project, especially when I added new testbench and perform new simulation. It eat to much space on my disk. 

 

Thank you,... :) :)
0 Kudos
11 Replies
Altera_Forum
Honored Contributor II
4,065 Views

I don't believe that Quartus currently has a "clean" function. I know ISE does. I typically manually delete things. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

Thanks Jakobjones,  

anyway, is this same for ModelSim..? 

 

For Altera developer, maybe you want to consider about adding this feature for next quartus release. Sometime I confuse selecting file when I browse file to be opened in external text editor because there are too many files, reducing unnecessary file perhaps will help us.. 

 

Thanks again,...
0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

Typically you only need .sdc .qsf .qpf .srf .qip 

 

I keep my source files in a different directory from the quartus project. This allows me to keep the source directory clean. 

I used different project directories for different tools, this allows me to use/try multiple Quartus and modelsim versions. 

 

I need this because of some Quartus 10.0sp1 regressions.
0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

try going to Assignments > Settings > Compilation Process Settings and check Save project output files in specified directory. you could call the directory output for example 

 

then you can remove db/, incremental_db/, output/, and simulation/ to clean a project
0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

Thanks for all, 

 

Amilcar, saving source file in different directory sound good idea. Thepancake, how about assignment setting, in which file our FPGA assignment setting saved? It will be problem if it also generated to output folder or somewhere else we don't know and we delete it, we need to assign again and again each time we clean our project. 

 

thanks,...
0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

the .qsf should still be saved to whatever directory the .qpf is saved to. it won't put the settings file into the output/ directory

0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

I think, a *.qar archive reduces the project to it's essential files only.

0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

Thepancake, so our FPGA assigment or Project configuration saved in *.qsf file? Ok, I got it thanks... 

 

FvM, I think *.qar is used if our project is finish and we want to store it, but if we haven't finished it, it will be problem if we have to extract it each time we want to edit our project.  

 

Thanks,...
0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

Of course you have to archive and restore the project to "clean" it, but the archiver does exactly what you intend, keeping those files that are referenced in the project, also if they are not explicitely included in the project file list. I'm not aware of another tool with this functionality.

0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

I see,.. thanks for the idea. I really appreciate that...

0 Kudos
Altera_Forum
Honored Contributor II
4,065 Views

...if you have .sopc builder files/wrappers tha you have created to import into your design in a user library, these files are NOT included in a QAR file automatically. Not certain if there is a setting that will allow these to be pulled in or not... 

 

my $.02 

 

crayner 

dff
0 Kudos
Reply