From 9f973fa9fc44aceefb517ddd76a5d124ea642c4b Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 23 Aug 2019 14:01:28 -0400 Subject: [PATCH] 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. --- extract/ExtBasic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extract/ExtBasic.c b/extract/ExtBasic.c index 57f12df1..7787a09c 100644 --- a/extract/ExtBasic.c +++ b/extract/ExtBasic.c @@ -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; }