Skip to content

Commit

Permalink
Corrected an error in the "cifarea" rule that had previously been
Browse files Browse the repository at this point in the history
fixed for "cifwidth" and "cifspacing", in which the rule distance
is incorrectly multiplied by the expander (in the case of area,
multiplied by the expander squared).
  • Loading branch information
RTimothyEdwards committed Jan 14, 2024
1 parent 6b8239e commit 6310922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drc/DRCcif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ drcCifArea(argc, argv)
}

scalefactor = drcCifStyle->cs_scaleFactor;
centiarea *= (drcCifStyle->cs_expander * drcCifStyle->cs_expander);
// centiarea *= (drcCifStyle->cs_expander * drcCifStyle->cs_expander);
dpnext = drcCifRules[thislayer][DRC_CIF_SPACE];
dpnew = (DRCCookie *) mallocMagic((unsigned) (sizeof (DRCCookie)));
drcCifAssign(dpnew, centihorizon, dpnext, &CIFSolidBits, &CIFSolidBits,
Expand Down

0 comments on commit 6310922

Please sign in to comment.