mirror of https://github.com/VLSIDA/OpenRAM.git
Fix sram creation in factory
This commit is contained in:
parent
6a4f6cbbed
commit
529dbb48c4
|
|
@ -106,6 +106,8 @@ class sram_factory:
|
||||||
# Dynamically load the module
|
# Dynamically load the module
|
||||||
if real_module_type == "contact":
|
if real_module_type == "contact":
|
||||||
c = importlib.import_module("openram.base.contact")
|
c = importlib.import_module("openram.base.contact")
|
||||||
|
elif real_module_type == "sram":
|
||||||
|
c = importlib.import_module("openram.sram")
|
||||||
else:
|
else:
|
||||||
c = importlib.import_module("openram.modules."+real_module_type)
|
c = importlib.import_module("openram.modules."+real_module_type)
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue