sora5563
Newbie level 5
im trying to run a package i'd created using quartus tools but when i run the compilation, an error with the following appear in the message box.
the following is the package header of simple full adder (fulladd_package.vhd):
LIBRARY ieee ;
USE ieee.std_logic_1164.all ;
PACKAGE fulladd_package IS
COMPONENT fulladd
PORT ( Cin, x, y : IN STD_LOGIC ;
s, Cout : OUT STD_LOGIC ) ;
END COMPONENT ;
END fulladd_package ;
Error information of package
Error: Top-level design entity "fulladd_package" is undefined
Error: Quartus II Analysis & Synthesis was unsuccessful. 1 error, 0 warnings
Error: Processing ended: Wed Dec 13 20:33:50 2006
The full adder is saved in different file called fulladd.vhd.
Is it i need to compile the package header first or the full adder first in this case.
What is primary unit? sorry, im new to this kind of hierarchy design.
Did someone can help me and list out the necessary steps in creating this working library?
help plz. any expert there?
[/img]
the following is the package header of simple full adder (fulladd_package.vhd):
LIBRARY ieee ;
USE ieee.std_logic_1164.all ;
PACKAGE fulladd_package IS
COMPONENT fulladd
PORT ( Cin, x, y : IN STD_LOGIC ;
s, Cout : OUT STD_LOGIC ) ;
END COMPONENT ;
END fulladd_package ;
Error information of package
Error: Top-level design entity "fulladd_package" is undefined
Error: Quartus II Analysis & Synthesis was unsuccessful. 1 error, 0 warnings
Error: Processing ended: Wed Dec 13 20:33:50 2006
The full adder is saved in different file called fulladd.vhd.
Is it i need to compile the package header first or the full adder first in this case.
What is primary unit? sorry, im new to this kind of hierarchy design.
Did someone can help me and list out the necessary steps in creating this working library?
help plz. any expert there?
[/img]