Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


M1.3(vhdlan): Common issues/solutions re-compiling the M1.3/M1.4 XSI simulation libraries


Record #2311

Product Family:  Software

Product Line:  Merged Core

Problem Title:
M1.3(vhdlan): Common issues/solutions re-compiling the M1.3/M1.4 XSI
simulation libraries



Problem Description:
keywords: encrypted, IEEE, non-ascii, VSS,vhdlan, simulation,
simprims,logiblox,ftgs

urgency: standard

general description:

When M1.3/M1.4 XSI is installed, if the version of Synopsys
is newer than v3.4b, the M1.3/M1.4 XSI simulation libriaries must
be re-compiled before using them.  In the Synopsys toolset,
M1.3 simulation libraries must be recompiled with the current
version of Synopsys in use.

(If the version of Synopsys used with M1.3/M1.4 is 3.4b, then
the M1.3/M1.4 software just has to be installed.  No
re-compilation of the XSI XDW and XSI simulation libaries
is needed.)

During recompilation of the M1.3/M1.4 simulation libraries with a version of
Synopsys newer than v3.4b, the user may see the following
messages:

Warning: Can't read link_library file 'your_library.db' (UID-3)

and/or:

Error detected in non-ASCII(possibly encrypted) file

and/or something similar to:

    Error compiling file : ../../lib/simprims/X_XOR6__X_XOR6_V.c, Reverting to
    Interpreted code for design unit : X_XOR6_V.
Warning: vhdlan,1500 /xilinx/vhdl/src/simprims/simprim_VITAL.vhd(6392):







Solution 1:

If the only message you see, while running
analyze.csh and/or any of the .dc scripts in
$XILINX/synopsys/libraries/sim/src, is:



Warning: Can't read link_library file 'your_library.db' (UID-3)

the re-compilation of the libraries was successuful.



Solution 2:

While running the analyze.csh and/or any of the .dc
scripts in $XILINX/synopsys/libraries/sim/src, if
the following error is seen:


Error detected in non-ASCII(possibly encrypted) file

The re-compilation of the simulation libraries has failed.




Please check all of the following:

Make sure that the $XILINX environment variable is
set to the top of the M1.3 software tree.

Make sure that the $SYNOPSYS environment variable is
set to the top of the Synopsys software tree.

Use only Synopsys v3.4b or later.

The user executing the analyze.csh or .dc scripts
in $XILINX/synopsys/libraries/sim/src must have
write permissions for $XILINX/synopsys/libraries/sim/lib.

Delete the contents of the sub-directories in
$XILINX/synopsys/libraries/sim/lib; Delete the contents
of(including sub-directories) in:

$XILINX/synopsys/libraries/sim/lib/logiblox
$XILINX/synopsys/libraries/sim/lib/simprims
$XILINX/synopsys/libraries/sim/lib/xc3000a/ftgs
$XILINX/synopsys/libraries/sim/lib/xc4000e/ftgs
$XILINX/synopsys/libraries/sim/lib/xc5200/ftgs
$XILINX/synopsys/libraries/sim/lib/xc7000/ftgs
$XILINX/synopsys/libraries/sim/lib/xc9000/ftgs

After checking all of the above, attempt to re-run the
analyze.csh, and/or .dc scripts in
$XILINX/synopsys/libraies/sim/src



Solution 3:

While running the analyze.csh in
$XILINX/synopsys/libraries/sim/src/logiblox
or in
$XILINX/synopsys/libraries/sim/src/simprims, the
following message appears:



    Error compiling file : ../../lib/simprims/X_XOR6__X_XOR6_V.c, Reverting to
    Interpreted code for design unit : X_XOR6_V.
Warning: vhdlan,1500 /xilinx/vhdl/src/simprims/simprim_VITAL.vhd(6392):


The interpretive re-compilation of the M1.3
XSI logiblox/simprim libraries has succeeded, but
the C-compiler based re-compilation has failed.

This typically happens on Solaris platforms but not
on SunOS 4.x.  Solaris platforms do not come with
the cc C-compiler which is compatible with vhdlan -c.
The cc C-compiler for Solaris must be purchased from
Sun.  SunOS, on the other hand, does come with the
cc C-compiler which is usually compatible with vhdlan -c.

When this message happens, the user can opt to use the
libraries that were created.  If the user is simulating
a 'small' design, use of the C-compiled or interpretive
based logiblox/simprim libraries will probably not make
a big difference in simulation time.  On the other hand,
if the user has a 'large' design to simulate, it is
highly recommended that the user get the vhdlan -c option
to work.

Please check your Synopsys on-line docs(Iview), or
contact Synopsys (http://www.synopsys.comInternet Link) for information
on C-compilers compatible with vhdlan -c.



Solution 4:

If you are using Synopsys 3.4b, or later,  with Solaris than the C-compiler
that should be used with vhdlan -c should be v3.0.1 of the cc C-compiler
with the Solaris OS.

What follows is an example of setting up the cc C-compiler v3.0.1
on the Solaris OS.  Please consult Synopsys for compatible C-compilers
that can be used with vhdlan -c:

set path =(. /path/to/cc/compiler/bin $path)
setenv MANPATH /path/to/cc/compiler/docs/man:/usr/man:${MANPATH}
setenv LD_LIBRARY_PATH /path/to/cc/compiler/lib:${OPENWINHOME}/lib:${LD_LIBRARY_
PATH}
setenv LM_LICENSE_FILE port@hostname



After making sure the above settins are correct, in the .synopsys_vss.setup
file in the $XILINX/synopsys/libraries/sim/src/logiblox and
$XILINX/synopsys/libraries/sim/src/simprims diretories add the
following line to the .synopsys_vss.setup file:

CS_CSPATH: /path/to/the/cc/compiler/bin/file




End of Record #2311

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

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents