AR# 57595 – Vivado Synthesis – ERROR: [Synth 8-4169] error in use clause: package ‘xxx‘ not found in

AR# 57595
Vivado Synthesis – ERROR: [Synth 8-4169] error in use clause: package ‘xxx’ not found in library ‘yyy’
Description
I am encountering the following error when running Synthesis in Vivado. How can I resolve it?
ERROR: [Synth 8-4169] error in use clause: package ‘xxx’ not found in library ‘yyy’
Solution
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’


Read More: