mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
Modified area accumulation routines to avoid double-counting contacts
during "lef write".
This commit is contained in:
@@ -1102,6 +1102,9 @@ lefWriteMacro(def, f, scale, hide)
|
||||
DBSrPaintArea((Tile *)NULL, SelectDef->cd_planes[pNum],
|
||||
&TiPlaneRect, &gatetypemask,
|
||||
lefAccumulateArea, (ClientData) &antgatearea);
|
||||
// Stop after first plane with geometry to avoid double-counting
|
||||
// contacts.
|
||||
if (antgatearea > 0) break;
|
||||
}
|
||||
|
||||
antdiffarea = 0;
|
||||
@@ -1110,6 +1113,9 @@ lefWriteMacro(def, f, scale, hide)
|
||||
DBSrPaintArea((Tile *)NULL, SelectDef->cd_planes[pNum],
|
||||
&TiPlaneRect, &difftypemask,
|
||||
lefAccumulateArea, (ClientData) &antdiffarea);
|
||||
// Stop after first plane with geometry to avoid double-counting
|
||||
// contacts.
|
||||
if (antdiffarea > 0) break;
|
||||
}
|
||||
|
||||
// For all geometry in the selection, write LEF records,
|
||||
|
||||
Reference in New Issue
Block a user