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:
parent
69fad7f9dd
commit
de9f61552f
|
|
@ -1012,6 +1012,7 @@ simdevVisit(dev, hierName, scale, trans)
|
||||||
|
|
||||||
/* Computation of length and width has been moved from efVisitDevs */
|
/* Computation of length and width has been moved from efVisitDevs */
|
||||||
EFGetLengthAndWidth(dev, &l, &w);
|
EFGetLengthAndWidth(dev, &l, &w);
|
||||||
|
if (esMergeDevsA || esMergeDevsC) w *= getCurDevMult();
|
||||||
|
|
||||||
/* If only two terminals, connect the source to the drain */
|
/* If only two terminals, connect the source to the drain */
|
||||||
gate = &dev->dev_terms[0];
|
gate = &dev->dev_terms[0];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue