Forum Discussion
MEIYAN_L_Intel
Frequent Contributor
6 years agoHi,
For the first question, I found that Platform Designer does not support VHDL package. As a workaround you can add the VHDL package as part of your fileset and you can simply copy your file over to the generation directory. The command usage would be something similar to this:
add_fileset_file <output_filepath> OTHER PATH <input_filepath>
This way your custom component can directly access the VHDL package and Platform Designer will act as a passthrough for those files.
For the second question, i found that the package can be available inside of the VHDL files by using "work" library . This is the pointer to the working directory.
The command as below:
LIBRARY work;
USE work.your_package_name.all;
Thanks.