A recent commit caused connections to implicit (unlabeled) substrate

to not get into the subcircuit port list during ext2spice.  The new
fix brings back (unfortunately) the behavior of creating a substrate
node for cells that have no substrate connection to any device;
this will have to be handled separately.
This commit is contained in:
Tim Edwards 2021-11-03 17:34:38 -04:00
parent 3e07197dfa
commit c0ea133e98
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1 @@
8.3.222
8.3.223

View File

@ -645,6 +645,15 @@ efAddOneConn(hc, name1, name2, conn, doWarn)
efNodeMerge(&node, &newnode);
}
/* NOTE: If called through efAddOneConn, then this is by definition */
/* a port; so if EF_SUBS_NODE is set, then it should also be defined */
/* as EF_SUBS_PORT. But, this also adds a port for the substrate */
/* even if there are no connected devices, so connections to devices */
/* need to be tracked as well as whether it is a node or a port. */
if (node->efnode_flags & EF_SUBS_NODE)
node->efnode_flags |= EF_SUBS_PORT;
return 0;
}