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.
This commit is contained in:
Tim Edwards 2017-10-20 16:48:55 -04:00
parent 69fad7f9dd
commit de9f61552f
1 changed files with 1 additions and 0 deletions

View File

@ -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];