~kicad/+git/ngspice-mirror-sourceforge:fix-CKTunsetup

Last commit made on 2017-01-07
Get this branch:
git clone -b fix-CKTunsetup https://git.launchpad.net/~kicad/+git/ngspice-mirror-sourceforge
Members of KiCad can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
fix-CKTunsetup
Repository:
lp:~kicad/+git/ngspice-mirror-sourceforge

Recent commits

ab5bf36... by rlar <rlar>

FIXME, worst case, can'T fit GENnodes[] usage at all !

this device has a completely variable number of ports,
and those are not at all at the expected GENnodes[] place.

perhaps this can be worked around by saying it has zero ports,
  together with special code in INP2..c

509e2ea... by rlar <rlar>

FIXME, nbjt, nbjt2, excess XXXNames[] entry

or incorrectly postioned node variable in the instance struct.
will lead to incorrect initialisation, local var will be overwritten !

b59e2d0... by rlar <rlar>

FIXME, soi stuff, very seriously broken !

fb4343a... by rlar <rlar>

FIXME, bsim3 + 4, Charge Node, aka, qNode

if this is really an "external" optional node,
  then this must be moved up in the struct definition to match
  position with the XXNames[] array, and to match usage via GENnode[]

if it is merly an "internal" node, which might be monitored via CKTfindBranch,
  then it should be removed from the XXNames[] array, again to fit usage via GENnode[]

05188c6... by rlar <rlar>

FIXME, may be ok, but i'm surprised, txl really has only 2 nodes ? verify !

78d8864... by rlar <rlar>

presumably correct GENnodes[] <--> XXnames[] associations

this is a "pin-pointer" commit,
  pointing to places for source code verification

we have int Nodes in every device instance,
these are overlaid with struct GENinstance.GENnode[] and will be used
from there too.
the length entries and the XXnames[] arrays *must* fit this.

26da22e... by rlar <rlar>

FIXME, the previous commit might interfere with certain devices having optional ports, which previously where initialised to zero, now are initialised to -1 !

68a79f7... by rlar <rlar>

inp2m.c, INP2M(), bug fix, drop excess GENnode initialisation

Thats done in CKTcrtElt() now,
  and avoids overwritting private device internal Node variables,
  which are expected to be initialised to zero (by TMALLOC)

d4ce2ca... by rlar <rlar>

cktcrte.c, CKTcrtElt(), initialise new instance ports to be unconnected aka -1

cac8c63... by rlar <rlar>

ckti2nod.c, cktbindnode.c, minor cleanup