mirror of https://github.com/VLSIDA/OpenRAM.git
Make sram_compiler.py use $OPENRAM_HOME if library isn't installed
This commit is contained in:
parent
845f32805f
commit
6fe54c9c76
|
|
@ -16,9 +16,13 @@ a LEF (.lef) file for preliminary P&R (real one should be from layout)
|
||||||
a Liberty (.lib) file for timing analysis/optimization
|
a Liberty (.lib) file for timing analysis/optimization
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import datetime
|
import datetime
|
||||||
import openram
|
try:
|
||||||
|
import openram
|
||||||
|
except:
|
||||||
|
sys.path.append(os.getenv("OPENRAM_HOME"))
|
||||||
import globals as g
|
import globals as g
|
||||||
|
|
||||||
(OPTS, args) = g.parse_args()
|
(OPTS, args) = g.parse_args()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue