mirror of https://github.com/VLSIDA/OpenRAM.git
Add router to the python path
This commit is contained in:
parent
68ce3843fe
commit
2e86da4cd1
|
|
@ -176,6 +176,9 @@ def setup_paths():
|
||||||
debug.check(os.path.isdir(OPENRAM_HOME+"/characterizer"),
|
debug.check(os.path.isdir(OPENRAM_HOME+"/characterizer"),
|
||||||
"$OPENRAM_HOME/characterizer does not exist: {0}".format(OPENRAM_HOME+"/characterizer"))
|
"$OPENRAM_HOME/characterizer does not exist: {0}".format(OPENRAM_HOME+"/characterizer"))
|
||||||
sys.path.append("{0}/characterizer".format(OPENRAM_HOME))
|
sys.path.append("{0}/characterizer".format(OPENRAM_HOME))
|
||||||
|
debug.check(os.path.isdir(OPENRAM_HOME+"/router"),
|
||||||
|
"$OPENRAM_HOME/router does not exist: {0}".format(OPENRAM_HOME+"/router"))
|
||||||
|
sys.path.append("{0}/router".format(OPENRAM_HOME))
|
||||||
|
|
||||||
if not OPTS.openram_temp.endswith('/'):
|
if not OPTS.openram_temp.endswith('/'):
|
||||||
OPTS.openram_temp += "/"
|
OPTS.openram_temp += "/"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue