The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 7:23pm
Pages: 1
Send Topic Print
How to set Default Model File with Section in Cadence ADE ? (Read 1075 times)
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
How to set Default Model File with Section in Cadence ADE ?
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.
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
Riad KACED
Community Member
***
Offline



Posts: 93
Swindon, UK
Re: How to set Default Model File with Section in Cadence ADE ?
Reply #1 - 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.
Back to top
 
 

Riad KACED
PDK, EDA Support Engineer.
View Profile   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: How to set Default Model File with Section in Cadence ADE ?
Reply #2 - 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.
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
Riad KACED
Community Member
***
Offline



Posts: 93
Swindon, UK
Re: How to set Default Model File with Section in Cadence ADE ?
Reply #3 - 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.
Back to top
 
 

Riad KACED
PDK, EDA Support Engineer.
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.