Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Quartus source control

I'm in the process of setting up source control using SVN. If there is a good reason to avoid SVN for Quartus projects I'm open to suggestions.

Anyway, the hard thing seems to be to bring in the right files. In my opinion I need the binaries as well, because I want to get an old version without running the compile again. As for reports no-one here seems to be using them, so I see little reason to keep them. How does this look (apart from the copy-paste->layout disaster)?

---------------------------------------------------------------------

EDIT : The following have been updated according to your suggestions:

EDIT2: Updated again, also sorted this time...

---------------------------------------------------------------------

Files used by the compilation can be found in “Analysis & Synthesis Source files read” report. Quartus output folder can be set to \qout to separate source from output files (Project settings -> Compilation Process Settings)

“Name” refers to project/top entity name.

source files (always under source control)

*.bdf Schematic

*.bsf Symbols

*.inc AHDL include

*.lai Logic analyzer interface

*.mif Memory init

*.ptf SOPC file (old but recommended)

*.qip MegaWizard IP

*.sopc SOPC file

*.tcl Scripts

*.tdf AHDL source

*.v Verilog source

*.vhd VHDL source

*.vwf Simulation stimuli

assignments & settings (always under source control)

Name.cdf Programming chain settings

Name.qdf Default assignments

Name.qpf Project file

Name.qsf Assignments (except timing)

Name.sdc Timing constrains. This file should never be written directly by TimeQuest, since it might get randomly rearranged. Write to a separate file and copy-paste into main file.

Name.srf Message supressions

output files (normally under source control)

NOTE: Do not generate rbf or ttf files unless they are used

Name.pof Programming file

Name.rbf Programming file (normally not present)

Name.sof Programming file

Name.ttf Output in text format (normally not present)

special cases (consider source control)

\db\*.* Improves quartus compilation time. Lots of files. If and only if incremental compilation will be used this should be under source control.

\simulation\*.* This folder is for ModelSim. Quartus Simulator works without this folder. If ModelSim is used this should be under source control.

report files (normally not under source control)

*.done Date

*.qarlog Log of project archiving

*.rpt Reports

*.summary Report summaries

generated files (never under source control)

\timing\*.* No settings, just generated timing stuff

Name.qws GUI settings (window positions is a user rather than project option)

*.cmp Component declarations

*.dpf -

*.eqn Equations

*.html -

*.jpg Images generated by some megawizards?

*.pin -

*.ppf -

backup files (never under source control)

*.bak Backup of single files

*.qar Quartus archive

12 Replies