scripting platform designer insertion of ip files into quartus project
We are recently moving from Quartus 17 to Quartus 22, and have in the past
assembled our Quartus project using TCL scripts.
We encounter some problems when we try hard to continue using Platform
Designer (QSYS) tools to maintain our libraries.
1) Why does Platform Designer insist on being joined at the hip to a Quartus
project? Shouldn't it be possible to use the same QSYS subsystem files in multiple
Quartus projects? Normally in an editor changes are not made to the source file
(in this case the Quartus project) unless we select save from the menu? These are
only some comments from a bewildered user, I am not really optimistic that there
can be any resolution.
2) Given the above troubles we could always run platform designer specifying a
sacrificial Quartus project. Is there any way to, from a tcl script, automate adding
the very large number of generated IP files that a large Platform Designer system
uses to the Quartus project, only after we generate the Quartus project with our
build scrips? In the past we only needed to specify the top level QIP file created
by qsys-generate and all of the subordinate components were pulled into the
Quartus project together.
I have been searching in vain through the Platform Designer Commandline Utiilities
chapter in the Platform Designer documentation and trying various commands trial
and error with no success, hoping to find a script automation for adding all of the IP
of a large QSYS system to the Quartus project.
Lacking a proper script automation of course we could let the script based build fail,
run platform designer using the newly generated project, and copy the new additions
specifying the generated IP files to our build scripts, but this process would need to
be repeated endlessly any time someone on our team makes a minor updates to a
Platform Designer subsystem using the GUI. A bit of messy workflow to impose on our
team!
Thanks for any suggestions, hopefully I am not the only bewildered user!