02-22-2018 07:34 AM
I want to use synplify attributes such as syn_keep and syn_preserve for a Vivado 2017.4 project.
For that I'm calling the synplify library as follows:
library synplify; use synplify.attributes.all;
But I'm getting an error during compilation [Synth 8-4169] error in use clause: package 'attributes' not found in library 'synplify'
I checked in the installation directory of Vivado and I found a vhdl package synattr which is defining the attributes package of synplify library.
Do I miss something?
02-22-2018 08:29 AM
I think you need to add the file "synattr.vhd" to the project explicitly. I don't think Vivado is searching that directory and loading the package just based on the library declaration alone. This only works for IEEE packages, I think.
02-22-2018 09:26 AM