From de9f61552fca60a787241f1c9c6382b2bb2de891 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 20 Oct 2017 16:48:55 -0400 Subject: [PATCH] Added back a missing multiplication by the number of merged devices for "ext2sim" when using "ext2sim merge" (either aggressive or conservative merge). Same change as made to magic-8.1. --- ext2sim/ext2sim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext2sim/ext2sim.c b/ext2sim/ext2sim.c index 4eb1980d..897e4f31 100644 --- a/ext2sim/ext2sim.c +++ b/ext2sim/ext2sim.c @@ -1012,6 +1012,7 @@ simdevVisit(dev, hierName, scale, trans) /* Computation of length and width has been moved from efVisitDevs */ EFGetLengthAndWidth(dev, &l, &w); + if (esMergeDevsA || esMergeDevsC) w *= getCurDevMult(); /* If only two terminals, connect the source to the drain */ gate = &dev->dev_terms[0];