# =========================== CADENCE STUFF ========================= #---- Cadence user setup ---------------------------------------------- # see local/environment/environment for the full setup script we use at # N.C. State. setenv MANPATH . setenv CDS_DIR /cds/ic-qsr setenv LDV_DIR /cds/ldv setenv cdk_dir /cds/ic-qsr/local setenv UNAME /bin/uname # replace $CDS_DIR below with the root directory of your Cadence # installation, and $UNAME with the full path to your uname executable set base_dir = "$CDS_DIR" set uname = "$UNAME" # These are paths to the STREAM release directories (e.g. where IC 4.4.5 # lives); change these to fit your site setenv IC $base_dir setenv LDV $LDV_DIR setenv CDS $base_dir setenv CDS_LIC_FILE $CDS/share/license/license.80b051e6 setenv TERM $term # the lib path setup looks at $CDS_SITE/cdssetup to find the "setup.loc" # file (other things, like prependNCSUCDKInstallPath(), need $CDS_SITE # as well) # note that "$cdk_dir" below is the local/ directory created when you # untarred the CDK distribution setenv CDS_SITE $cdk_dir # if you did a "relocatable installation", # set USE_NCSU_CDK to access the CDK features setenv USE_NCSU_CDK # use analog netlister for everything setenv CDS_Netlisting_Mode Analog # Path additions alias prepend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) setenv \!:1 "\!:2":${\!:1}' alias extend 'if (-d \!:2) if ("$\!:1" \!~ *"\!:2"*) setenv \!:1 ${\!:1}:\!:2' prepend PATH $LDV/tools/bin prepend PATH $LDV/tools/dfII/bin prepend PATH $IC/tools/bin prepend PATH $IC/tools/dfII/bin prepend PATH $IC/tools/concice/bin prepend PATH $IC/tools/dracula/bin extend MANPATH $LDV/share/man extend MANPATH $IC/share/man extend MANPATH $IC/tools/man prepend LD_LIBRARY_PATH $LDV/tools/lib prepend LD_LIBRARY_PATH $IC/tools/lib # this next one sets a path to our wrapper script; the script # removes this PATH component to unmask the real executable. ONLY USE # THIS IF YOU"RE USING THE local/bin/dfiiwrapper.pl SCRIPT. setenv PATH $CDS/bin:$PATH #---- Start clsbd ----------------------------------------------------- # clsbd should always be running when we start cadence tools # note that "bar" is a simple suid root program that starts clsbd (the # theory is that if it's running as root, a userland process is less # likely to take it down, and it won't be killed when the user logs out. # we want this because clsbd needs to be running on all workstations # that run cadence tools so it can respond to queries about locks. see # chapter 11 of "Cadence Application Infrastructure User Guide" for more # info on cls.) if (( "`${uname} -sr`" == "SunOS 5.4") || ( "`${uname} -sr`" == "SunOS 5.5.1") || ( "`${uname} -sr`" == "SunOS 5.6")) then $CDS_SITE/bin/bar > /dev/null else $IC/tools/bin/clsbd > /dev/null endif unset base_dir uname #---- End of Cadence Setup -------------------------------------- # =========================== END CADENCE STUFF =========================