;========================================================================== ; ; $Id: cdsinit,v 1.13 2000/11/06 19:27:56 awglaser Exp $ ; ;-------------------------------------------------------------------------- ; ; NCSU Site .cdsinit file. ; ; The site startup file is read and executed when the Design Framework II ; software starts. The original is from the template in ; /ncsu/cadence/tools/dfII/samples/local/cdsinit, but has been highly ; customized. ; ; This file loads application configuration files, bind key files, and ; SKILL files containing the NCSU customized environment. ; ; User customization files: ; ; ./.cdsinit - the working directory ; ~/.cdsinit - the user's home directory ; $CLASS_LOCKER/.cdsinit - for class setups ; ; This site file checks if a .cdsinit exists in the working directory ; and executes it. The site file then checks the home directory and ; executes ~/.cdsinit if it exists, and likewise if one is found through ; the environment variable CLASS_LOCKER. Each of these may overwrite entries ; in the previous ones. A sample user .cdsinit file is in ; /ncsu/cadence/local/cdssetup/user.cdsinit. ; ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; NOTE: Please read the entire file and the comments before you start ; customizing the file. ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; ; In order for any window placements to work correctly the following ; X resource should be set in the ~/.Xdefaults file. ; ; Mwm*clientAutoPlace: False ; ; After setting the resource read in the resource file with the command ; ; xrdb -merge ~/.Xdefaults ; ; and restart the Motif window manager. ; ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; ; The function ; ; prependInstallPath("string ") ; ; adds the installation path to the string argument For this reason there ; should NOT be a space at the beginning of the string. There SHOULD be a ; space at the end of the string if more paths are to follow. This ; function is used to make path specification in this file independant of ; the exact installation path. ; ; The function let() creates local variables which are in scope only ; between the parentheses. This ensures that global variables are not ; accidentally modified. ; ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; ; CUSTOMIZATION FILES ; ; At NCSU the site customization files are in /ncsu/cadence/local/cdssetup ; This file is cdsinit, and there is a user.cdsinit. ; ; Cadence provided customization files are delivered in: ; ; /samples/local/cdsinit - site customization ; /cdsuser/.cdsinit - user customization ; ; ; ADMINISTRATION ; ; /ncsu/cadence/tools/dfII/local is the site customization directory. ; This directory is not sent as part of the software. The site ; administrator must create this directory. Whenever software is ; upgraded the Cadence installation process retains the site ; administration directory if it exists. ; ; At NCSU the local directory is /ncsu/cadence/local, and a link is placed ; in /ncsu/cadence/tools/dfII/local. See the documentation there for ; complete details of the NCSU installation. ; ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; ; Revision History ; ---------------- ; ; Revision 1.13a 2002/04/10 10:03:33 cdsmgr ; Added options to make mixed signal library options ; correct by default. (Saqib Malik) ; ; $Log: cdsinit,v $ ; Revision 1.13 2000/11/06 19:27:56 awglaser ; changed NCSU_newLayoutMenuLabels to "t", since 445 ; is now the sitewide default ; ; Revision 1.12 2000/08/21 18:41:23 awglaser ; Added definition of NCSU_newLayoutMenuLabels (used in ; local/skill/menus/triggers.il) ; ; Revision 1.11 1999/12/07 20:29:04 awglaser ; Now loads ~/.cdsinit, ./.cdsinit, $CLASS_LOCKER/.cdsinit, in that order. ; (Was loading ~/.cdsinit after ./.cdsinit, which doesn't make much sense.) ; ; Revision 1.10 1999/11/11 20:09:20 jtschaff ; added check for CDS_SITE env. var. definition ; ; Revision 1.9 1999/10/13 02:34:49 jtschaff ; modified skillPath to reflect new menu directory structure ; ; Revision 1.8 1999/06/01 19:35:27 awglaser ; Added checks to see if cdsenv and loadSkill.il files already loaded ; ; Revision 1.7 1999/03/04 18:26:02 jtschaff ; added check for SKIP_CDSLIB_MANAGER env var at startup ; ; Revision 1.6 1998/12/11 07:00:26 jtschaff ; added prependNCSUCDKInstallPath ; ; Revision 1.5 1998/03/13 16:00:55 jtschaff ; removed rcs revision history ; ; Revision 1.4 1998/03/13 15:58:10 jtschaff ; added pcells to skillpath ; ; Revision 1.3 1998/03/13 00:20:30 astanas ; Copied "xmesg" program into local/bin for distribution. ; ; Revision 1.2 1998/03/04 19:21:08 astanas ; Changed all paths to use prependInstallPath. ; ; Revision 1.1 1997/12/18 19:51:26 astanas ; Initial revision ; ; ;************************************************************************** ;########################################################################## ; Setting simulatiuon directory to /local/$USERNAME/simulation requested by Basem ;########################################################################## sprintf(simdir "/local/%s/simulation" getShellEnvVar("USER")) envSetVal("asimenv.startup" "projectDir" 'string simdir)