Why does Qsys create copies of the source files when it generates a system?
When we "generate" a Qsys system for synthesis (as well as for simulation), Qsys fills in the synthesis and simulation files inside Qsys system folder. Here, it creates copies of RTL files that must exist elsewhere in the project directory. Also, via a tcl script which exists inside the synthesis folder, all these files are assigned to a library which has same name as the Qsys system itself.
We have adopted tools to automate the process of compiling the files and running simulation. The above results in us having duplicate files that exist in two libraries. One is our own custom library to store certain RTL files while the other is one created by Qsys.
One problem that results from all this is , during development, as we change the RTL files for custom Qsys components, we need to regenerate the system so the changes are copied into the Qsys synthesis files.
I have now following questions:
- Why does Qsys create copy of RTL files and not just "link" to them?
- Is there a way to assign files inside Qsys system to specific libraries (from VHDL perspective) as we can do so in Quartus.