Forum Discussion
Hi @GNg
This is what my script does:
1) Closes the project if exists and creates a new project.
2) Sets up the basic info in the qsf file like device, family within a separate script.
(I call export_assignments every time I finish executing a script like this).
3) Includes IO and Area constraints (the same way as step [2])
4) Regenerates IPs and Qsys elements using mw-generate and qsys-generate commands
5) Searches for files within my local folders and adds them to the project (the same way as step [2])
6) Adds the SDC file and export_assignments
I notice one strange thing: Step 4 takes quite some time (as expected). However before finishing I can open the new qsf file and I find that all the file assignments have been done. This is shouldn't be possible since those assignments are done in Steps 5 and 6 and I would expect the tcl script to execute sequentially. Therefore if I open the qsf file while the IPs are being genererated I shouldn't be any source file assignment or SDC assignment.
Is there any old version of the qsf file that is being used instead of the new one and I am not aware of it?
Cheers