...
...

IEEE Library Package Changed

Description

I was trying to compile a VHDL file that uses modules from a vendor library, xilinxcorelib:

Error: VLM_0009: <File Name>.vhd : Entity "<Entity Name>" must be recompiled because package "ieee.std_logic_1164" has changed.

How can I fix that?

Solution

In order to eliminate this error please follow the steps below:

  1. Open Library Manager: select View | Library Manager.

  2. Locate xilinxcorelib or any other library in trouble, right-click it and select Read/Write from the drop-down menu.

  3. Right-click again and select Refresh Library from the drop-down menu. Wait until the library is recompiled (see messages at the Console).

  4. Once the library is recompiled, right-click the name of the library again and select Read Only from the drop-down menu.

  5. Re-compile your source files.