Answers Database


V2.1i COREGEN, MTI: "Error: Unknown identifier 'xilinxcorelib"'"when compiling Coregen VHDL Baseblox in MTI


Record #6300

Product Family: Software

Product Line: Model Technology

Product Part: MTI V-System

Problem Title:
V2.1i COREGEN, MTI: "Error: Unknown identifier 'xilinxcorelib"'"when compiling Coregen VHDL Baseblox in MTI



Problem Description:
Urgency: standard

General Description:
This message has been observed when compiling the COREGEN VHDL
Baseblox models in MTI. MTI for workstations appears to be case-sensitive when it interprets library names in the VHDL models, and there is a problem because get_models creates a library name called "XilinxCoreLib", while Coregen writes out the library references for the Baseblox models as "xilinxcorelib".


Solution 1:

For compilation to succeed, you must follow the instructions in the CORE Generator User Guide and define a library called "xiliinxcorelib", then map all references to "xilinxcorelib" in the models to the fully qualified path to your locally compiled xilinxcorelib library. Note that the "xilinxcorelib" directory reference is case- sensitive:

    vlib xilinxcorelib
    vmap xilinxcorelib /home/projects/proj1/xilinxcorelib



Solution 2:

The same error may be seen if you are missing the following declaration
in your VHDL file:

     library XilinxCoreLib;

This must be declared before the VHDL configuration declaration.




End of Record #6300 - Last Modified: 02/04/00 16:11

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!