Merge branch 'master' into bplane

Merging master change to resis/ResBasic.c (correction for non-Manhattan
geometry).
This commit is contained in:
Tim Edwards 2020-03-26 10:41:04 -04:00
commit 4b2bf7b61d
1 changed files with 10 additions and 1 deletions

View File

@ -750,7 +750,16 @@ ResCalculateChildCapacitance(me)
for (tptr = me->rn_te; tptr != NULL; tptr = tptr->te_nextt)
{
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)
{
devptr = ExtCurStyle->exts_device[t];