The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> customizing Cadence
https://designers-guide.org/forum/YaBB.pl?num=1119165643

Message started by svensl on Jun 19th, 2005, 12:20am

Title: customizing Cadence
Post by svensl on Jun 19th, 2005, 12:20am

Hello,

I was wondering how and in what file I would have to make changes in order for Cadence to load user specific profiles.
I would like to change the path to the model libraries for the analog environment without having to go to ->setup ->model libraries and typing them in all the time. How can I tell cadence to load a new set of libraries on startup? I guess I have to edit the .cdsini file, but I don't know how. Also, I want cadence to automatically tick the "show categories" box in the Library Manager.

Thanks

Title: Re: customizing Cadence
Post by svensl on Jun 19th, 2005, 12:30am

Sorry, I forgot to mention that I would also like to change the default simulation directory from /sim to some /tmp/. Any suggestions on how to do that?

svensl

Title: Re: customizing Cadence
Post by Paul on Jun 19th, 2005, 1:55pm

Sven,

you can do most of this stuff in the .cdsinit and .cdsenv files, which are very well documented in CDSDOC.

Paul

Title: Re: customizing Cadence
Post by Andrew Beckett on Jun 20th, 2005, 4:48am

Put this in your .cdsenv file:


Code:
asimenv.startup projectDir      string  "/tmp/simulation"


or from SKILL (e.g. .cdsinit ):


Code:
envSetVal(
 "asimenv.startup" "projectDir"  'string  
 strcat("/tmp/simulation/" getShellEnvVar("USER"))
)


The second one uses the USER UNIX env var to make each person's simulation directory different to avoid you stamping on each others results.

Regards,

Andrew.

Title: Re: customizing Cadence
Post by svensl on Jun 20th, 2005, 10:53pm

Thanks Andrew and Paul. The cdsdoc is very useful but a rather large document and things tend to be hard to find if you're not sure what to look for. Your tip with the asimenv.startup variables helped a lot.
One thing I have not figured out yet is how to load the model libraries, i.e. /local/...../cmos53.scs and define a section. I had a look at the variable "modelpath" but that I could not get to work with asimenv.startup and it did not tell me how to define sections. Any tips?

Cheers,
Sven

Title: Re: customizing Cadence
Post by Andrew Beckett on Jun 21st, 2005, 6:19am

Sven,

It's not an asimenv setting, but a simulator specific setting. For example:


Code:
envSetVal("spectre.envOpts" "modelFiles" 'string "/path/to/file1.scs;ss /path/to/file2.scs;ff")


Regards,

Andrew.

Title: Re: customizing Cadence
Post by svensl on Sep 14th, 2005, 10:30pm

Since I am often dealing with VerilogA in Cadence I would like to modify the .cdsinit file so that in the ADE under ->setup ->environment will automatically add verilogA to the Switch View List and Stop View List. Is this possible?

Cheers,

Title: Re: customizing Cadence
Post by Andrew Beckett on Sep 19th, 2005, 9:15pm

Sven,

The default .cdsenv settings for spectre would normally have veriloga in the view lists:


Code:
spectre.envOpts stopViewList    string  "spectre"
spectre.envOpts switchViewList  string  "spectre cmos_sch cmos.sch schematic veriloga ahdl"


Which would be the following in SKILL:


Code:
envSetVal("spectre.envOpts" "stopViewList" 'string  "spectre")
envSetVal("spectre.envOpts" "switchViewList" 'string "spectre cmos_sch cmos.sch schematic veriloga ahdl")


So presumably it's already set somewhere in your environment?

Or perhaps you just meant that you wanted to change the order of the view list to put veriloga earlier in the list?

Regards,

Andrew.

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