Minor correction to device extraction using the new device structure

format with multiple devices per magic tile type.  The code was left
incompatible with diodes defined with one terminal as substrate
(and therefore no source/drain-like types connecting to the device
type).  This has been fixed.
This commit is contained in:
Tim Edwards 2019-08-23 14:01:28 -04:00
parent a75aec4d7c
commit 9f973fa9fc
1 changed files with 2 additions and 1 deletions

View File

@ -2704,7 +2704,7 @@ extTransPerimFunc(bp)
break;
}
}
if (toutside == TT_SPACE) break;
if (SDterm) break;
if (extConnectsTo(tinside, toutside, ExtCurStyle->exts_nodeConn))
{
@ -2715,6 +2715,7 @@ extTransPerimFunc(bp)
/* Did not find a matching terminal, so see if a different extraction */
/* record matches the terminal type. */
devptr = extDevFindMatch(devptr, tinside);
if (devptr == deventry) devptr = NULL;
}