Francesco Lannutti
2dcc83510b
KLU Integration from scratch #5 , devices
12 years ago
rlar
45a70b3a53
rewrite, use enum instead of #define sequences
see branch "rewrite-defines2enum"
8 years ago
rlar
d981fb331b
spicelib/devices/*, drop empty destroy functions
8 years ago
rlar
cd1bbf2003
rewrite, use designated initializer for SPICEdev initialisation
8 years ago
rlar
8c7d7051ae
GENmodel, GENinstance, change layout, #4/4, complete the change
currently each and every device specific instance and model structure
duplicates the memory layout of a struct GENmodel / GENinstance
further the first structure elements behind a GENinstance header
are reinterpreted as a sort of a generic "node" array.
This business is very error prone, and makes it difficult to
extend struct GENmodel / struct GENinstance.
This patch makes this business much more bearable.
8 years ago
rlar
2c9bfecbad
GENmodel, GENinstance, change layout, #3/4, coccinelle semantic patch
8 years ago
rlar
2dcb79d09c
GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch
8 years ago
rlar
1befa488f6
DEVdestroy(), change API, #1/2, coccinelle semantic patch
8 years ago
rlar
b17ee71576
DEVmodDelete(), change API, #1/2, coccinelle semantic patch
8 years ago
rlar
e0f1e5a3de
DEVdelete(), change API, #1/2, coccinelle semantic patch
8 years ago
rlar
a8e440eabe
whitespace cleanup, comments cleanup, line wrap
8 years ago
rlar
e311096429
gendef.h, get rid of awkward counted GENnode macros
8 years ago
rlar
00c743c37d
src/spicelib/devices/*/*def*.h, declare external node variables const
for almost all other external nodes (notable exception "txl")
src/spicelib/devices/*/*def*.h, declare external node variables const
1) The compiler shall emit an error message if we still mess around
with external node numbers.
2) To mark which elements of the instance struct are meant to be set
externally when parsing the netlist
These "external" node variables are exclusively set via the
overlay struct GENinstance, member GENnode[]
We shall not mess around with these "external" node variables
because it would get rather difficult to avoid bugs considering
re-invocation of the XXXsetup() routine.
This gets interesting for devices with optional ports,
which get copied around depending on the amount of connected ports.
9 years ago
rlar
4d79617cf1
spicelib/devcies/*dest.c, rewrite DEVdestroy() functions
10 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
Henrik Forsten
3794c1eb20
mark end of struct GENmodel overlay
13 years ago
dwarning
bf9ad0bdfd
introduce new SPICEdev operation `DEVsoaCheck()'
13 years ago
rlar
f0d36d956e
CKTfndMod(), cleanup
13 years ago
rlar
e7def1a0bc
CKTfndMod(), drop unused arguments `type' and `modfast'
13 years ago
rlar
59309e196b
CKTfndMod(), cleanup
13 years ago
rlar
b32c15d85f
CKTfndMod(), dont pass the `type' argument by reference any more
13 years ago
rlar
494ef3f628
CKTfndMod(), cleanup
13 years ago
rlar
247ae92ae8
CKTfndMod(), unuse the `type' argument
13 years ago
rlar
213304f745
CKTfndMod(), rewrite error expressions
13 years ago
rlar
f0882dbdfd
CKTfndMod(), return the found model instead of error code
13 years ago
rlar
b97c2ba5d1
CKTfndMod(), express error return value outside of this function
13 years ago
rlar
bd7e93de6c
CKTfndMod(), assert some facts
13 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
Francesco Lannutti
c23bd59c44
removed ancient PARALLEL_ARCH feature
removed variables
ARCHme
ARCHsize
removed functions
SMPcombine()
SMPcCombine()
CKTpartition()
removed files
spcombin.c
cktpartn.c
removed struct slots
STATcombineTime
STATtranCombTime
STATacCombTime
GENowner
<MODEL>owner
14 years ago
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
14 years ago
rlar
d03d5dfa2d
drop some casts
14 years ago
rlar
afa1371746
#3/6 config.h --> ngspice/config.h, AM_CPPFLAGS
14 years ago
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
h_vogt
e6c86b4d98
explicit casting double -> int etc.
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
0b6a557334
code cleanup
15 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
f7bd3f56c8
change some model parameters from IF_REAL to IF_INTEGER
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
16 years ago
rlar
44a182c1ba
use the type CKTnode instead of void*
16 years ago
rlar
d897817800
drop a bunch of (void**) NULL casts {invocation of IFnewUid()}
16 years ago
rlar
085afaee37
use GENinstance*, instead of void*
16 years ago
rlar
63fae60605
use the GENmodel and GENinstance type instead of void*
16 years ago
rlar
94518fdb02
use CKTcircuit instead of void*, #3/4
16 years ago
pnenzi
fa549df82a
TCLSPICE IMPORT + libtool + measure2 command
18 years ago
pnenzi
7f6ad5c706
Updated to new automake standard. Replaced all INCLUDES with AM_CPPFLAGS
18 years ago