Browse Source
src/spicelib/devices/*/*set.c, missing CKTdltNNum() invocations, medium cases
src/spicelib/devices/*/*set.c, missing CKTdltNNum() invocations, medium cases
All locally created nodes (CKTmk..() invocations in XXXsetup()) must be deleted in XXXunsetup() Otherwise CKTmk..() invocations during a following CKTsetup() will re-emit still used node numbers, thus accidentally shorting nodes. This patch fixes a little bit more complex cases, which are local node variables which will start with value 0 and eventually be set with the result of a CKTmk..() invocations, but might as well receive a node number from another node variable. Here CKTdltNNum() must not be invoked if the node number is merely a copy from another node variable.pre-master-46
5 changed files with 145 additions and 0 deletions
-
30src/spicelib/devices/bsim4/b4set.c
-
30src/spicelib/devices/bsim4v5/b4v5set.c
-
30src/spicelib/devices/bsim4v6/b4v6set.c
-
30src/spicelib/devices/bsim4v7/b4v7set.c
-
25src/spicelib/devices/bsimsoi/b4soiset.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue