mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-30 09:58:55 +02:00
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:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user