Convert power to rails rather than pins in sense amp and precharge

This commit is contained in:
mrg
2022-02-23 14:06:49 -08:00
parent d4c14d7d19
commit baf369fc96
2 changed files with 4 additions and 7 deletions
+2 -1
View File
@@ -93,13 +93,14 @@ class precharge_array(design.design):
self.add_via_stack_center(from_layer=en_pin.layer,
to_layer=self.en_bar_layer,
offset=inst.get_pin("en_bar").center())
self.copy_layout_pin(inst, "vdd")
self.route_horizontal_pin("vdd")
for i in range(len(self.local_insts)):
inst = self.local_insts[i]
self.copy_layout_pin(inst, "bl", "bl_{0}".format(i))
self.copy_layout_pin(inst, "br", "br_{0}".format(i))
def create_insts(self):
"""Creates a precharge array by horizontally tiling the precharge cell"""
self.local_insts = []