mirror of https://github.com/VLSIDA/OpenRAM.git
Allow spice model to be overriden by environment variable in SCMOS
This commit is contained in:
parent
46fceba692
commit
4f90308c92
|
|
@ -21,8 +21,12 @@ os.environ["MGC_TMPDIR"] = "/tmp"
|
|||
# OpenRAM Paths
|
||||
OPENRAM_TECH=os.path.abspath(os.environ.get("OPENRAM_TECH"))
|
||||
DRCLVS_HOME=OPENRAM_TECH+"/scn3me_subm/tech"
|
||||
os.environ["DRCLVS_HOME"] = DRCLVS_HOME
|
||||
os.environ["SPICE_MODEL_DIR"] = "/mada/software/techfiles/scn3me_subm"
|
||||
os.environ["DRCLVS_HOME"] = DRCLVS_HOME
|
||||
# You can override the spice model diretory in the environment
|
||||
try:
|
||||
SPICE_MODEL_DIR = os.path.abspath(os.environ.get("SPICE_MODEL_DIR"))
|
||||
except:
|
||||
os.environ["SPICE_MODEL_DIR"] = "/mada/software/techfiles/scn3me_subm"
|
||||
|
||||
##########################
|
||||
# Paths required for OPENRAM to function
|
||||
|
|
|
|||
Loading…
Reference in New Issue