mirror of https://github.com/VLSIDA/OpenRAM.git
Fix capitalization of pins in dff_array
This commit is contained in:
parent
6e9437356a
commit
54f245cb9f
|
|
@ -91,7 +91,7 @@ class dff_array(design.design):
|
||||||
|
|
||||||
for y in range(self.rows):
|
for y in range(self.rows):
|
||||||
for x in range(self.columns):
|
for x in range(self.columns):
|
||||||
din_pin = self.dff_insts[x,y].get_pin("d")
|
din_pin = self.dff_insts[x,y].get_pin("D")
|
||||||
debug.check(din_pin.layer=="metal2","DFF d pin not on metal2")
|
debug.check(din_pin.layer=="metal2","DFF d pin not on metal2")
|
||||||
self.add_layout_pin(text="din[{0}][{1}]".format(x,y),
|
self.add_layout_pin(text="din[{0}][{1}]".format(x,y),
|
||||||
layer=din_pin.layer,
|
layer=din_pin.layer,
|
||||||
|
|
@ -99,7 +99,7 @@ class dff_array(design.design):
|
||||||
width=din_pin.width(),
|
width=din_pin.width(),
|
||||||
height=din_pin.height())
|
height=din_pin.height())
|
||||||
|
|
||||||
dout_pin = self.dff_insts[x,y].get_pin("q")
|
dout_pin = self.dff_insts[x,y].get_pin("Q")
|
||||||
debug.check(dout_pin.layer=="metal2","DFF q pin not on metal2")
|
debug.check(dout_pin.layer=="metal2","DFF q pin not on metal2")
|
||||||
self.add_layout_pin(text="dout[{0}][{1}]".format(x,y),
|
self.add_layout_pin(text="dout[{0}][{1}]".format(x,y),
|
||||||
layer=dout_pin.layer,
|
layer=dout_pin.layer,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue