Altera_Forum
Honored Contributor
12 years agoCustom library in Altera
Hi all,
I have a custom library of components which I will be using on my projects on demand. I have put these components in a directory called elements. In each of the entities and packages in this directory I have put the directive -- synthesis library elements at the top of each file.I have also wrote a package that calls these entities as a component as well as some custom functions. I have called this Elements_Package In the VHDL units that will be using these entities I have used the directive library elements and the use clause use elements.elements_package.all. I have also included the path in the Tools-Options-Libraries-Global libraries. When running the synthesis tool I am getting this error "error (10481): vhdl use clause error at design.vhd: design library "elements" does not contain primary unit "elements_package"" and "error (10800): vhdl error at design.vhd(7): selected name in use clause is not an expanded name"
i am using quartus 11.0sp1
What am I doing wrong? Thanks, jozamm