From bdf684dafe5e5cf3b6f2438c434c0442f50e2d13 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 13 Jun 2020 11:15:33 -0400 Subject: [PATCH] An additional change to remove the formatting for the antenna area output values, which were set to format according to database distance precision (which is not the same as area). --- lef/lefWrite.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lef/lefWrite.c b/lef/lefWrite.c index c21b1e07..81fe1098 100644 --- a/lef/lefWrite.c +++ b/lef/lefWrite.c @@ -1358,13 +1358,11 @@ lefWriteMacro(def, f, scale, hide) if (ispwrrail == FALSE) { if (antgatearea > 0) - fprintf(f, IN1 "ANTENNAGATEAREA " FP " ;\n", - lefPrint(lc.oscale * lc.oscale - * (float)antgatearea)); + fprintf(f, IN1 "ANTENNAGATEAREA %f ;\n", + lc.oscale * lc.oscale * (float)antgatearea); if (antdiffarea > 0) - fprintf(f, IN1 "ANTENNADIFFAREA " FP " ;\n", - lefPrint(lc.oscale * lc.oscale - * (float)antdiffarea)); + fprintf(f, IN1 "ANTENNADIFFAREA %f ;\n", + lc.oscale * lc.oscale * (float)antdiffarea); } lc.needHeader = FALSE; }