Use extra bitcell version tag only for single port in sky130

This commit is contained in:
mrg 2021-06-16 19:06:12 -07:00
parent d119a0e7ff
commit c7c319c11f
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ class simulation():
Gets the signal name associated with the bitlines in the bank.
"""
# FIXME: change to a solution that does not depend on the technology
if OPTS.tech_name == 'sky130':
if OPTS.tech_name == "sky130" and self.total_ports == 1:
cell_mod = factory.create(module_type=OPTS.bitcell, version="opt1")
else:
cell_mod = factory.create(module_type=OPTS.bitcell)