Why do I receive warnings suggesting recompilation of packages from library IEEE?
A sample compiler output with such warnings is shown below (the names of packages are marked with boldface):
# Warning: VLM_0040: ppc_registers_sim.vhd : (0, 0): Package `vital_timing' should be recompiled because library `ieee', where this package is stored, has been aliased after its compilation.
# Warning: VLM_0040: ppc_registers_sim.vhd : (0, 0): Package `std_logic_1164' should be recompiled because library `ieee', where this package is stored, has been aliased after its compilation.
The warnings indicate that library IEEE was unmapped and re-mapped before compilation. This could be done with the following commands:
amap -del ieee amap -global ieee $aldec\vlib\ieee\ieee.lib
(Library mapping and un-mapping can also be controlled with the graphical interface in the Library Manager.)
To get rid of the warnings, you can open the library.cfg file from the Vlib subdirectory in the Active-HDL installation directory and remove the timestamp in the line where library IEEE is mapped. The timestamp is written as a decimal figure, for example:
ieee = "C:\Program Files\Active-HDL\Vlib\ieee\ieee.lib" 1109245633164
NOTE: You should be very careful when editing the library.cfg file.
A solution preferred over editing the library.cfg file, is using the (undocumented) -t0 switch for the amap command. The switch should be used when library ieee is mapped (or re-mapped), for example:
amap -t0 -global ieee $aldec\vlib\ieee\ieee.lib
The -t0 switch should also be used when the default ieee library with VITAL2000 packages is changed to a VITAL95 compliant library, for example:
amap -del ieee amap -t0 -global ieee $aldec\vlib\vital95\ieee.lib