Forum Discussion

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

Qsys and version control

I would like to put the minimum number of files under version control to recreate a project. For Qsys, is the .qsys file sufficient? If so, why does the .sopcinfo file exist?

Is there a way to make a TCL script that can regenerate your Qsys system?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The qsys file should be sufficient.

    The command line tool that takes the qsys file as input and uses it to generate the system is called ip-generate. You could easily create a shell script to call this with the correct parameters to regenerate your system.

    You can get an example of the correct parameters to pass to ip-generate by generating your system using the qsys GUI. When you generate the system from the GUI, it prints out the ip-generate command line that it uses at the beginning of it's output.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have noticed that when I only store the .QSYS file, Quartus will not generate the simulation directories upon Analysis and Synthesis stage (like it does for the Synth files). Can you confirm whether storage of only the QSYS files allows Altera-Modelsim simulation of IP as well?