Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JANUARY 2015 NOTICE:  Some of the information on these pages may be out of date. If in doubt, contact the ITSG at itcoecis-help@cornell.edu

Cadence

...

won't

...

start,

...

doesn't

...

exit

...

cleanly,

...

or

...

complains

...

about

...

lock

...

files

...

  1. Ensure

...

  1. you

...

  1. are

...

  1. not

...

  1. running

...

  1. Cadence

...

  1. anywhere

...

  1. (i.e.

...

  1. research

...

  1. server,

...

  1. linuxpool,

...

  1. amdpool,

...

  1. etc.)

...

  1. To

...

  1. find

...

  1. your

...

  1. cadence

...

  1. processes

...

  1. run

...

  1. the

...

  1. command
No Format


{noformat}
ps -elf | grep cadence | grep <login id>
{noformat}

For

...

example:

{
No Format
}
ps -elf | grep cadence | grep yyy33
{noformat}

You

...

can

...

omit

...

the

...

"

...

|

...

grep

...

cadence"

...

just

...

to

...

see

...

all

...

your

...

processes.

...

  1. You

...

  1. can

...

  1. kill

...

  1. all

...

  1. your

...

  1. processes,

...

  1. including

...

  1. your

...

  1. login

...

  1. shell,

...

  1. by

...

  1. typing
No Format


{noformat}
kill -9 -1
{noformat}

# Check your processes again per step 2 until you are sure your 
  1. Check your processes again per step 2 until you are sure your cadence processes are gone.
  2. You may need to clean up Cadence lock files.   You can run the command:
No Format
cadence processes are gone.
# You may need to clean up Cadence lock files. &nbsp; You can run the command:

{noformat}
find . -name .snapshot -prune -o -name *cdslck* -exec rm {} \;
{noformat}

If

...

you

...

still

...

have

...

issue,

...

repeat

...

this

...

process

...

and

...

try

...

the

...

following:

No Format


{noformat}
$ kill -9 -1
$ mkdir backup
$ mv .cds* Cadence* .cadence cds* CDS* .libmgr .libsel backup
$ exit

{noformat}

h2. When starting 

When starting Cadence,

...

an

...

error

...

indicates

...

that

...

cds.lib

...

can

...

not

...

be

...

read.

...

In

...

some

...

instances,

...

it

...

indicates

...

there

...

might

...

be

...

a

...

problem

...

with

...

cdsd

...

daemon.

...

Various

...

security

...

updates

...

affect

...

NFS

...

periodically.

...

You

...

need

...

to

...

set

...

the

...

environment

...

variable

...

DD_DONT_DO_OS_LOCKS

...

before

...

starting

...

cadence.

...

Example:

{
No Format
}prompt> setenv DD_DONT_DO_OS_LOCKS TRUE
prompt> icfb

Spectre Memory Errror

Spectre gives you Out of Memory Errors

No Format
{noformat}

h2. Spectre Memory Errror

Spectre gives you Out of Memory Errors

{noformat}
Warning from spectre during PNoise analysis `pnoise'.
WARNING (SPCRTRF-15142): The 'maxsidebands' parameter in analysis `pnoise' has the unusually small value of 5.
Using too small a value degrades accuracy because this parameter controls the amount of noise folding considered.
{noformat}

Using

...

the

...

operating-point

...

information

...

generated

...

by

...

PSS

...

analysis

...

