How to specify the library for files in the Component Editor?
I am making a custom IP component in Quartus Prime 26.1.
Most files are simply part of the "work" library, however there is at least one file which needs to be compiled under a specific library name. I have created my own _hw.tcl file, which is working fine. The problem is, that when I include all my files, I do not know how to specify the library each file should be compiled into.
This results in an error message when synthesising: VHDL Use Clause at MyFile.vhd(29): design library "mylib" does not contain primary unit "mylibcomponents".
It would seem natural that there'd be an attribute or something you can apply to a file or fileset, which would specify the library; however, I've been unable to find anything.
Many thanks in advance for any guidance!
Inside IP, you can only use work. Or move that file out of the IP to use mylib