Corrected an error in which the "global substrate node" flag does

not get transferred to a new node during a node merge;  consequently,
the identity of the default substrate node gets lost, and node
capacitance to substrate ends up being placed on node "0"---
Probably okay for simulation, but not the expected result.
This commit is contained in:
R. Timothy Edwards 2026-02-18 12:28:48 -05:00
parent cb30ac369b
commit 00c0208f18
1 changed files with 8 additions and 0 deletions

View File

@ -2238,6 +2238,14 @@ efNodeMerge(node1ptr, node2ptr)
if (removing->efnode_flags & EF_SUBS_NODE)
keeping->efnode_flags |= EF_SUBS_NODE;
/*
* If "removing" has the EF_GLOB_SUBS_NODE flag set, then copy the
* port record in the flags to "keeping".
*/
if (removing->efnode_flags & EF_GLOB_SUBS_NODE)
keeping->efnode_flags |= EF_GLOB_SUBS_NODE;
/* If EFSaveLocs is set, then merge any disjoint segments from
/* If EFSaveLocs is set, then merge any disjoint segments from
* removing to keeping.
*/