mirror of https://github.com/VLSIDA/OpenRAM.git
Zoom parameter should be optional in tech files.
This commit is contained in:
parent
da3a100301
commit
db118beeba
|
|
@ -396,10 +396,14 @@ class pin_layout:
|
|||
# Add the text in the middle of the pin.
|
||||
# This fixes some pin label offsetting when GDS gets
|
||||
# imported into Magic.
|
||||
try:
|
||||
zoom = GDS["zoom"]
|
||||
except KeyError:
|
||||
zoom = None
|
||||
newLayout.addText(text=self.name,
|
||||
layerNumber=layer_num,
|
||||
purposeNumber=label_purpose,
|
||||
magnification=GDS["zoom"],
|
||||
magnification=zoom,
|
||||
offsetInMicrons=self.center())
|
||||
|
||||
def compute_overlap(self, other):
|
||||
|
|
|
|||
Loading…
Reference in New Issue