mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 17:39:02 +02:00
Move supply pins for wmask and array to edge to avoid channel route congestion
This commit is contained in:
@@ -138,12 +138,11 @@ class write_mask_and_array(design.design):
|
||||
self.add_via_stack_center(from_layer=en_pin.layer,
|
||||
to_layer="m3",
|
||||
offset=en_pos)
|
||||
|
||||
for supply in ["gnd", "vdd"]:
|
||||
supply_pin=self.and2_insts[i].get_pin(supply)
|
||||
self.add_power_pin(supply, supply_pin.center(), start_layer=supply_pin.layer)
|
||||
|
||||
|
||||
for supply in ["gnd", "vdd"]:
|
||||
supply_pin_left = self.and2_insts[0].get_pin(supply)
|
||||
supply_pin_right = self.and2_insts[self.num_wmasks - 1].get_pin(supply)
|
||||
self.add_path(supply_pin_left.layer, [supply_pin_left.lc(), supply_pin_right.rc()])
|
||||
self.add_power_pin(supply, supply_pin_left.center(), start_layer=supply_pin_left.layer)
|
||||
self.add_power_pin(supply, supply_pin_right.center(), start_layer=supply_pin_right.layer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user