How to set corner in cdsinit

J

Jan Mikkelsen

Guest
Hi

I define model path and specific model files in the cdsinit file. I
would also like to add the specific corner (section) in the same manner.
I have tried to search for a solution but have come up short. Any advise?

This is how I do the model definition now .. and where I would like to
add the section:

asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

Best,

Jan
 
I did this this way

t_techDir = getShellEnvVar( "TECH_DIR" )
t_modelLibraries = strcat(
t_techDir "/spectre/models/myModelLib1.scs;tt "
t_techDir "/spectre/models/myModelLib2.scs;tt "
)

envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )

Bernd

Jan Mikkelsen wrote:
Hi

I define model path and specific model files in the cdsinit file. I
would also like to add the specific corner (section) in the same manner.
I have tried to search for a solution but have come up short. Any advise?

This is how I do the model definition now .. and where I would like to
add the section:

asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

Best,

Jan
 
Bernd Fischer > wrote:
I did this this way

t_techDir = getShellEnvVar( "TECH_DIR" )
t_modelLibraries = strcat(
t_techDir "/spectre/models/myModelLib1.scs;tt "
t_techDir "/spectre/models/myModelLib2.scs;tt "
)

envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )
Any idea how to put in a "disabled" section. I would like to put an
alternate library file that would not normally be used, but could be
enabled if needed.



-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
 
On Mon, 20 Dec 2004 19:12:23 -0500, Richard Griffith <rgriffith@istop.com> wrote:

Any idea how to put in a "disabled" section. I would like to put an
alternate library file that would not normally be used, but could be
enabled if needed.
It can't be done currently. As a result of PCR 682957, this will be available in IC5251 by doing:

spectre.envOpts modelFiles string "fileName1;section #;fileName2;section fileName3;section"

Regards,

Andrew.
 
Hi Bernd

Didnt know that the ; operator did that. Now a simple
asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles
'("modelfile.scs;tt") ) gives me what I want.

Thanks !

/Jan

Bernd Fischer > wrote:
I did this this way

t_techDir = getShellEnvVar( "TECH_DIR" )
t_modelLibraries = strcat(
t_techDir "/spectre/models/myModelLib1.scs;tt "
t_techDir "/spectre/models/myModelLib2.scs;tt "
)

envSetVal( "spectre.envOpts" "modelFiles" 'string t_modelLibraries )

Bernd

Jan Mikkelsen wrote:

Hi

I define model path and specific model files in the cdsinit file. I
would also like to add the specific corner (section) in the same
manner. I have tried to search for a solution but have come up short.
Any advise?

This is how I do the model definition now .. and where I would like to
add the section:

asiSetEnvOptionVal( asiGetTool('spectre) 'modelFiles '("modelfile.scs") )

Best,

Jan
 

Welcome to EDABoard.com

Sponsor

Back
Top