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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor spolasa
Visitor
327 Views
Registered: ‎01-21-2019

Compiling vivado simulation libraries with Xcelium

Jump to solution

Hello , 

 

When I tried to compile simulation libraries on Xcelium. It gives the errors below, can someone help how to fix it. Using Vivado 2018.2

==============================================================================
Library 'unisim' compilation error(s)
==============================================================================
xmvhdl(64): 18.09-s001: (c) Copyright 1995-2018 Cadence Design Systems, Inc.
xmvhdl_p: *F,NOLSTD: logical library name STD must be mapped to a design library [11.2].

==============================================================================
Library 'unimacro' compilation error(s)
==============================================================================
xmvhdl(64): 18.09-s001: (c) Copyright 1995-2018 Cadence Design Systems, Inc.
xmvhdl_p: *F,NOLSTD: logical library name STD must be mapped to a design library [11.2].

 

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
214 Views
Registered: ‎09-15-2016

Re: Compiling vivado simulation libraries with Xcelium

Jump to solution

Hi @spolasa,

Can you please try compiling the libraries in another directory after properly setting the environment variables ? Have you tried adding the include line in cds.lib file. can you please share the compile_simlib.log file to check.

Which version of IES are you using with which Vivado? Please refer the below Answer Record for supported third party simulators with Vivado:

https://www.xilinx.com/support/answers/68324.html

 

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
4 Replies
Moderator
Moderator
275 Views
Registered: ‎09-15-2016

Re: Compiling vivado simulation libraries with Xcelium

Jump to solution

Hi @spolasa,

The error is indicating a missing of STD library mapping.
xmvhdl_p/NOLSTD =
In order for xmvhdl_p to operate, the host environment must have a
design library called STD, and this library must contain the packages
STANDARD and TEXTIO. 

Do you see the file cds.lib generated in the compiled libraries location? This file should include the below statement at the beginning.

Ex: INCLUDE /tools/dist/xlm/18.03.005/tools.lnx86/inca/files/cds.lib

Also, in this location /tools/dist/xlm/18.03.005/tools.lnx86/inca/files you should be seeing the cds.lib file and it includes cdsvhdl.lib in the same directory. cdsvhdl.lib contains STD library definition.

DEFINE std ./STD

It seems like the tool is facing issues finding this library. Can you please make sure that you have set the environment variables  correctly ($PATH, $CDS_INST_DIR etc) and you have enough read write permissions to the Xcelium installation directory.

e.g.

tcsh

setenv CDS_INST_DIR /tools/dist/xlm/18.03.005

setenv PATH $CDS_INST_DIR/tools/bin:$PATH

 

bash

export CDS_INST_DIR=/tools/dist/xlm/18.03.005

export PATH $CDS_INST_DIR=/tools/bin:$PATH

 

 

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor spolasa
Visitor
237 Views
Registered: ‎01-21-2019

Re: Compiling vivado simulation libraries with Xcelium

Jump to solution

Hi Sravanthi, 

I have set the CDS_INST_DIR and PATH variables and also noticed that tools.lnx86/inca/files/cds.lib includes cdsvhdl.lib 

But I dont see INCLUDE /tools/dist/xlm/18.03.005/tools.lnx86/inca/files/cds.lib in cds.lib generated in the compiled libraries location. I assume this is auto generated file from the tool. Should we add it manually?

 

 

0 Kudos
Moderator
Moderator
215 Views
Registered: ‎09-15-2016

Re: Compiling vivado simulation libraries with Xcelium

Jump to solution

Hi @spolasa,

Can you please try compiling the libraries in another directory after properly setting the environment variables ? Have you tried adding the include line in cds.lib file. can you please share the compile_simlib.log file to check.

Which version of IES are you using with which Vivado? Please refer the below Answer Record for supported third party simulators with Vivado:

https://www.xilinx.com/support/answers/68324.html

 

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Visitor spolasa
Visitor
193 Views
Registered: ‎01-21-2019

Re: Compiling vivado simulation libraries with Xcelium

Jump to solution

Thanks Sravanthi , it worked after compiling in a different directory

0 Kudos