mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-02 19:59:15 +02:00
Working through various issues with parasitic capacitance extraction
using the newer methods for nearest-edge searching and fringe area of effect. Removed a same-net check in a routine that removes capacitances that are redundant due to hierarchical overlaps; these redundancies must be checked on shapes within the same net. Corrected (again) an out-of-clip-bounds check.
This commit is contained in:
+2
-2
@@ -4016,11 +4016,11 @@ extNodeAreaFunc(tile, arg)
|
||||
if (extNodeClipArea)
|
||||
{
|
||||
TITORECT(tile, &r);
|
||||
GEOCLIP(&r, extNodeClipArea);
|
||||
|
||||
/* Check if the tile is outside the clip area */
|
||||
if ((r.r_xtop <= r.r_xbot) || (r.r_ytop < r.r_ybot)) continue;
|
||||
if (!GEO_OVERLAP(&r, extNodeClipArea)) continue;
|
||||
|
||||
GEOCLIP(&r, extNodeClipArea);
|
||||
area = (dlong)(r.r_xtop - r.r_xbot) * (dlong)(r.r_ytop - r.r_ybot);
|
||||
}
|
||||
else area = (dlong)(TOP(tile) - BOTTOM(tile)) * (dlong)(RIGHT(tile) - LEFT(tile));
|
||||
|
||||
Reference in New Issue
Block a user