blob: 858e0a6fc9212ee1600709da13e5dc53a1ed2a5a [file] [log] [blame]
#!/bin/bash
declare -x CDS_AUTO_64BIT="ALL"
declare -x CDS_LICENSE_FILE="5280@gchips-licenses.corp.google.com"
declare -x CDS_LIC_FILE="5280@gchips-licenses.corp.google.com"
export PATH=/usr/local/google/edatools/cadence/IC618/bin/:$PATH
TOP=$PWD
for VERSION in V1.0.0 V1.0.1 V1.1.0 V1.2.0 V1.2.1 V1.3.0 V2.0.0 V2.0.1; do
export METAL_STACK="s8phirs_10r"
export PDK_HOME=$(realpath $TOP/$VERSION)
export PDK_MODEL_HOME=$PDK_HOME
export DEVICELIB_ROOT=$PDK_HOME/VirtuosoOA/libs
ls -l $PDK_HOME
export libFlag=$METAL_STACK
EXAMPLES=$PDK_HOME/VirtuosoOA/examples/
(
cd $EXAMPLES
for LIB in s8phirs_10r s8rf s8rf2; do
echo
echo
echo
echo
echo
echo $VERSION $LIB
echo "--------------------------------------------------------------------"
# batchcdl
export BATCH_CDL=$TOP/../batchcdl
sed -e"s/oscDesign/$LIB/" $BATCH_CDL/sienv_template > sienv_template
# CCSRunNetlisterLibrary("TestLibCDL" "schematic" "CDL" "auCdl")
find ../libs/$LIB/ -maxdepth 1 -type d | sed -e"s@../libs/$LIB/@@" | sort > cellList
echo nfetextd > cellList
echo "Cell list"
echo "--------------"
cat cellList
echo "--------------"
$BATCH_CDL/batchCdl
ls *.cdl
break
done
)
break
done