Adding Library per file in QSYS component _hw.tcl file
Hi,
I am working on QSYS (Platform designer) and i need to add few of my IPs in .qsys project.
I created a _hw.tcl for my IP and specified all the required .vhd files in this _hw.tcl. (using "add_fileset_file" command)
But these .vhd files are present in different libraries (different folder path).
When I use QSYS(Platform designer) to integrate my IP, I see QSYS copies all files from my IP folder to one single directory.
The result is that the "Analysis & Synthesis" process in Quartus fails.
(Error (13785): VHDL Use Clause error at mytopdesignfile.vhd(33): design library "mylib1" does not contain primary unit "mySubDesign" file).
How to specify the library name in the _hw.tcl file ?
Is there any workaround for this issue ?
I am working on “Intel Quartus Pro Version 21.3”
Thanks