The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 21st, 2024, 6:30am
Pages: 1 2 3 
Send Topic Print
can't plot any data (Read 28069 times)
oermens
Community Member
***
Offline



Posts: 86

Re: can't plot any data
Reply #15 - May 09th, 2009, 11:09am
 
pancho_hideboo wrote on May 9th, 2009, 9:49am:
oermens wrote on May 9th, 2009, 7:12am:
I don't know which document you refered to in a previous post
"SpectreRF user manual".


I just reviewed this document regarding simulating low noise amplifiers, if you follow the instructions carefully you should not encounter any errors. Disregard my previous comment about CDS_rfExamples, I did not know its purpose before. Your .cshrc should include the following

setenv CDS_rfExamples ‘cds_root icms‘
setenv CDS_Netlisting_Mode "Analog"
setenv MMSIMHOME <path_to_MMSIM_simulators>
setenv CDSHOME <path_to_IC_simulators>
setenv path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin $CDSHOME/tools/java $CDSHOME/tools/java/bin $path )

Assume you are in a fresh directory for running icfb and you didn't modify any cds.lib or copy the rfExamples folder. Type these commands in the folder

cp -rf $CDSHOME/tools/dfII/samples/artist/rfExamples ./
echo DEFINE my_rfExamples $PWD/rfExamples >> cds.lib

After launching icfb and loading lnaSimple schematic and invoking ADE, go to Setup>Simulator/directory/host and set the project directory to a location which you have write permission for. If holding onto results is not important, you can use /tmp. Go to Setup>Model Libraries and add <CDSHOME>/tools/dfII/samples/artist/models/spectre/rfModels.scs as the model file. <CDSHOME> is replaced with the value of $CDSHOME. Proceed with simulation as specified in users guide.
Back to top
 
 
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #16 - May 9th, 2009, 4:53pm
 
many thanks to oermens and pancho_hideboo.

How to find the character  ‘
I tried both the key left to "number 1" and the key left to "enter".




### rfexamples #####
setenv CDS_rfExamples 'cds_root icms'
setenv MMSIMHOME /usr/eda/cds/MMSIM60/
setenv CDSHOME /opt/eda/cds/IC5141_USR4
setenv path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin $CDSHOME/tools/jre $CDSHOME/tools/jre/
bin $path )

under the folder: i can only find jre instead of java, which is most likely.
Back to top
 
 
View Profile   IP Logged
oermens
Community Member
***
Offline



Posts: 86

Re: can't plot any data
Reply #17 - May 9th, 2009, 5:45pm
 
