mirror of https://github.com/VLSIDA/OpenRAM.git
Add separate box for pins if it has its own purpose
This commit is contained in:
parent
a2ebaf9f81
commit
d542b7dd76
|
|
@ -379,6 +379,14 @@ class pin_layout:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
label_purpose = purpose
|
label_purpose = purpose
|
||||||
|
|
||||||
|
newLayout.addBox(layerNumber=layer_num,
|
||||||
|
purposeNumber=purpose,
|
||||||
|
offsetInMicrons=self.ll(),
|
||||||
|
width=self.width(),
|
||||||
|
height=self.height(),
|
||||||
|
center=False)
|
||||||
|
# Draw a second pin shape too
|
||||||
|
if pin_purpose != purpose:
|
||||||
newLayout.addBox(layerNumber=layer_num,
|
newLayout.addBox(layerNumber=layer_num,
|
||||||
purposeNumber=pin_purpose,
|
purposeNumber=pin_purpose,
|
||||||
offsetInMicrons=self.ll(),
|
offsetInMicrons=self.ll(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue