apprentice wrote on May 8th, 2009, 8:44pm:Thanks Oermens. Any potential solution/correction is welcome.
1 Do I need vi .cdsenv at the very beginning, i.e., before running icfb?
vi the .cdsenv to include the project directory - .../lnaSimple (which has the sub directory .../schematic) .
My current .cdsenv is a default one. no asimenv.startup as shown below:
2. in my case, the cellname is lnaSimple
You don't have to edit .cdsenv, you can set the project directory in ADE as I mentioned previously (Setup->Simulator/Directory/Host). In my case, I have all my results stored in /opt/simulation/ and when I run simulation using lnaSimple (for example), spectre will create the results folders in /opt/simulation/lnaSimple/... So you just have to specify the base directory of the simulation results.
Also are you setting your environment to append the .cdsenv file upon exit? you have alot of duplicate entries which can cause confusion when loading icfb. If asimenv.startup projectDir is not defined, spectre will use the default location which i believe is $PWD/simulation. You can refer to ../IC/doc/anasimhelp/anasimhelp.pdf for information about this and other analog environment variables that can be set in .cdsenv.
apprentice wrote on May 8th, 2009, 8:44pm:3. what I did is netlist and run and ADE show "ready" after 1 minute. I guess I run the simulation.
Firstly, what type of analysis have you set up? If your analysis pane is empty then no wonder you aren't getting results. Please attach your input.scs file from /simulation/lnaSimple/spectre/schematic/netlist folder. After hitting netlist and run, do you get warnings or errors in icfb? What is cadence doing during that one minute?
apprentice wrote on May 8th, 2009, 8:44pm:4. confused by spectrRF document (page 257-258 ver5.1.41 nov.2005)
setenv CDS_rfExamples 'cds_root icms' (i'm using icfb. shall i change icmst to icfb? Does "cds_root" depends on my installation?
cds_root will find the path to the argument. since icfb and icms are in the same folder (.../IC/tools/dfII/bin) it shouldn't matter. Also be sure to use ` and not ' around the command. rfExamples folder should be set in cds.lib not as an environment variable unless your cds.lib has something along the lines of DEFINE rfExamples $CDS_rfExamples. Simpler way is to add this line to cds.lib (some useful example directories)
#EXAMPLE LIBRARIES
DEFINE US_10ths $CDS_HOME/tools/dfII/samples/cdslib/sheets/US_10ths
DEFINE rfLib $CDS_HOME/tools/dfII/samples/artist/rfLib
DEFINE rfExamples $CDS_HOME/tools/dfII/samples/artist/rfExamples
DEFINE pllMMLib $CDS_HOME/tools/dfII/samples/artist/pllMMLib
DEFINE pllLib $CDS_HOME/tools/dfII/samples/artist/pllLib
DEFINE passiveLib $CDS_HOME/tools/dfII/samples/artist/passiveLib
DEFINE bmslib $CDS_HOME/tools/dfII/samples/artist/bmslib
DEFINE ahdlLib $CDS_HOME/tools/dfII/samples/artist/ahdlLib
DEFINE aExamples $CDS_HOME/tools/dfII/samples/artist/aExamples
DEFINE avTech $CDS_TOP_DIR/ASSURA/tools/assura/etc/avtech/avTech
DEFINE functional $CDS_HOME/tools/dfII/etc/cdslib/artist/functional
these variables, CDS_HOME and CDS_TOP_DIR are specific to my site, maybe your variables are different. CDS_HOME is the same as result of cds_root icfb. CDS_TOP_DIR is the directory where all your cadence tools are installed (i.e. CDS_HOME can also be CDS_TOP_DIR/IC and MMSIMHOME can be CDS_TOP_DIR/MMSIM, etc).
apprentice wrote on May 8th, 2009, 8:44pm:Shall I include the path to .cdsinit or .cshrc?
I tried in .cshrc with setenv PATH. but cause problem.
path = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin \ $CDSHOME/tools/bin $CDSHOME/tools/dfII/bin \ $CDSHOME/tools/java $CDSHOME/tools/java/bin $path )
in .cshrc, try:
setenv PATH $PATH:$MMSIMHOME/tools/bin:$MMSIMHOME/tools/dfII/bin:$CDSHOME/tools/bin:$CDSHOME
/tools/dfII/bin:$CDSHOME/tools/java:$CDSHOME/tools/java/bin
be sure to define MMSIMHOME and CDSHOME before defining PATH
apprentice wrote on May 8th, 2009, 8:44pm:I found no such directory like .../java. my installation shows ../jre.
really confused by the environment.
thanks a lot for some hints!
are you using .cshrc designed for the same version of IC that you are using?