# -*- Mode: Shell-script    -*- 
# -*- vim: set filetype=sh: -*-
#             ,,,
#            (o o)
####=====oOO--(_)--OOO=========================================####
#
#  Alliance CAD system environnement
#  Usage (in Bourne-shell) : > . alc_env.sh
#  (C) 1997 Czo  -- <Olivier.Sirol@lip6.fr>
#  $Id: alc_env.sh.in,v 1.4 2002/10/16 18:14:03 jpc Exp $
#  Generated from alc_env.sh.in on @DATE@

# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
# have to modify if something goes wrong

# Which platform for Alliance CAD

# WARNING : if changing this remember to do it on the 3 config files :
# configure.in alc_env.sh.in and alc_env.csh.in


# Where the Alliance CAD is installed
        ALLIANCE_TOP=@prefix@;                       export ALLIANCE_TOP

# Alliance environment variables.
           MBK_IN_LO=vst;                            export MBK_IN_LO
          MBK_OUT_LO=vst;                            export MBK_OUT_LO 
           MBK_IN_PH=ap;                             export MBK_IN_PH
          MBK_OUT_PH=ap;                             export MBK_OUT_PH

        MBK_WORK_LIB=.;                              export MBK_WORK_LIB
      MBK_CATAL_NAME=CATAL;                          export MBK_CATAL_NAME

         MBK_SCALE_X=100;                            export MBK_SCALE_X

           VH_MAXERR=10;                             export VH_MAXERR
           VH_BEHSFX=vbe;                            export VH_BEHSFX
           VH_PATSFX=pat;                            export VH_PATSFX
           VH_DLYSFX=dly;                            export VH_DLYSFX

             MBK_VDD=vdd;                            export MBK_VDD
             MBK_VSS=vss;                            export MBK_VSS

        MBK_CATA_LIB=.:$ALLIANCE_TOP/cells/sxlib
        MBK_CATA_LIB=$MBK_CATA_LIB:$ALLIANCE_TOP/cells/dp_sxlib
        MBK_CATA_LIB=$MBK_CATA_LIB:$ALLIANCE_TOP/cells/rflib
        MBK_CATA_LIB=$MBK_CATA_LIB:$ALLIANCE_TOP/cells/ramlib
        MBK_CATA_LIB=$MBK_CATA_LIB:$ALLIANCE_TOP/cells/romlib
        MBK_CATA_LIB=$MBK_CATA_LIB:$ALLIANCE_TOP/cells/padlib
                                                     export MBK_CATA_LIB

      MBK_TARGET_LIB=$ALLIANCE_TOP/cells/sxlib;      export MBK_TARGET_LIB
          MBK_C4_LIB=./cellsC4;                      export MBK_C4_LIB

     XPAT_PARAM_NAME=$ALLIANCE_TOP/etc/xpat.par;     export XPAT_PARAM_NAME
     XFSM_PARAM_NAME=$ALLIANCE_TOP/etc/xfsm.par;     export XFSM_PARAM_NAME
     XSCH_PARAM_NAME=$ALLIANCE_TOP/etc/xsch.par;     export XSCH_PARAM_NAME

              RDS_IN=cif;                            export RDS_IN
             RDS_OUT=cif;                            export RDS_OUT

   DREAL_TECHNO_NAME=$ALLIANCE_TOP/etc/cmos.dreal;   export DREAL_TECHNO_NAME
   GRAAL_TECHNO_NAME=$ALLIANCE_TOP/etc/cmos.graal;   export GRAAL_TECHNO_NAME
 GENVIEW_TECHNO_NAME=$ALLIANCE_TOP/etc/cmos.genview; export GENVIEW_TECHNO_NAME

     RDS_TECHNO_NAME=$ALLIANCE_TOP/etc/cmos.rds;     export RDS_TECHNO_NAME
     ELP_TECHNO_NAME=$ALLIANCE_TOP/etc/prol.elp;     export ELP_TECHNO_NAME


# System environment variables.
 PATH=$ALLIANCE_TOP/bin:$PATH
 export PATH

# Only needed on Solaris (included in /etc/ld.so.conf under Linux).
 if [ -z "${LD_LIBRARY_PATH}" ]; then
   LD_LIBRARY_PATH=$ALLIANCE_TOP/lib
 else
   LD_LIBRARY_PATH=$ALLIANCE_TOP/lib:$LD_LIBRARY_PATH
 fi
 export LD_LIBRARY_PATH

 if [ -z "${MANPATH}" ]; then
   MANPATH=$ALLIANCE_TOP/man
 else
   MANPATH=$ALLIANCE_TOP/man:$MANPATH
 fi
 export MANPATH