`pss',

...

you

...

get:

No Format


{noformat}
Mem Used:    579124 kB (Memory Exhausted)
{noformat}

It

...

was

...

found

...

by

...

Xiao

...

Wang

...

that

...

if

...

you

...

pass

...

the

...

"-64"

...

command

...

line

...

switch

...

to

...

the

...

simulation,

...

the

...

problem

...

goes

...

away.

...

The

...

"-64"

...

command

...

line

...

switch

...

tells

...

Spectre

...

to

...

use

...

the

...

64

...

bit

...

version.

...

Setting

...

up

...

Cadence

...

Environment

...

(TCSH)

...

You

...

have

...

to

...

set

...

the

...

application

...

install

...

directory

...

environment

...

variables

...

for

...

the

...

tools

...

you

...

want

...

to

...

use.

...

Below

...

is

...

an

...

example

...

for

...

all

...

of

...

them:

No Format


{noformat}
#
# Path to application install directories
#
set CDSHOME  = /opt/cadence/ic
set ASSURAHOME = /opt/cadence/assura
set ANLSHOME = /opt/cadence/anls
set ASSURAHOME = /opt/cadence/assura
set CONFRMLHOME = /opt/cadence/confrml
set EMGRHOME = /opt/cadence/emgr
set ETHOME = /opt/cadence/et
set ETSHOME = /opt/cadence/ets
set EXTHOME = /opt/cadence/ext
set ICHOME = /opt/cadence/ic
set IFVHOME = /opt/cadence/ifv
set IUSHOME = /opt/cadence/ius
set MMSIMHOME = /opt/cadence/mmsim
set PACIFICHOME = /opt/cadence/pacific
set RCHOME = /opt/cadence/rc
set SOCHOME = /opt/cadence/soc
set SPBHOME = /opt/cadence/spb
set CTOSHOME = /opt/cadence/ctos
{noformat}

Then

...

you

...

set

...

paths

...

to

...

the

...

executables

...

for

...

each

...

of

...

the

...

apps,

...

for

...

example:

No Format


{noformat}
#
# Path to Cadence Executables
#
set dfiiPath = ($CDSHOME/tools/bin $CDSHOME/tools/dfII/bin)
set assuraPath = ($ASSURAHOME/tools/bin $ASSURAHOME/tools/dfII/bin)
set anlsPath = ( $ANLSHOME/tools/bin $ANLSHOME/tools/dfII/bin )
set confrmlPath = ( $CONFRMLHOME/tools/bin $CONFRMLHOME/tools/dfII/bin)
set emgrPath = ( $EMGRHOME/tools/bin $EMGRHOME/tools/dfII/bin)
set etPath = ( $ETHOME/tools/bin $ETHOME/tools/dfII/bin )
set etsPath = ( $ETSHOME/tools/bin $ETSHOME/tools/dfII/bin )
set extPath = ( $EXTHOME/tools/bin $EXTHOME/tools/dfII/bin )
set ifvPath = ( $IFVHOME/tools/bin $IFVHOME/tools/dfII/bin )
set iusPath = ( $IUSHOME/tools/bin $IUSHOME/tools/dfII/bin )
set mmsimPath = ( $MMSIMHOME/tools/bin $MMSIMHOME/tools/dfII/bin )
set pacificPath = ( $PACIFICHOME/tools/bin $PACIFICHOME/tools/dfII/bin )
set rcPath = ( $RCHOME/tools/bin $RCHOME/tools/dfII/bin )
set socPath = ( $SOCHOME/tools/bin $SOCHOME/tools/dfII/bin )
set spbPath = ( $SPBHOME/tools/bin SPBHOME/tools/dfII/bin )
set ctosPath = ( $CTOSHOME/tools/bin $CTOSHOME/tools/dfII/bin )
{noformat}

Then

...

you

...

have

...

to

...

update

...

your

...

actual

...

UNIX

...

path:

No Format


{noformat}
#
# Set Path
#

set path = ( $PATH \
$dfiiPath \
$assuraPath \
$anlsPath\
$confrmlPath\
$emgrPath\
$etPath\
$etsPath\
$extPath\
$iusPath\
$ifvPath\
$iusPath\
$mmsimPath\
$pacificPath\
$rcPath\
$socPath\
$spbPath \
$ctosPath )

{noformat}

Add

...

an

...

entry

...

to

...

point

...

to

...

the

...

licensing

...

information:

No Format


{noformat}
#
# Generic License File Setting
#
#setenv LM_LICENSE_FILE 5280@flexa.ece.cornell.edu,5280@flexa.ece.cornell.edu,5280@flexa.ece.cornell.edu:$LM_LICENSE_FIE

#
# Cadence Specific License File Setting
#
setenv CDS_LIC_FILE 5280@flex.ece.cornell.edu
{noformat}

Set

...

up

...

the

...

cadence

...

environment

...

variables

No Format


{noformat}
#
# Cadence Specific Environment Variables
#

setenv CADENCE_BASE /opt/cadence
setenv CDS_INST_DIR ${CADENCE_BASE}/ic
setenv CDS_INSTALL_DIR ${CDS_INST_DIR}/tools/dfII
setenv CLS_CDSD_COMPATIBILITY_LOCKING NO
setenv SPECTRE_DEFAULTS " \-E "
setenv CDS_Netlisting_Mode Analog
setenv CDS_DEFAULT_BROWSER firefox
setenv CDS_AUTO_64BIT ALL

#
# Other Cadence Environment Varibles
#
#CDS_LOG_PATH
#CDS_LOAD_ENV
#CDS_PROMPT_CKOUT
#CDS_AUTO_CKOUT
#CDS_PROMPT_CKIN
#CDS_AUTO_CKIN
#CDS_IBM_FULLDUMP


h2. 

Setting

...

up

...

Cadence

...

Environment

...

(BASH)

...

You

...

have

...

to

...

set

...

the

...

application

...

install

...

directory

...

environment

...

variables

...

for

...

the

...

tools

...

you

...

want

...

to

...

use.

...

Below

...

is

...

an

...

example

...

for

...

all

...

of

...

them:

No Format


{noformat}
\#
# Path to application install directories
\#
export CDSHOME=/opt/cadence/ic
export ASSURAHOME=/opt/cadence/assura
export ANLSHOME=/opt/cadence/anls
export ASSURAHOME=/opt/cadence/assura
export CONFRMLHOME=/opt/cadence/confrml
export EMGRHOME=/opt/cadence/emgr
export ETHOME=/opt/cadence/et
export ETSHOME=/opt/cadence/ets
export EXTHOME=/opt/cadence/ext
export ICHOME=/opt/cadence/ic
export IFVHOME=/opt/cadence/ifv
export IUSHOME=/opt/cadence/ius
export MMSIMHOME=/opt/cadence/mmsim
export PACIFICHOME=/opt/cadence/pacific
export RCHOME=/opt/cadence/rc
export SOCHOME=/opt/cadence/soc
export SPBHOME=/opt/cadence/spb
export CTOSHOME=/opt/cadence/ctos
{noformat}

Then

...

you

...

set

...

paths

...

to

...

the

...

executables

...

for

...

each

...

of

...

the

...

apps,

...

for

...

example:

No Format


{noformat}
\#
# Path to Cadence Executables
\#
export dfiiPath=$CDSHOME/tools/bin:$CDSHOME/tools/dfII/bin
export assuraPath=$ASSURAHOME/tools/bin:$ASSURAHOME/tools/dfIIassura/bin
export anlsPath=$ANLSHOME/tools/bin:$ANLSHOME/tools/dfII/bin
export confrmlPath=$CONFRMLHOME/tools/bin:$CONFRMLHOME/tools/dfII/bin
export emgrPath=$EMGRHOME/tools/bin:$EMGRHOME/tools/dfII/bin
export etPath=$ETHOME/tools/bin:$ETHOME/tools/dfII/bin
export etsPath=$ETSHOME/tools/bin:$ETSHOME/tools/dfII/bin
export extPath=$EXTHOME/tools/bin:$EXTHOME/tools/dfII/bin
export ifvPath=$IFVHOME/tools/bin:$IFVHOME/tools/dfII/bin
export iusPath=$IUSHOME/tools/bin:$IUSHOME/tools/dfII/bin
export mmsimPath=$MMSIMHOME/tools/bin:$MMSIMHOME/tools/dfII/bin
export pacificPath=$PACIFICHOME/tools/bin:$PACIFICHOME/tools/dfII/bin
export rcPath=$RCHOME/tools/bin:$RCHOME/tools/dfII/bin
export socPath=$SOCHOME/tools/bin:$SOCHOME/tools/dfII/bin
export spbPath=$SPBHOME/tools/bin SPBHOME/tools/dfII/bin
export ctosPath=$CTOSHOME/tools/bin:$CTOSHOME/tools/dfII/bin
{noformat}

Then

...

you

...

have

...

to

...

update

...

your

...

actual

...

UNIX

...

path:

No Format


{noformat}
\#
# Set Path
\#

export pathPATH=$PATH:$dfiiPath:$assuraPath:$anlsPath:$confrmlPath:$emgrPath:$etPath:$etsPath:$extPath:$iusPath:$ifvPath:$iusPath:$mmsimPath:$pacificPath:$rcPath:$socPath:$spbPath:$ctosPath

{noformat}

Add

...

an

...

entry

...

to

...

point

...

to

...

the

...

licensing

...

information:

No Format


{noformat}
\#
# Generic License File Setting
\#
\#export LM_LICENSE_FILE=5280@flex.ece.cornell.edu:$LM_LICENSE_FILE

\#
# Cadence Specific License File Setting
\#
export= CDS_LIC_FILE=5280@flex.ece.cornell.edu
{noformat}

Set

...

up

...

the

...

cadence

...

environment

...

variables

No Format


{noformat}
\#
# Cadence Specific Environment Variables
\#

export CADENCE_BASE:=/opt/cadence
export CDS_INST_DIR:${CADENCE_BASE}/ic
export CDS_INSTALL_DIR:=${CDS_INST_DIR}/tools/dfII
export CLS_CDSD_COMPATIBILITY_LOCKING:=NO
export SPECTRE_DEFAULTS:=": -E: "
export CDS_Netlisting_Mode:=Analog
export CDS_DEFAULT_BROWSER:=firefox
export CDS_AUTO_64BIT:=ALL


\#
# Other Cadence Environment Varibles
\#
\#CDS_LOG_PATH
\#CDS_LOAD_ENV
\#CDS_PROMPT_CKOUT
\#CDS_AUTO_CKOUT
\#CDS_PROMPT_CKIN
\#CDS_AUTO_CKIN
\#CDS_IBM_FULLDUMP
\#CDS_LOG_VERSION
\#CDS_SHM_ADDR
{noformat}
{noformat}
{noformat}
{noformat}