IEEE Library Warnings

Description

Why do I receive warnings suggesting recompilation of packages from library IEEE?

Solution

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
Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.