The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 24th, 2024, 11:32pm
Pages: 1
Send Topic Print
different .cdsenv for different kits? (Read 4143 times)
oermens
Community Member
***
Offline



Posts: 86

different .cdsenv for different kits?
Feb 05th, 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.
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: different .cdsenv for different kits?
Reply #1 - 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.
Back to top
 
 
View Profile WWW   IP Logged
oermens
Community Member
***
Offline



Posts: 86

Re: different .cdsenv for different kits?
Reply #2 - Feb 5th, 2009, 10:52am
 
thanks.
Back to top
 
 
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.