The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 17th, 2024, 10:51am
Pages: 1
Send Topic Print
AMS designer: ncelab error (Read 9953 times)
couragebo
Junior Member
**
Offline



Posts: 18

AMS designer: ncelab error
Dec 01st, 2009, 7:08am
 
hi, everyone,

I am trying to simulate the VerilogAMS models for the Phase-locked loop provided in this website (dg-vamsA-4, listing02-09) .

First I compile the files using ./compile.sh provided in the directory. No problem.
Then when I run "run-me-with-gui", an error occurs, showing there is a problem during "ncelab" (see below). I don't know what is "Spectre Simulation Image Generation library", and why they need this.

Some other information:
I created a worklib subdirectory, and there is a .pak file . For hdl.var and cds.lib file, I just change the $AMSHOME to my Cadence install directory.

Anyone have an idea?
Thanks in advance
Bo

Code:
ncvlog: 08.10-p002: (c) Copyright 1995-2008 Cadence Design Systems, Inc.
ncvlog: 08.10-p002: (c) Copyright 1995-2008 Cadence Design Systems, Inc.
ncelab: 08.10-p002: (c) Copyright 1995-2008 Cadence Design Systems, Inc.
	  Elaborating the design hierarchy:
ncelab: *N,SFEDPL: Deploying new SFE in analog engine.
ncelab: *F,INTERR: INTERNAL ERROR
-----------------------------------------------------------------
The tool has encountered an unexpected condition and must exit.
  TOOL: ncelab  08.10-p002
MESSAGE: Failed to open Spectre Simulation Image Generation library with error:
libgfortran.so.1: cannot open shared object file:
No such file or directory or file is not valid ELFCLASS32 library.
 

Back to top
 
 
View Profile   IP Logged
Riad KACED
Community Member
***
Offline



Posts: 93
Swindon, UK
Re: AMS designer: ncelab error
Reply #1 - Dec 1st, 2009, 8:01am
 
Hi Couragebo,

There is something wrong in your settings as far as I can read:
Quote:
I just change the $AMSHOME to my Cadence install directory


No, this is wrong, the AMSHOME must be pointing to the IUS install directory rather. Besides, you do not need to miss about any of the hdl.var, cds.lib files. They should be working fine as provided.

To get yourself sorted out you need to:

1. Start a new Unix terminal
2. Delete your run directory and start from a new unziped/untared archive. Leave all the files as provided
3. Acquire the IC stream, i.e. where the cadence DFII is installed
4. Acquire the IUS stream, i.e. where ncvlog, ncelab .. are installed.
5. Updated your LD_LIBRARY_PATH to get the $AMSHOME/tools/lib added.
6. run the run-me-with-gui script.

All should be fine if you go carefully through the above steps.
Please give it a try and let me know.

BTW, are you a RHEL or a SUSE user ?

Cheers,
Riad.
Back to top
 
 

Riad KACED
PDK, EDA Support Engineer.
View Profile   IP Logged
couragebo
Junior Member
**
Offline



Posts: 18

Re: AMS designer: ncelab error
Reply #2 - Dec 1st, 2009, 9:30am
 
Hello, Riad,

I just came back to update my post, because I realized that I was wrong  about $AMSHOME. And you were already here and found this bug! Thanks for the quick answer. Wink  You are definitely right.

In fact, in my machine, AMSHOME is not defined (when I use it in cds.lib or hdl.var, an error tells me that AMSHOME is not found), and coincidentally I found the ../tools/inca/files/.. in the Cadence installation directory, that's why I changed AMSHOME.

Anyway, thank you very much for the precious suggestions, i will try them and feedback here soon.  
Btw, I am using RHEL.

Bo
Back to top
 
 
View Profile   IP Logged
couragebo
Junior Member
**
Offline



Posts: 18

Re: AMS designer: ncelab error
Reply #3 - Dec 2nd, 2009, 2:22am
 
It works now!! I did what Riad told and everything runs pretty well!

My problem was that $AMSHOME and $LD_LIBRARY_PATH are not well defined, as pointed by Riad.

Thanks Riad for the great help!

Cheers
Bo

Back to top
 
 
View Profile   IP Logged
mustangyhz
Community Member
***
Offline



Posts: 37
china
Re: AMS designer: ncelab error
Reply #4 - Nov 14th, 2010, 11:04pm
 
hi, everyone,

I am trying to simulate the VerilogAMS models for the inverter provided in this website ( dg-vams4-1, listing01) .

First I compile and elabrate the files with-gui. No problem.
Then when I run it with-gui, an error occurs, showing there is a problem (see below).
*W,SST2DC: Unable to load SST2 communication library: /usr/ius/tools/lib/libdcapi.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS32 library.


Some other information:

I just change the $AMSHOME to my IUS8.20 install directory.

Anyone have an idea?
Thanks in advance
Back to top
 
 

mustangyhz
View Profile mustangyhz 3241568   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: AMS designer: ncelab error
Reply #5 - Nov 15th, 2010, 2:31pm
 
You posted the same question here:
http://www.designers-guide.org/Forum/YaBB.pl?num=1289723206/0#0

See my response there.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
mustangyhz
Community Member
***
Offline



Posts: 37
china
Re: AMS designer: ncelab error
Reply #6 - Nov 15th, 2010, 5:21pm
 
thank geoffrey_coram for you reply.
for me:
cadence install path:      /usr/cadence
ius8.2 install path:      /usr/ius

I found the file "/usr/ius/tools/lib/libdcapi.so" with a arrow.  what is libdcapi.so?
[root@mml 64bit]# cd /usr/ius/tools/lib
[root@mml lib]# find . -name libdcapi.so
./64bit/libdcapi.so
./libdcapi.so

/usr/pdk/listing01/cda.lib
# cds.lib
INCLUDE /usr/ius/tools/inca/files/cds.lib
DEFINE  worklib /usr/pdk/listing01/work

can I make friends with you?
MSN: minglin_ma@hotmail.com
Back to top
 
 

mustangyhz
View Profile mustangyhz 3241568   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.