The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> How to set Default Model File with Section in Cadence ADE ?
https://designers-guide.org/forum/YaBB.pl?num=1258726302

Message started by pancho_hideboo on Nov 20th, 2009, 6:11am

Title: How to set Default Model File with Section in Cadence ADE ?
Post by pancho_hideboo on Nov 20th, 2009, 6:11am

Any expert of Cadence tools.
I have question about setting of default "Model Library File"" with "Section" in Cadence ADE.

I can set default "Model Library File"" without "Section" in Cadence ADE by writing followings in ".cdsinit".

Quote:
sim_engine_list = '( "GoldenGate", "ADSsim", "spectre" )

foreach( sim_engine, sim_engine_list
  envSetVal( strcat( sim_engine, ".envOpts" ), "includePath", 'string "/aho/boke/kasu/nasu" )
  envSetVal( strcat( sim_engine, ".envOpts" ), "modelFiles", 'string "aaa.scs bbb.scs ccc.scs" )
)

However I can not set "Section".

How can I set default "Model Library File" with "Section" in Cadence ADE ?

Any expert of Cadence tools, teach me.

Title: Re: How to set Default Model File with Section in Cadence ADE ?
Post by Riad KACED on Nov 20th, 2009, 6:31am

Hi Pancho,

Try the following:


Code:
foreach( sim_engine, sim_engine_list
 asiSetEnvOptionVal(asiGetTool(sim_engine) "modelFiles"
   list(
     list("aaa.scs" "MY_AAA_SECTION_NAME")
     list("bbb.scs" "MY_BBB_SECTION_NAME")
     list("ccc.scs" "MY_CCC_SECTION_NAME")
   )
 )
)




Cheers,
Riad.

Title: Re: How to set Default Model File with Section in Cadence ADE ?
Post by pancho_hideboo on Nov 20th, 2009, 6:34am


Riad KACED wrote on Nov 20th, 2009, 6:31am:
Try the following in one of your startup files, .cdinit for example:

Code:
 asiSetEnvOptionVal(asiGetTool('spectre)
                  "modelFiles" '(("MY_PATH_TO_MODEL_FILE" "MY_SECTION_NAME")))

Thanks. I will try it.

Title: Re: How to set Default Model File with Section in Cadence ADE ?
Post by Riad KACED on Nov 20th, 2009, 6:41am

Hi Pancho,

Sorry, I just modified my initial post to make it more 'answering your question' rather than 'telling you what I know'

Sorry for the inconvenience  :-[

Riad.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.