mirror of https://github.com/VLSIDA/OpenRAM.git
Fix name for detecting single port
This commit is contained in:
parent
c7c319c11f
commit
b7f1c8e8fc
|
|
@ -577,7 +577,7 @@ class simulation():
|
||||||
Gets the signal name associated with the bitlines in the bank.
|
Gets the signal name associated with the bitlines in the bank.
|
||||||
"""
|
"""
|
||||||
# FIXME: change to a solution that does not depend on the technology
|
# FIXME: change to a solution that does not depend on the technology
|
||||||
if OPTS.tech_name == "sky130" and self.total_ports == 1:
|
if OPTS.tech_name == "sky130" and len(self.all_ports) == 1:
|
||||||
cell_mod = factory.create(module_type=OPTS.bitcell, version="opt1")
|
cell_mod = factory.create(module_type=OPTS.bitcell, version="opt1")
|
||||||
else:
|
else:
|
||||||
cell_mod = factory.create(module_type=OPTS.bitcell)
|
cell_mod = factory.create(module_type=OPTS.bitcell)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue