From 68b30d601ec133df2b91b5870ac0fa275d3e4272 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 5 Oct 2018 08:09:09 -0700 Subject: [PATCH] Move bitcells to their own directory in preparation for custom multiport cells. --- compiler/{modules => bitcells}/bitcell.py | 0 compiler/{pgates => bitcells}/pbitcell.py | 0 compiler/globals.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename compiler/{modules => bitcells}/bitcell.py (100%) rename compiler/{pgates => bitcells}/pbitcell.py (100%) diff --git a/compiler/modules/bitcell.py b/compiler/bitcells/bitcell.py similarity index 100% rename from compiler/modules/bitcell.py rename to compiler/bitcells/bitcell.py diff --git a/compiler/pgates/pbitcell.py b/compiler/bitcells/pbitcell.py similarity index 100% rename from compiler/pgates/pbitcell.py rename to compiler/bitcells/pbitcell.py diff --git a/compiler/globals.py b/compiler/globals.py index 6d5e9b63..c555f9fc 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -281,7 +281,7 @@ def setup_paths(): # 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", "modules", "base", "pgates"]: + for subdir in ["gdsMill", "tests", "modules", "base", "pgates", "bitcells"]: 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))