mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-30 18:02:23 +02:00
Simplify configuration file to allow all options to be over-riden. Move default module types to options.py to simplify config file.
This commit is contained in:
@@ -22,10 +22,16 @@ os.environ["MGC_TMPDIR"] = "/tmp"
|
||||
###########################
|
||||
#OpenRAM Paths
|
||||
|
||||
DRCLVS_HOME= PDK_DIR+"/ncsu_basekit/techfile/calibre"
|
||||
try:
|
||||
DRCLVS_HOME = os.path.abspath(os.environ.get("DRCLVS_HOME"))
|
||||
except:
|
||||
DRCLVS_HOME= PDK_DIR+"/ncsu_basekit/techfile/calibre"
|
||||
os.environ["DRCLVS_HOME"] = DRCLVS_HOME
|
||||
|
||||
os.environ["SPICE_MODEL_DIR"] = PDK_DIR+"/ncsu_basekit/models/hspice/tran_models/models_nom"
|
||||
try:
|
||||
SPICE_MODEL_DIR = os.path.abspath(os.environ.get("SPICE_MODEL_DIR"))
|
||||
except:
|
||||
os.environ["SPICE_MODEL_DIR"] = PDK_DIR+"/ncsu_basekit/models/hspice/tran_models/models_nom"
|
||||
|
||||
##########################
|
||||
#Paths required for OPENRAM to function
|
||||
|
||||
Reference in New Issue
Block a user