# This 'if ($?prompt)' statement is what keeps the rest of this file from
# being executed every time it is sourced. (It checks to see if your prompt is
# set, and if it is then it goes on).
# Put anything you want executed 'every' time before the if statement, and
# anything else after it.
if ($?prompt) then
# Put and lines of code here that pertain only to you when you log in
# and you don't need them to be executed every time .cshrc is sourced.
# This next statement sets up a path. It first checks to see if a path
# exists. If it doesn't, it builds one. If it does, it redundantly sets
# the path equal to path. But this is good, for the purpose of allowing you
# to add directories to your path, while still receiving the system path.
# (Note: see that ~/bin has been added.
set path=( . /usr/ucb /bin /usr/bin /usr/sbin /usr/X11/bin /usr/X11R6/bin /usr/gnu/bin /usr/um/bin /usr/eecs/bin /usr/local/bin /usr/caen/bin )
setenv KIT_DIR /afs/eecs.umich.edu/kits/TSMC/CMN65GP/2011.02rf/rf1p9m6x1z1u
# Man pages path setting.
setenv MANPATH "/usr/man:/usr/X11/man:/usr/gnu/man:/usr/um/man:/usr/eecs/man:/usr/local/man:/usr/lang/man"
# Environment setting for alias file if you are on A DEC.
setenv HOSTALIASES /etc/hostaliases
# Useful short aliases
alias m mail
alias v vi
# Cautious aliases to reduce chances of clobbering files
alias cp 'cp -i'
alias mv 'mv -i'
alias rm 'rm -i'
alias find "find . -name '\!*' -print"
# alias rm 'mv \!* ~/Trash'
# Some useful flag settings.
set notify
set history=200
set filec
stty erase ^H
# set up for prompt
unset prompt
# set prompt = "[ \! ] $cwd:t -: "
set prompt = "[ \! ] TSMC65nm -: "
alias cd 'cd \!* ; set prompt = "[ \! ] $cwd:t -: " '
# Some limits that can be set, they are commented out for convienence.
limit coredumpsize 0
#Acrobat
set path=(/local/Adobe/Acrobat7.0/bin $path)
# Custom commands
set autolist
set path=( /usr/bin $path )
alias v vim
alias ls ls -al --color=auto
setenv SW_HSPICE 2006.09-sp1
setenv SW_COSMOSCOPE 2007.03
#setenv SW_CALIBRE 2007.2
setenv SW_NANOSIM 2006.06-sp2
setenv SW_HSIM 2006.06-sp2
setenv SW_IC 6.1.5
# setenv SW_IC 5.141_usr5
#setenv SW_SYNOPSYS 2006.06
setenv SW_LDV 8.2
setenv SW_ICC 11.2.41
setenv SW_SPECTRE 7.2
# setenv SW_SOC 7.1
setenv SW_SOC 10.1
setenv SW_MMSIM 7.2
# setenv CDS /usr/caen/ic-5.141_usr5
#setenv CDS /usr/caen/ic-5.141_isr02_11
setenv CDS /usr/caen/ic-6.1.5
setenv CDSHOME /usr/caen/ic-6.1.5
setenv CDS_INSTALL_DIR /usr/caen/ic-6.1.5/tools/dfII
setenv CDS_Netlisting_Mode Analog
setenv XLIB_SKIP_ARGB_VISUALS 1
setenv DD_DONT_DO_OS_LOCKS SET
setenv CLS_CDSD_COMPATIBILITY_LOCKING NO
setenv CDK_DIR /afs/eecs.umich.edu/kits/TSMC/CMN65GP/2011.02rf/rf1p9m6x1z1u_oa/
setenv EDITOR "gedit"
set path=(/usr/caen/ic-6.1.5/tools/bin:/usr/caen/ic-6.1.5/tools/dfII/bin:/usr/caen/ic-6.1.5/tools/leapfrog/bin $path)
setenv MGC_HOME /usr/caen/calibre-2009.1
setenv MGLS_LICENSE_FILE $MGC_HOME/license.dat
#set path=($MGC_HOME/bin $path)
#setenv TECHDIR /afs/eecs.umich.edu/kits/TSMC/CLN65GP/2009.12rf/Calibre/
#setenv CDS_Netlisting_Mode "Analog"
setenv SW_MMSIM 11.10.487
#setenv SW_MMSIM 7.2
# setenv PATH "/usr/caen/mmsim-7.2_isr02_11/tools/bin:${PATH}"
setenv PATH "/afs/engin.umich.edu/caen/rhel_5/edi-10.1/bin:${PATH}"
# setenv META_QUEUE 1
# assura setup
#source ./.assura_setup_linux
# Calibre setup
#source ./.calibre_setup
##### Calibre Setup ####
setenv SW_CALIBRE 2012.2_17
setenv ENABLE_XRC_ENGINE 77AaBD43
setenv MGC_HOME /afs/engin.umich.edu/caen/rhel_5/calibre-$SW_CALIBRE
setenv MGC_LIB_PATH $MGC_HOME/lib
setenv MGC_DOC_PATH $MGC_HOME/docs/docs_cal_2010.2_13.12/docs
setenv MGLS_LICENSE_FILE $MGC_HOME/license.dat
setenv LM_LICENSE_FILE $MGC_HOME/license.dat
setenv TECHDIR $KIT_DIR/Calibre/
set path=($MGC_HOME/bin $path)
setenv DENSITY_LOCAL OFF
setenv PEX_RUN TRUE
#setenv CHECK_NUMBER_OF_FINGERS YES
setenv DESIGN_TYPE CELL
#setenv PWELL_SUBC_DEVICE FALSE
## Set variable to check if this script was already loaded ##
setenv MGC_SETUP_DONE 1