From 529dbb48c49f4e00813129bdd6f34be2b70d39ce Mon Sep 17 00:00:00 2001 From: Eren Dogan Date: Fri, 2 Dec 2022 20:27:55 -0800 Subject: [PATCH] Fix sram creation in factory --- compiler/sram_factory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/sram_factory.py b/compiler/sram_factory.py index 4bc6ecc2..fae33f38 100644 --- a/compiler/sram_factory.py +++ b/compiler/sram_factory.py @@ -106,6 +106,8 @@ class sram_factory: # Dynamically load the module if real_module_type == "contact": c = importlib.import_module("openram.base.contact") + elif real_module_type == "sram": + c = importlib.import_module("openram.sram") else: c = importlib.import_module("openram.modules."+real_module_type) except ModuleNotFoundError: