Remove spice dir env variable for freepdk.

This commit is contained in:
Matt Guthaus 2018-02-07 10:05:21 -08:00
parent 8e91faaccb
commit ed194ad47b
1 changed files with 5 additions and 4 deletions

View File

@ -28,10 +28,11 @@ except:
DRCLVS_HOME= PDK_DIR+"/ncsu_basekit/techfile/calibre" DRCLVS_HOME= PDK_DIR+"/ncsu_basekit/techfile/calibre"
os.environ["DRCLVS_HOME"] = DRCLVS_HOME os.environ["DRCLVS_HOME"] = DRCLVS_HOME
try: # try:
SPICE_MODEL_DIR = os.path.abspath(os.environ.get("SPICE_MODEL_DIR")) # SPICE_MODEL_DIR = os.path.abspath(os.environ.get("SPICE_MODEL_DIR"))
except: # except:
os.environ["SPICE_MODEL_DIR"] = PDK_DIR+"/ncsu_basekit/models/hspice/tran_models/models_nom" # Always use the one in the PDK dir for FreePDK45
os.environ["SPICE_MODEL_DIR"] = PDK_DIR+"/ncsu_basekit/models/hspice/tran_models/models_nom"
########################## ##########################
#Paths required for OPENRAM to function #Paths required for OPENRAM to function