.cdsinit

K

Kenichi OKADA

Guest
Hi,

I use as following setting with spectreS in my .cdsinit.

envSetVal("asimenv.startup" "simulator" 'string "spectre")
envSetVal("asimenv.startup" "projectDir" 'string "~/simulation/")
envSetVal("spectreS.envOpts" "modelPath" 'string "~/models/spectreS/cmos53/tm/")

However, it does not work with spectre.
How should I change it?

Thank you.

--
Kenichi Okada
Masu Laboratory,
Precision and Intelligence Laboratory,
Tokyo Institute of Technology
4259 Nagatsuta, Midori-ku, Yokohama, 226-8503, JAPAN
mailto:eek:kada@pi.titech.ac.jp
TEL: +81-45-924-5031 FAX: +81-45-924-5031
 
Okada-san,

What do you mean it doesn't work?

I wouldn't expect the modelPath to be used, since that is a spectreS setting,
and you have set the simulator to be spectre (not "spectreS").

It's not clear to me what your problem actually is...

Regards,

Andrew.

On Wed, 10 Dec 2003 17:39:04 +0900, Kenichi OKADA <okada@pi.titech.ac.jp> wrote:

Hi,

I use as following setting with spectreS in my .cdsinit.

envSetVal("asimenv.startup" "simulator" 'string "spectre")
envSetVal("asimenv.startup" "projectDir" 'string "~/simulation/")
envSetVal("spectreS.envOpts" "modelPath" 'string "~/models/spectreS/cmos53/tm/")

However, it does not work with spectre.
How should I change it?

Thank you.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
Hi,

I use the following within .cdsinit in cds446 and it works.
INST_DIR ist the environment variable of you designkit installation
directory where your models directory is located. You can set it from
..cshrc or from command line.

SpectreModelPath=strcat( getShellEnvVar( "INST_DIR") "/models/spectre")
modelsList = list(
list( strcat(SpectreModelPath "/bip.scs") "tm" )
list( strcat(SpectreModelPath "/bsim3v3.scs") "tm" )
list( strcat(SpectreModelPath "/cap.scs") "tm" )
list( strcat(SpectreModelPath "/dio.scs") "tm" )
list( strcat(SpectreModelPath "/res.scs") "tm" )
)
; Set default simulator
envSetVal("asimenv.startup" "simulator" 'string "spectre")

; Set spectre options
envSetVal("spectre.opts" "temp" 'string "27" )
envSetVal("spectre.opts" "tnom" 'string "27" )
envSetVal("spectre.opts" "scale" 'string "1.0" )
envSetVal("spectre.opts" "scalem" 'string "1.0" )
asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles modelsList )

Frank.

Kenichi OKADA schrieb:
Hi,

I use as following setting with spectreS in my .cdsinit.

envSetVal("asimenv.startup" "simulator" 'string "spectre")
envSetVal("asimenv.startup" "projectDir" 'string "~/simulation/")
envSetVal("spectreS.envOpts" "modelPath" 'string "~/models/spectreS/cmos53/tm/")

However, it does not work with spectre.
How should I change it?

Thank you.
 
Hi,

In the message <3FD74C71.6040504@NOSPAMweb.de>
Frank Nitsche <Nitsche.Frank@NOSPAMweb.de> wrote:

I use the following within .cdsinit in cds446 and it works.
INST_DIR ist the environment variable of you designkit installation
directory where your models directory is located. You can set it from
.cshrc or from command line.

SpectreModelPath=strcat( getShellEnvVar( "INST_DIR") "/models/spectre")
modelsList = list(
list( strcat(SpectreModelPath "/bip.scs") "tm" )
list( strcat(SpectreModelPath "/bsim3v3.scs") "tm" )
list( strcat(SpectreModelPath "/cap.scs") "tm" )
list( strcat(SpectreModelPath "/dio.scs") "tm" )
list( strcat(SpectreModelPath "/res.scs") "tm" )
)
; Set default simulator
envSetVal("asimenv.startup" "simulator" 'string "spectre")

; Set spectre options
envSetVal("spectre.opts" "temp" 'string "27" )
envSetVal("spectre.opts" "tnom" 'string "27" )
envSetVal("spectre.opts" "scale" 'string "1.0" )
envSetVal("spectre.opts" "scalem" 'string "1.0" )
asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles modelsList )
Thank you. It is something I want.

--
Kenichi Okada
Masu Laboratory,
Precision and Intelligence Laboratory,
Tokyo Institute of Technology
4259 Nagatsuta, Midori-ku, Yokohama, 226-8503, JAPAN
mailto:eek:kada@pi.titech.ac.jp
TEL: +81-45-924-5031 FAX: +81-45-924-5031
 

Welcome to EDABoard.com

Sponsor

Back
Top