mirror of https://github.com/VLSIDA/OpenRAM.git
Simplify write mask supply via logic
This commit is contained in:
parent
8cd1cba818
commit
bed2e36550
|
|
@ -134,10 +134,7 @@ class write_mask_and_array(design.design):
|
||||||
|
|
||||||
for supply in ["gnd", "vdd"]:
|
for supply in ["gnd", "vdd"]:
|
||||||
supply_pin=self.and2_insts[i].get_pin(supply)
|
supply_pin=self.and2_insts[i].get_pin(supply)
|
||||||
if "li" in layer:
|
self.add_power_pin(supply, supply_pin.center(), start_layer=supply_pin.layer)
|
||||||
self.add_power_pin(supply, supply_pin.center(), start_layer="li", directions=("H", "H"))
|
|
||||||
else:
|
|
||||||
self.add_power_pin(supply, supply_pin.center())
|
|
||||||
|
|
||||||
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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue