I am encountering the following error when running Synthesis in Vivado. How can I resolve it?
This error occurs because the package file 'xxx' is not compiled into library 'yyy'.
This can happen when the package file is not added into project sources at all or is compiled into a different library, for example xil_defaultlib.
To resolve this error, make sure that the package file is added into design sources and set its Library name to 'yyy'.
Right click on file 'xxx' in the "Sources" window -> Select "Set Library..." -> Change the Library name to 'yyy'