mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
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:
@@ -974,6 +974,13 @@ defNetGeometryFunc(tile, plane, defdata)
|
|||||||
TxPrintf("Net at (%d, %d) has width %d, default width is %d\n",
|
TxPrintf("Net at (%d, %d) has width %d, default width is %d\n",
|
||||||
r.r_xbot, r.r_ybot,
|
r.r_xbot, r.r_ybot,
|
||||||
(h < w) ? h : w, routeWidth);
|
(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 */
|
/* Find the route orientation and centerline endpoint coordinates */
|
||||||
|
|||||||
Reference in New Issue
Block a user