P
Pratip Mukherjee
Guest
Hi,
Using QuartusII 3.0, I have a VHDL file with a package declaration. From a
VHDL file in a project I can see the declarations in the pacakage by using
use work.<package name>.all;
But from another VHDL file in the same project, the same 'use' line gives
the following error:
Error: VHDL Use Clause error at <filename>.vhd(<nn>: design library work
does not contain primary unit <package name>
The help system says that you do not need to have 'library work;' line, but
adding that does not help either.
In general, I am having lots of problem making package to work with
QuartusII. Even in the one file where the use declartion works, it was not
working at first, started working after deleting the file from the project
and re-inserting it. It is driving me crazy. Please help.
Thanks.
Using QuartusII 3.0, I have a VHDL file with a package declaration. From a
VHDL file in a project I can see the declarations in the pacakage by using
use work.<package name>.all;
But from another VHDL file in the same project, the same 'use' line gives
the following error:
Error: VHDL Use Clause error at <filename>.vhd(<nn>: design library work
does not contain primary unit <package name>
The help system says that you do not need to have 'library work;' line, but
adding that does not help either.
In general, I am having lots of problem making package to work with
QuartusII. Even in the one file where the use declartion works, it was not
working at first, started working after deleting the file from the project
and re-inserting it. It is driving me crazy. Please help.
Thanks.