diff --git a/VERSION b/VERSION index 7f9ff1d6..7129a9fd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.281 +8.3.282 diff --git a/lef/defWrite.c b/lef/defWrite.c index ffe3528b..eccd1ba2 100644 --- a/lef/defWrite.c +++ b/lef/defWrite.c @@ -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 */