Reimplement off grid pins.

Long pins aren't accessed on end pins anymore.
Fix problem with multiple non-enclosed space causing blockages.
Add partial pin offgrid enclosure algorithm.
This commit is contained in:
mrg
2022-05-02 15:43:14 -07:00
parent 7195d81736
commit b1bb9151c4
17 changed files with 274 additions and 155 deletions
+6 -5
View File
@@ -77,11 +77,12 @@ class wordline_driver_array(design.design):
Add vertical power rails.
"""
for inst in self.wld_inst:
for pin in inst.get_pins("vdd"):
self.add_power_pin("vdd", pin.rc())
#self.copy_layout_pin(inst, "vdd")
self.copy_layout_pin(inst, "gnd")
if layer_props.wordline_driver.vertical_supply:
self.route_vertical_pins("vdd", self.wld_inst)
self.route_vertical_pins("gnd", self.wld_inst)
else:
self.route_vertical_pins("vdd", self.wld_inst, xside="rx",)
self.route_vertical_pins("gnd", self.wld_inst, xside="lx",)
def create_drivers(self):