mirror of https://github.com/VLSIDA/OpenRAM.git
route rbl conditionally
This commit is contained in:
parent
a51b71d460
commit
ce622952ef
|
|
@ -1296,20 +1296,20 @@ 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)
|
||||||
"""
|
|
||||||
for port in self.all_ports:
|
if self.has_rbl:
|
||||||
# Only input (besides pins) is the replica bitline
|
for port in self.all_ports:
|
||||||
src_pin = self.control_logic_insts[port].get_pin("rbl_bl")
|
# Only input (besides pins) is the replica bitline
|
||||||
dest_pin = self.bank_inst.get_pin("rbl_bl_{0}_{0}".format(port))
|
src_pin = self.control_logic_insts[port].get_pin("rbl_bl")
|
||||||
self.add_wire(self.m3_stack,
|
dest_pin = self.bank_inst.get_pin("rbl_bl_{0}_{0}".format(port))
|
||||||
[src_pin.center(), vector(src_pin.cx(), dest_pin.cy()), dest_pin.rc()])
|
self.add_wire(self.m3_stack,
|
||||||
self.add_via_stack_center(from_layer=src_pin.layer,
|
[src_pin.center(), vector(src_pin.cx(), dest_pin.cy()), dest_pin.rc()])
|
||||||
to_layer="m4",
|
self.add_via_stack_center(from_layer=src_pin.layer,
|
||||||
offset=src_pin.center())
|
to_layer="m4",
|
||||||
self.add_via_stack_center(from_layer=dest_pin.layer,
|
offset=src_pin.center())
|
||||||
to_layer="m3",
|
self.add_via_stack_center(from_layer=dest_pin.layer,
|
||||||
offset=dest_pin.center())
|
to_layer="m3",
|
||||||
"""
|
offset=dest_pin.center())
|
||||||
|
|
||||||
def route_row_addr_dff(self):
|
def route_row_addr_dff(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue