Corrected issue with extresist that involves a device with a

terminal connected to a substrate or well type that is not a
FET 4th terminal (e.g., a varactor, or maybe a diode).
This commit is contained in:
Tim Edwards 2022-04-12 17:41:17 -04:00
parent 9402b0dcdd
commit eb1e94f440
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
8.3.289
8.3.290

View File

@ -124,6 +124,10 @@ ResNewSubDevice(tile, tp, xj, yj, direction, PendingList)
j = (tileJunk *) tp->ti_client;
resDev = j->deviceList;
/* Arrived at a device that has a terminal connected to substrate */
/* that is not a FET bulk terminal (e.g., varactor, diode). */
if (resDev->rd_nterms < 4) return;
if (resDev->rd_fet_subs == (resNode *) NULL)
{
resptr = (resNode *) mallocMagic((unsigned)(sizeof(resNode)));