The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> different .cdsenv for different kits?
https://designers-guide.org/forum/YaBB.pl?num=1233850245

Message started by oermens on Feb 5th, 2009, 8:10am

Title: different .cdsenv for different kits?
Post by oermens on Feb 5th, 2009, 8:10am

is it possible to use a different .cdsenv for each of the kits i have installed? although I have customized the .cdsenv in the folder where i launch the kit, cadence only uses the .cdsenv found in my home directory and i have to do all my customizing in that one. this is a problem for things like defining the model path which is unique for each kit.

would .cdsinit be a better means of achieving this? will envSetVal(...) override whats defined in .cdsenv?

thanks.

Title: Re: different .cdsenv for different kits?
Post by Andrew Beckett on Feb 5th, 2009, 9:04am

I just answered a similar question over on comp.cad.cadence .

A few ways you could do this:

1. setenv CDS_LOAD_ENV addCWD
  This will also look in the working dir for a .cdsenv file. That way
  you can have it local to the project dir.
2. setenv CDS_LOAD_ENV CSF
  You can then find the .cdsenv via the setup.loc file mechanism
  (check in the <instdir>/doc/caiuser/caiuser.pdf for more details)
3. In your .cdsinit do:
  envLoadFile("./.cdsenv")  ; or whatever you want to call the file

Regards,

Andrew.

Title: Re: different .cdsenv for different kits?
Post by oermens on Feb 5th, 2009, 10:52am

thanks.

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