mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 09:30:38 +02:00
Change write driver supply pins to M2
This commit is contained in:
@@ -82,7 +82,17 @@ class write_driver_array(design.design):
|
||||
offset=br_pin.ll(),
|
||||
width=br_pin.width(),
|
||||
height=br_pin.height())
|
||||
|
||||
|
||||
for n in ["vdd", "gnd"]:
|
||||
pin_pos = self.driver_insts[i].get_pin(n).center()
|
||||
# Add the M2->M3 stack
|
||||
self.add_via_center(layers=("metal2", "via2", "metal3"),
|
||||
offset=pin_pos)
|
||||
self.add_layout_pin_rect_center(text=n,
|
||||
layer="metal3",
|
||||
offset=pin_pos)
|
||||
|
||||
|
||||
|
||||
self.add_layout_pin(text="en",
|
||||
layer="metal1",
|
||||
@@ -90,16 +100,5 @@ class write_driver_array(design.design):
|
||||
width=self.width,
|
||||
height=drc['minwidth_metal1'])
|
||||
|
||||
self.add_layout_pin(text="vdd",
|
||||
layer="metal1",
|
||||
offset=self.driver_insts[0].get_pin("vdd").ll().scale(0,1),
|
||||
width=self.width,
|
||||
height=drc['minwidth_metal1'])
|
||||
|
||||
self.add_layout_pin(text="gnd",
|
||||
layer="metal1",
|
||||
offset=self.driver_insts[0].get_pin("gnd").ll().scale(0,1),
|
||||
width=self.width,
|
||||
height=drc['minwidth_metal1'])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user