From 7c83ef3f04ed88379f6bd3cdd8f67394fd225697 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 9 Feb 2018 10:27:43 -0800 Subject: [PATCH] Fix missing subdir name. Comment about organization. --- compiler/globals.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/globals.py b/compiler/globals.py index 90af6159..11a8854f 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -219,8 +219,9 @@ def setup_paths(): debug.error("$OPENRAM_HOME is not properly defined.",1) debug.check(os.path.isdir(OPENRAM_HOME),"$OPENRAM_HOME does not exist: {0}".format(OPENRAM_HOME)) - # Add all of the submodules to the python path - for subdir in ["gdsMill", "tests", "router", "modules", "layout", "pgates"]: + # Add all of the subdirs to the python path + # These subdirs are modules and don't need to be added: characterizer, verify + for subdir in ["gdsMill", "tests", "router", "modules", "base", "pgates"]: full_path = "{0}/{1}".format(OPENRAM_HOME,subdir) debug.check(os.path.isdir(full_path), "$OPENRAM_HOME/{0} does not exist: {1}".format(subdir,full_path))