route rbl conditionally

This commit is contained in:
Sam Crow 2023-06-08 12:36:31 -07:00
parent a51b71d460
commit ce622952ef
1 changed files with 14 additions and 14 deletions

View File

@ -1296,7 +1296,8 @@ class sram_1bank(design, verilog, lef):
src_pin = self.control_logic_insts[port].get_pin(signal) src_pin = self.control_logic_insts[port].get_pin(signal)
dest_pin = self.bank_inst.get_pin(signal + "{}".format(port)) dest_pin = self.bank_inst.get_pin(signal + "{}".format(port))
self.connect_vbus(src_pin, dest_pin) self.connect_vbus(src_pin, dest_pin)
"""
if self.has_rbl:
for port in self.all_ports: for port in self.all_ports:
# Only input (besides pins) is the replica bitline # Only input (besides pins) is the replica bitline
src_pin = self.control_logic_insts[port].get_pin("rbl_bl") src_pin = self.control_logic_insts[port].get_pin("rbl_bl")
@ -1309,7 +1310,6 @@ class sram_1bank(design, verilog, lef):
self.add_via_stack_center(from_layer=dest_pin.layer, self.add_via_stack_center(from_layer=dest_pin.layer,
to_layer="m3", to_layer="m3",
offset=dest_pin.center()) offset=dest_pin.center())
"""
def route_row_addr_dff(self): def route_row_addr_dff(self):
""" """