rlar
09fbc0ee97
inp2m.c, #6/9c, now fix model_numnodes()
to prevent instance struct storage beeing overwritten.
9 years ago
rlar
54f6bd8d56
inp2m.c, #5/9c, rewrite
9 years ago
rlar
01b75e08ab
inp2m.c, #4/9c, rewrite using model_numnodes()
9 years ago
rlar
396441e1ea
inp2m.c, #3/9c, abstraction, introduce model_numnodes()
Note:
This commit does not change behaviour in any way,
yet one can instantly see some sickness now.
Some of the models definitely do not have 7 nodes,
Actually we would like to fetch the number of terminals from
struct IFdevice, slot terms or slot numNames
But it turns out several models publish bogus values.
For example "B4SOI", which has 7 nodes, but claims to have 8
9 years ago
rlar
3bb68fbd7a
inp2m.c, #2/9c, rewrite using GENnode[]
9 years ago
rlar
81b5278674
inp2m.c, #1/9c, rename 'nodeflag'
9 years ago
rlar
c89e7c8818
inp2m.c, #15/15b, collapse remaining code into a for loop
9 years ago
rlar
85236c08e6
inp2m.c, #14/15b, cleanup, drop empty blocks
9 years ago
rlar
8fa3afa4ae
inp2m.c, #13/15b, rewrite, move common code to the end
9 years ago
rlar
3d6a2e2422
inp2m.c, #12/15b, unify, add code which won't be executed at all
actually, this most certainly unveils a bug in the original code,
lacking invocation of INPgetModBin() when optional extra nodes come
into play.
9 years ago
rlar
99136a16e7
inp2m.c, #11/15b, rewrite, use array expressions
9 years ago
rlar
7eb6006461
inp2m.c, #10/15b, use 'nodeflag' instead of literal values
9 years ago
rlar
7ab64775b8
inp2m.c, #9/15b, rewrite, use arrays for 'node' and 'mname'
9 years ago
rlar
395939d2f4
inp2m.c, #8/15b, unify, add two invocations without any effect
9 years ago
rlar
55c9c3a73b
inp2m.c, #7/15b, cleanup some braces
9 years ago
rlar
7a1b65f045
inp2m.c, #6/15b, abstraction, introduce valid_numnodes()
9 years ago
rlar
cff00524c2
inp2m.c, #5/15b, express some facts in comments for the following commits
9 years ago
rlar
0a95935e46
inp2m.c, #4/15b, unify code slightly
9 years ago
rlar
f7b3f40c70
inp2m.c, #3/15b, set 'save' a little sooner
9 years ago
rlar
40c632f8a7
inp2m.c, #2/15b, drop TRACE code
9 years ago
rlar
f9213e3fe4
inp2m.c, #1/15b, drop comments
9 years ago
rlar
6fde9353ea
inp2m.c, #7/7, whitespace
9 years ago
rlar
11572fe9d0
inp2m.c, #6/7, polish comments
9 years ago
rlar
f66d37463f
inp2m.c, #5/7, renumber `nodeflag'
9 years ago
rlar
6a275a6bd9
inp2m.c, #4/7, rewrite
9 years ago
rlar
08b798c485
inp2m.c, #3/7, line wraps
9 years ago
rlar
f23876e30c
inp2m.c, #2/7, cleanup braces
9 years ago
rlar
80f58e98a8
inp2m.c, #1/7, cleanup comparisons
9 years ago
rlar
a2347a28d6
inp2*.c, cleanup, drop redundant initialisation
which can be dropped to the recently fixed INPgetMod(), see
inpgmod.c, INPgetMod(), bug fix, missing 'model' assignment
Note:
there have been INPgetMod() invocations without initialisation,
causing access to non-initialised memory with the unfixed INPgetMod()
9 years ago
dwarning
6dbe8e618d
correct node assignment for hisimhv
11 years ago
dwarning
9ed2da9ad9
new hisimhv model version 2.2.0 in a separate directory
11 years ago
dwarning
010174ec2a
devices/bsim4v7, add to build infrastructure
12 years ago
dwarning
cba69c4850
devices/bsim4v4, remove ancient bsim4 model version 4.4
12 years ago
h_vogt
dad80811f9
inp2m.c: plug memory leak
13 years ago
h_vogt
4d1b4bfa0a
inp2m.c: indentation
13 years ago
h_vogt
d8fe6bd671
inp2m.c: plug a small memory leak
13 years ago
rlar
31ff2ee073
polish `LITERR' macro
checked for object file invariance
13 years ago
rlar
d52c9e401a
polish `IFC' macro
checked for object file invariance,
different code for inppas3.c, seems to be ok
13 years ago
h_vogt
1b4c17a464
rename spicelib/parser/inp.h to inpxx.h
since we have another "inp.h" in src/frontend
13 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
49000cc7e2
fix warning of potential (actuall impossible) usage of uninitialized node5..7
15 years ago
rlar
087667dfa0
avoid incorrect bindnodes when falling back to a 4 node device
15 years ago
dwarning
6b35352b64
Update to version 4.7.0 & Code merged into bsim4v4
15 years ago
dwarning
5dd55910c7
changes for hisim version 2.5.1
15 years ago
dwarning
1906903fb4
add the HiSIM_HV model vers. 1.2.1
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
dwarning
4b74852dce
code merge for bsim3 version 0 and 1
15 years ago
rlar
99b2f9febf
drop (GENinstance*) casts, which are no longer necessary
16 years ago
rlar
44a182c1ba
use the type CKTnode instead of void*
16 years ago