mirror of https://github.com/VLSIDA/OpenRAM.git
Change setup scripts to be dir independent
This commit is contained in:
parent
b04e63dd65
commit
8b86ee3e2e
|
|
@ -11,22 +11,23 @@ TECHNOLOGY = "freepdk45"
|
|||
LOCAL = "{0}/..".format(os.path.dirname(__file__))
|
||||
|
||||
##########################
|
||||
# FreePDK 45 paths
|
||||
# DON'T DELETE THESE
|
||||
PDK_DIR="/mada/software/techfiles/FreePDK45"
|
||||
# FreePDK45 paths
|
||||
|
||||
PDK_DIR="$FREEPDK45"
|
||||
os.environ["PDK_DIR"] = PDK_DIR
|
||||
os.environ["SYSTEM_CDS_LIB_DIR"] = "{0}/ncsu_basekit/cdssetup".format(PDK_DIR)
|
||||
os.environ["CDS_SITE"] = PDK_DIR
|
||||
os.environ["MGC_TMPDIR"] = "/tmp"
|
||||
|
||||
###########################
|
||||
#Openram Paths
|
||||
# DON'T DELETE THESE
|
||||
DRCLVS_HOME="/mada/software/techfiles/FreePDK45-1.4/ncsu_basekit/techfile/calibre"
|
||||
#OpenRAM Paths
|
||||
|
||||
DRCLVS_HOME= "$FREEPDK45/ncsu_basekit/techfile/calibre"
|
||||
os.environ["DRCLVS_HOME"] = DRCLVS_HOME
|
||||
|
||||
##########################
|
||||
#Paths required for OPENRAM to function
|
||||
|
||||
sys.path.append("{0}/{1}".format(LOCAL,TECHNOLOGY))
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,20 +10,21 @@ TECHNOLOGY = "scn3me_subm"
|
|||
|
||||
|
||||
##########################
|
||||
# CDK paths?
|
||||
# CDK paths
|
||||
|
||||
#os.environ["CDK_DIR"] = CDK_DIR #PDK path
|
||||
#os.environ["SYSTEM_CDS_LIB_DIR"] = "{0}/cdssetup".format(CDK_DIR) #CDS library path
|
||||
#os.environ["CDS_SITE"] = CDK_DIR #CDS path
|
||||
os.environ["MGC_TMPDIR"] = "/tmp" #temp folder path
|
||||
# os.environ["CDK_DIR"] = CDK_DIR #PDK path
|
||||
# os.environ["SYSTEM_CDS_LIB_DIR"] = "{0}/cdssetup".format(CDK_DIR)
|
||||
# os.environ["CDS_SITE"] = CDK_DIR
|
||||
os.environ["MGC_TMPDIR"] = "/tmp"
|
||||
|
||||
###########################
|
||||
#Openram Paths
|
||||
# DON'T DELETE THIS LINE
|
||||
DRCLVS_HOME="/mada/software/techfiles/scn3me_subm"
|
||||
os.environ["DRCLVS_HOME"] = DRCLVS_HOME #DRC and LVS path
|
||||
# OpenRAM Paths
|
||||
|
||||
DRCLVS_HOME="$OPENRAM_TECH/scn3me_subm/tech"
|
||||
os.environ["DRCLVS_HOME"] = DRCLVS_HOME
|
||||
|
||||
##########################
|
||||
#Paths required for OPENRAM to function
|
||||
LOCAL = "{0}/..".format(os.path.dirname(__file__)) #OPENRAM Trunk path
|
||||
# Paths required for OPENRAM to function
|
||||
|
||||
LOCAL = "{0}/..".format(os.path.dirname(__file__))
|
||||
sys.path.append("{0}/{1}".format(LOCAL,TECHNOLOGY))
|
||||
|
|
|
|||
Loading…
Reference in New Issue