From 31ba6eeba39f7879c05641d70a00aeadfa39c1d7 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 9 Nov 2022 15:14:53 -0500 Subject: [PATCH] Corrected an error introduced with the last push which changes wire direction on vias during DEF write without changing the "orient" value, causing Y values to get copied into X positions in the output. --- lef/defWrite.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lef/defWrite.c b/lef/defWrite.c index afdbdc84..96fee895 100644 --- a/lef/defWrite.c +++ b/lef/defWrite.c @@ -1129,7 +1129,10 @@ defNetGeometryFunc(tile, plane, defdata) midlinex2 = (r.r_xtop + r.r_xbot); } else + { + orient = GEO_EAST; midlinex2 = (r.r_ytop + r.r_ybot); + } } /* Find the route orientation and centerline endpoint coordinates */