Corrected an out-of-order code block that can cause the USE statement

to be printed twice for a pin during "lef write".
This commit is contained in:
Tim Edwards 2020-05-29 09:35:54 -04:00
parent 483f15360a
commit 36f2d0cca9
2 changed files with 18 additions and 18 deletions

View File

@ -1 +1 @@
8.3.18 8.3.19

View File

@ -833,23 +833,6 @@ LefWritePinHeader(f, lab)
} }
fprintf(f, " ;\n"); fprintf(f, " ;\n");
} }
if (lab->lab_flags & PORT_SHAPE_MASK)
{
fprintf(f, IN1 "SHAPE ");
switch(lab->lab_flags & PORT_SHAPE_MASK)
{
case PORT_SHAPE_ABUT:
fprintf(f, "ABUTMENT");
break;
case PORT_SHAPE_RING:
fprintf(f, "RING");
break;
case PORT_SHAPE_THRU:
fprintf(f, "FEEDTHRU");
break;
}
fprintf(f, " ;\n");
}
#ifdef MAGIC_WRAPPER #ifdef MAGIC_WRAPPER
else else
{ {
@ -871,6 +854,23 @@ LefWritePinHeader(f, lab)
} }
} }
#endif #endif
if (lab->lab_flags & PORT_SHAPE_MASK)
{
fprintf(f, IN1 "SHAPE ");
switch(lab->lab_flags & PORT_SHAPE_MASK)
{
case PORT_SHAPE_ABUT:
fprintf(f, "ABUTMENT");
break;
case PORT_SHAPE_RING:
fprintf(f, "RING");
break;
case PORT_SHAPE_THRU:
fprintf(f, "FEEDTHRU");
break;
}
fprintf(f, " ;\n");
}
return ispwrrail; return ispwrrail;
} }