Merge branch 'master' into bplane
Merging master change to resis/ResBasic.c (correction for non-Manhattan geometry).
This commit is contained in:
commit
4b2bf7b61d
|
|
@ -750,7 +750,16 @@ ResCalculateChildCapacitance(me)
|
||||||
for (tptr = me->rn_te; tptr != NULL; tptr = tptr->te_nextt)
|
for (tptr = me->rn_te; tptr != NULL; tptr = tptr->te_nextt)
|
||||||
{
|
{
|
||||||
dev = tptr->te_thist;
|
dev = tptr->te_thist;
|
||||||
t = TiGetType(dev->rd_tile);
|
/* Hack for non-Manhattan geometry. Only one side of a split */
|
||||||
|
/* tile should correspond to a device type. */
|
||||||
|
if (IsSplit(dev->rd_tile))
|
||||||
|
{
|
||||||
|
t = TiGetLeftType(dev->rd_tile);
|
||||||
|
if (ExtCurStyle->exts_device[t] == NULL)
|
||||||
|
t = TiGetRightType(dev->rd_tile);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
t = TiGetType(dev->rd_tile);
|
||||||
if (dev->rd_fet_gate == me)
|
if (dev->rd_fet_gate == me)
|
||||||
{
|
{
|
||||||
devptr = ExtCurStyle->exts_device[t];
|
devptr = ExtCurStyle->exts_device[t];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue