Fix sram creation in factory

This commit is contained in:
Eren Dogan 2022-12-02 20:27:55 -08:00
parent 6a4f6cbbed
commit 529dbb48c4
1 changed files with 2 additions and 0 deletions

View File

@ -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: