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

Quartus version control methodology

shaiko
Novice
1,021 Views

Hello,

I want to use Quartus with Git.
The easiest approach would be to archive my project with a .QAR file and store it in the Git repository.
However, I'd like to be able to compare individual files between multiple versions in the repository and with all the project archived into a single .QAR file it would be impossible.

What's the recommended methodology to achieve what I want to do ?

0 Kudos
1 Solution
RichardTanSY_Intel
973 Views

My thought is that you could create a new Quartus project in a Git repository directory and add all the necessary files to Git. This includes the project file (.qpf), any Verilog or VHDL source files, constraint files, and any other files that are necessary for the project. You can also add any other documentation or notes that may be useful to other team members.

Example git repository: https://github.com/intel/fpga-partial-reconfig

 

Another alternatives, in Quartus, the "Project → Generate TCL file for Project..." option generates a Tcl script file that contains all of the Quartus project settings and commands necessary to recreate the project. The Tcl script file can be used to automate the project creation process or to share the project settings with other users.

 

There are other forum cases with similar questions that you may checkout:

https://electronics.stackexchange.com/questions/430478/for-a-quartus-project-what-files-must-be-added-to-a-git-repository

https://community.intel.com/t5/Intel-Quartus-Prime-Software/Version-control-for-the-Quartus-project/td-p/130387

https://www.reddit.com/r/FPGA/comments/loi03v/intel_quartus_version_control/

 

Hope the answers help.

p.s: This is just my opinion, there is no official document from Intel that stated this. 

 

Best Regards,

Richard Tan

 

p/s: If you find any answers from the community or Intel Support to be helpful, we encourage you to mark them as the best answer or rate them 4/5 in the survey. 

 

View solution in original post

4 Replies
Kenny_Tan
Moderator
1,004 Views

Kindly note that there will be some slowness on the first reply due to the public holiday, we will get back to you as soon as possible.



0 Kudos
RichardTanSY_Intel
974 Views

My thought is that you could create a new Quartus project in a Git repository directory and add all the necessary files to Git. This includes the project file (.qpf), any Verilog or VHDL source files, constraint files, and any other files that are necessary for the project. You can also add any other documentation or notes that may be useful to other team members.

Example git repository: https://github.com/intel/fpga-partial-reconfig

 

Another alternatives, in Quartus, the "Project → Generate TCL file for Project..." option generates a Tcl script file that contains all of the Quartus project settings and commands necessary to recreate the project. The Tcl script file can be used to automate the project creation process or to share the project settings with other users.

 

There are other forum cases with similar questions that you may checkout:

https://electronics.stackexchange.com/questions/430478/for-a-quartus-project-what-files-must-be-added-to-a-git-repository

https://community.intel.com/t5/Intel-Quartus-Prime-Software/Version-control-for-the-Quartus-project/td-p/130387

https://www.reddit.com/r/FPGA/comments/loi03v/intel_quartus_version_control/

 

Hope the answers help.

p.s: This is just my opinion, there is no official document from Intel that stated this. 

 

Best Regards,

Richard Tan

 

p/s: If you find any answers from the community or Intel Support to be helpful, we encourage you to mark them as the best answer or rate them 4/5 in the survey. 

 

shaiko
Novice
933 Views

Thanks for your reply - the TCL path you suggested is what I normally do when working with devices from the competition.
It would be nice though if Quartus had an inbuilt way to "strip" away all the "non-atomic" files - essentially preparing a streamlined version of the project that together with the TCL file will be stored in the Git repo...

0 Kudos
RichardTanSY_Intel
929 Views

Thank you for acknowledging the solution provided. I'm glad to hear that your question has been addressed. Now, I will transition this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out. Thank you and have a great day!

 

Best Regards,

Richard Tan


0 Kudos
Reply