it is the one next to number 1... the button is ` and when shift is pressed it is ~
Back to top
 
 
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #18 - May 9th, 2009, 8:34pm
 
I tried setenv as below:

setenv CDS_rfExamples  `cds_root icms`
setenv MMSIMHOME /usr/eda/cds/MMSIM60/
setenv CDSHOME /opt/eda/cds/IC5141_USR4
setenv path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin $CDS
HOME/tools/jre $CDSHOME/tools/jre/bin $path )

and got the message:
cds_root: Command not found.
Badly placed ()'s.

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



Posts: 86

Re: can't plot any data
Reply #19 - May 9th, 2009, 9:16pm
 
apprentice wrote on May 9th, 2009, 8:34pm:
I tried setenv as below:

setenv CDS_rfExamples  `cds_root icms`

and got the message:
cds_root: Command not found.
Badly placed ()'s.



I see the problem. You have to move that line in .cshrc to be after the path definition. Otherwise cds_root will not be found because it is located in $MMSIMHOME/tools/bin which is not in the path when cds_root is initially called. See below:

setenv CDS_Netlisting_Mode "Analog"
setenv MMSIMHOME /usr/eda/cds/MMSIM60/
setenv CDSHOME /opt/eda/cds/IC5141_USR4
setenv path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin $CDSHOME/tools/java $CDSHOME/tools/java/bin $path )
setenv CDS_rfExamples ‘cds_root icms‘

Aside: MMSIM60 and IC5141USR4 are very old. Update your tools if possible.
Back to top
 
 
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #20 - May 9th, 2009, 10:13pm
 
after changing order, still have a problem. Maybe my old system has a big problem.

.....
#### rfexamples #####
setenv MMSIMHOME /usr/eda/cds/MMSIM60/
setenv CDSHOME /opt/eda/cds/IC5141_USR4
setenv path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin $C
DSHOME/tools/jre $CDSHOME/tools/jre/bin $path )
setenv CDS_rfExamples `cds_root icms`


> source .cshrc

OS      = SUNOS
ICVer   = IC5141_USR4
MMSim   = MMSIM60
Calibre = cal_2005.1_10.20
Badly placed ()'s.


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



Posts: 86

Re: can't plot any data
Reply #21 - May 10th, 2009, 6:15am
 
apprentice wrote on May 9th, 2009, 10:13pm:
after changing order, still have a problem. Maybe my old system has a big problem.

.....
#### rfexamples #####
setenv MMSIMHOME /usr/eda/cds/MMSIM60/
setenv CDSHOME /opt/eda/cds/IC5141_USR4
setenv path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin $C
DSHOME/tools/jre $CDSHOME/tools/jre/bin $path )
setenv CDS_rfExamples `cds_root icms`


My mistake. The line for path should be set path = not setenv path =.

apprentice wrote on May 9th, 2009, 10:13pm:
> source .cshrc


What shell are you using? Why do you need to source .cshrc if its in your home folder? If you are using another shell than (t)csh why not just write the script for that shell? Does your network admin have any idea how to set up unix environment for cadence?
Back to top
 
 
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #22 - May 10th, 2009, 8:21pm
 
Quote:
What shell are you using? Why do you need to source .cshrc if its in your home folder? If you are using another shell than (t)csh why not just write the script for that shell? Does your network admin have any idea how to set up unix environment for cadence?


SHELL=/bin/tcsh

no syntax error with "  setenv CDS_rfExamples `cds_root icms` "

but env command show CDS_rfExamples is not there.

then I tried " > setenv CDS_rfExamples `cds_root icms`" .
then env show it is defined.



run the simulation again and find the following error when i select results.

Back to top
 

select_results.jpg
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #23 - May 10th, 2009, 8:21pm
 
error message 1
Back to top
 

select_results_error1.jpg
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #24 - May 10th, 2009, 8:22pm
 
error message 2


may be I have to try a brand new installation with latest version.
Back to top
 

select_results_error2.jpg
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #25 - May 10th, 2009, 8:29pm
 
is it normal to see Enable in grey color?
Back to top
 

model_lib_enable.jpg
View Profile   IP Logged
oermens
Community Member
***
Offline



Posts: 86

Re: can't plot any data
Reply #26 - May 11th, 2009, 5:00am
 
apprentice wrote on May 10th, 2009, 8:29pm:
is it normal to see Enable in grey color?


Yes because it is already enabled. Go to Tools>Results Browser, then File>Open Results and browse to /home/cdssim/simulation/lnaSimple/spectre/schematic/psf and see if results are there. Post spectre.out and input.scs to see where the problem exists.
Back to top
 
« Last Edit: May 11th, 2009, 7:24am by oermens »  
View Profile   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #27 - May 11th, 2009, 12:47pm
 
so far one problem is that spectre.out can not be generated after simulation.
Back to top
 
 
View Profile   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: can't plot any data
Reply #28 - May 12th, 2009, 9:05pm
 
apprentice wrote on May 11th, 2009, 12:47pm:
so far one problem is that spectre.out can not be generated after simulation.
Have you ever run Cadence Spectre correctly using other circuits than rfExample ?
Do you surely have SpectreRF's License or enough number of Tokens for MMSIM ?

Try to run Spectre from unix command line without using ADE.
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
apprentice
Community Member
***
Offline



Posts: 32

Re: can't plot any data
Reply #29 - May 12th, 2009, 9:57pm
 
We should have SpectreRF license in our floating licenses.
How to check it?
 

I only used "option - > license " check schematic users. It seems licenses are automatically checked out when I open schematic and ADE.

Will double check after our IT finishing re-installation.

I also tried a DC analysis which shows similar problem - no output.

Back to top
 
 
View Profile   IP Logged
Pages: 1 2 3 
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.