diff --git a/sram_compiler.py b/sram_compiler.py index 96c195ca..4ae4a819 100644 --- a/sram_compiler.py +++ b/sram_compiler.py @@ -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 """ +import os import sys import datetime -import openram +try: + import openram +except: + sys.path.append(os.getenv("OPENRAM_HOME")) import globals as g (OPTS, args) = g.parse_args()