mirror of https://github.com/VLSIDA/OpenRAM.git
added contact to locali for wmask
This commit is contained in:
parent
22c821f5d8
commit
4e83e8c648
|
|
@ -10,7 +10,7 @@ import debug
|
|||
from sram_factory import factory
|
||||
from vector import vector
|
||||
from globals import OPTS
|
||||
|
||||
from tech import layer
|
||||
|
||||
class write_mask_and_array(design.design):
|
||||
"""
|
||||
|
|
@ -121,6 +121,9 @@ 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())
|
||||
|
||||
for supply in ["gnd", "vdd"]:
|
||||
|
|
@ -132,5 +135,3 @@ class write_mask_and_array(design.design):
|
|||
"""Get the relative capacitance of all the input connections in the bank"""
|
||||
# The enable is connected to an and2 for every row.
|
||||
return self.and2.get_cin() * len(self.and2_insts)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue