Forum Discussion

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

Version control for the Quartus project

For project built in the Quartus, what files I need to commit to version control system? For HDL and sdc files are straightforward, how about files related IPs?

Meanwhile, what is the best approach for another designer to rebuild the committed project in their local copy?

Thanks in advance.

17 Replies

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

    --- Quote Start ---

    ive not used a lot of Qsys - but from memory the Qsys system is nothing to do with the quartus project. Qsys generates the files for quartus to compile. So after a fresh checkout, you need to re-generate the qsys system before compiling.

    Or you could check in all the files Qsys generates (but this way gets very messy).

    --- Quote End ---

    It looks like that. No, I don;t want commit all files. I want to keep the commited designs compact.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi, sorry but I didn't get following point: Would you please elaborate it in more details?

    Regards,

    Bhaumik

    --- Quote End ---

    I mean:

    after I checkout my project, I open the project, in the project "IP components" tab, you won't see any qsys ip there. I have to open a qsys file then the project can auto load qsys IP into the project. Do you see the similar case?

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

    Hello,

    It seems due to .qip file generated by Qsys ( .qip will be available in synthesis folder once you generate QSYS design ) not added under version control. Could you try after adding all .qip files ( only .qip, not all Verilog and other files ) generated by QSYS in synthesis and its sub folders?

    Thanks,

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

    --- Quote Start ---

    Hello,

    It seems due to .qip file generated by Qsys ( .qip will be available in synthesis folder once you generate QSYS design ) not added under version control. Could you try after adding all .qip files ( only .qip, not all Verilog and other files ) generated by QSYS in synthesis and its sub folders?

    Thanks,

    Bhaumik

    --- Quote End ---

    The .QIP files files are just .tcl files that list the source code generated by QSYS, and any other assignments required. The should be generated from QSYS.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello all,

    I did try to commit the .qip file generated by the qsys. Yes, now the qsys system is added into the project automatically. I think commit qsys .qip file is feasible since it is only a tcl file. No matter what, after you checkout the project, you need to regenerate the files from qsys.

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

    Hello,

    Tricky is right about .qip files. If we have .qsys file under version control, .qip is not required to be added. This is because when we regenerate .qsys, .qip file will be regenerated.

    Regards,

    Bhaumik