mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-30 18:02:23 +02:00
Simplify write mask supply via logic
This commit is contained in:
@@ -134,10 +134,7 @@ class write_mask_and_array(design.design):
|
||||
|
||||
for supply in ["gnd", "vdd"]:
|
||||
supply_pin=self.and2_insts[i].get_pin(supply)
|
||||
if "li" in layer:
|
||||
self.add_power_pin(supply, supply_pin.center(), start_layer="li", directions=("H", "H"))
|
||||
else:
|
||||
self.add_power_pin(supply, supply_pin.center())
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user