UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 20520

6.3 EDK, Compedklib, SimGen - NCSim issues the following error: "logical library name STD must be mapped to a design library"

Description

Keywords: XPS, cds.lib, cds.lib.bak, hdl.var, hdl.var.bak

Urgency: Standard

General Description:
In EDK 6.3 Service Pack 1, "compedklib" is incorrectly calling "compxlib" simulation library compilation wizard which generates a "cds.lib," "cds.lib.bak," "hdl.var," and "hdl.var.bak."

During simulation the following fatal error occurs in NCSim:

"logical library name STD must be mapped to a design library" because it cannot find "$CDS_INST_DIR\tools\inca\files\cds.lib"

Solution

The contents included in "cds.lib.bak" must been included at the top of the "cds.lib" file. Likewise, the contents of "hdl.var.bak" must be included at the top of the "hdl.var" file.

Currently, the files contain the following information:

cds.lib:

DEFINE unisims_ver "C:\EDK\compxlib\G.37\ncsim510.s12\unisims_ver"
DEFINE simprims_ver "C:\EDK\compxlib\G.37\ncsim510.s12\simprims_ver"
DEFINE uni9000_ver "C:\EDK\compxlib\G.37\ncsim510.s12\uni9000_ver"

cds.lib.bak:

INCLUDE $CDS_INST_DIR\tools\inca\files\cds.lib
DEFINE unisim "C:\EDK\compxlib\G.37\ncsim510.s12\unisim"
DEFINE simprim "C:\EDK\compxlib\G.37\ncsim510.s12\simprim"
DEFINE xilinxcorelib "C:\EDK\compxlib\G.37\ncsim510.s12\XilinxCoreLib"

hdl.var:

DEFINE VIEW_MAP ($VIEW_MAP, .v => v)
DEFINE LIB_MAP ($LIB_MAP, C:\EDK\compxlib\G.37\ncsim510.s12\unisims_ver => unisims_ver)
DEFINE LIB_MAP ($LIB_MAP, C:\EDK\compxlib\G.37\ncsim510.s12\simprims_ver => simprims_ver)
DEFINE LIB_MAP ($LIB_MAP, C:\EDK\compxlib\G.37\ncsim510.s12\uni9000_ver => uni9000_ver)

hdl.var.bak:

DEFINE UNISIM unisim
DEFINE SIMPRIM simprim
DEFINE XILINXCORELIB xilinxcorelib


The files must look like the following:

cds.lib:

INCLUDE $CDS_INST_DIR\tools\inca\files\cds.lib
DEFINE unisim "C:\EDK\compxlib\G.37\ncsim510.s12\unisim"
DEFINE simprim "C:\EDK\compxlib\G.37\ncsim510.s12\simprim"
DEFINE xilinxcorelib "C:\EDK\compxlib\G.37\ncsim510.s12\XilinxCoreLib"
DEFINE unisims_ver "C:\EDK\compxlib\G.37\ncsim510.s12\unisims_ver"
DEFINE simprims_ver "C:\EDK\compxlib\G.37\ncsim510.s12\simprims_ver"
DEFINE uni9000_ver "C:\EDK\compxlib\G.37\ncsim510.s12\uni9000_ver"

hdl.var:

DEFINE UNISIM unisim
DEFINE SIMPRIM simprim
DEFINE XILINXCORELIB xilinxcorelib
DEFINE VIEW_MAP ($VIEW_MAP, .v => v)
DEFINE LIB_MAP ($LIB_MAP, C:\EDK\compxlib\G.37\ncsim510.s12\unisims_ver => unisims_ver)
DEFINE LIB_MAP ($LIB_MAP, C:\EDK\compxlib\G.37\ncsim510.s12\simprims_ver => simprims_ver)
DEFINE LIB_MAP ($LIB_MAP, C:\EDK\compxlib\G.37\ncsim510.s12\uni9000_ver => uni9000_ver)
AR# 20520
Date Created 12/17/2004
Last Updated 04/12/2007
Status Archive
Type General Article