mirror of https://github.com/VLSIDA/OpenRAM.git
Move supply pins for wmask and array to edge to avoid channel route congestion
This commit is contained in:
parent
c0ab0af201
commit
e6ff73dbc1
|
|
@ -139,11 +139,10 @@ class write_mask_and_array(design.design):
|
||||||
to_layer="m3",
|
to_layer="m3",
|
||||||
offset=en_pos)
|
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"]:
|
for supply in ["gnd", "vdd"]:
|
||||||
supply_pin_left = self.and2_insts[0].get_pin(supply)
|
supply_pin_left = self.and2_insts[0].get_pin(supply)
|
||||||
supply_pin_right = self.and2_insts[self.num_wmasks - 1].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_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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue