Corrected a minor issue in "def write" that will ignore a wire

completely if the width does not match the wire minimum width,
rather than attempt to cope with it gracefully.
This commit is contained in:
Tim Edwards 2022-03-28 22:34:12 -04:00
parent 84fbaa4ee1
commit 3b44dacab5
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
8.3.281
8.3.282

View File

@ -974,6 +974,13 @@ defNetGeometryFunc(tile, plane, defdata)
TxPrintf("Net at (%d, %d) has width %d, default width is %d\n",
r.r_xbot, r.r_ybot,
(h < w) ? h : w, routeWidth);
/* Set orientation based on longest side */
if (h > w)
{
orient = GEO_NORTH;
midlinex2 = (r.r_xtop + r.r_xbot);
}
}
/* Find the route orientation and centerline endpoint coordinates */