D
Dipl.-Ing. Hanns-Walter S
Guest
Using the Xilinx Project Navigator, I created a project and added a package
definition (vhd-file) at the very top level. Inside this package I defined
some types of integers, signed and unsigned.
I included this package in all other vhd-files of the project with "use
my_package.all". All syntax checks were successfull.
Now the problem: When I automaticaly create a Schematic or a Testbench file,
the package definitions seem to be ignored: all ports defined in the
original vhd-file as integers (8bit) are now only std_logic. This can be
seen directly in the schematics drwaing, or the testbench grafical display
or the testbench vhd-file.
I get an error message saying:
"Compiling vhdl file ##_top.vhd in Library work.
ERROR:HDLParsers:3014 - ##_top.vhd Line 9. Library unit my_package is not
available in library work.
WARNING:HDLParsers:3465 - Library as no units. Did not save reference file
xst/work/hdllib.ref for it."
Does anyone know where the error is located?
--
__________________________________________
Dipl.-Ing. Hanns-Walter Schulz
TU Braunschweig
Institut fuer Luft- und Raumfahrtsysteme
Institute of Aerospace Systems
Hermann-Blenk-Str. 23 Tel.: ++49 531 391 9968
D-38108 Braunschweig Fax: ++49 531 391 9966
definition (vhd-file) at the very top level. Inside this package I defined
some types of integers, signed and unsigned.
I included this package in all other vhd-files of the project with "use
my_package.all". All syntax checks were successfull.
Now the problem: When I automaticaly create a Schematic or a Testbench file,
the package definitions seem to be ignored: all ports defined in the
original vhd-file as integers (8bit) are now only std_logic. This can be
seen directly in the schematics drwaing, or the testbench grafical display
or the testbench vhd-file.
I get an error message saying:
"Compiling vhdl file ##_top.vhd in Library work.
ERROR:HDLParsers:3014 - ##_top.vhd Line 9. Library unit my_package is not
available in library work.
WARNING:HDLParsers:3465 - Library as no units. Did not save reference file
xst/work/hdllib.ref for it."
Does anyone know where the error is located?
--
__________________________________________
Dipl.-Ing. Hanns-Walter Schulz
TU Braunschweig
Institut fuer Luft- und Raumfahrtsysteme
Institute of Aerospace Systems
Hermann-Blenk-Str. 23 Tel.: ++49 531 391 9968
D-38108 Braunschweig Fax: ++49 531 391 9966