The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 1st, 2024, 8:23am
Pages: 1
Send Topic Print
customizing Cadence (Read 1512 times)
trond
Senior Member
****
Offline



Posts: 168
Glasgow, Scotland
customizing Cadence
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
Back to top
 
 
View Profile   IP Logged
trond
Senior Member
****
Offline



Posts: 168
Glasgow, Scotland
Re: customizing Cadence
Reply #1 - 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
Back to top
 
 
View Profile   IP Logged
Paul
Community Fellow
*****
Offline



Posts: 351
Switzerland
Re: customizing Cadence
Reply #2 - 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
Back to top
 
 
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: customizing Cadence
Reply #3 - 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.
Back to top
 
 
View Profile WWW   IP Logged
trond
Senior Member
****
Offline



Posts: 168
Glasgow, Scotland
Re: customizing Cadence
Reply #4 - 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
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: customizing Cadence
Reply #5 - 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.
Back to top
 
 
View Profile WWW   IP Logged
trond
Senior Member
****
Offline



Posts: 168
Glasgow, Scotland
Re: customizing Cadence
Reply #6 - 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,
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: customizing Cadence
Reply #7 - 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.
Back to top
 
 
View Profile WWW   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.