rlar
6e829f7cc4
rewrite subckt.c
transform doit() into a true recursive version,
drop usage of global variables
reduce scope of many variables
cleanup and readability
FIXME,
an opportunity to plug a memory leak is visible now.
14 years ago
rlar
da06afb895
bug fix, numnodes()
in response to the `ex-41.cir' test case
distilled from a Dietmar Warning Bug report in
"Subject: Re: subckt, param"
translate() is called recursively and depends on
`num of nodes' provided by numnodes().
numnodes() depends on availability of `su_numargs'.
But the processing allows non-processing of subckt instantiations
in inner recursions (which will be processed later)
which means `su_numargs' is not always available.
14 years ago
rlar
d5f6bcbedf
drop some more casts
14 years ago
h_vogt
54501d90e0
beautify code
15 years ago
rlar
f7ea50c287
new: configure --enable-adms3
15 years ago
r29173
bab7e17a6a
added SPICEadmsdev - a super structure of SPICEdev used to build dynamic device libraries
15 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
15 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
rlar
0892d04c8a
explicit `int' casts for some ptrdiff_t expressions, where an `int' seems to be big enough
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
16 years ago
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
16 years ago
rlar
927470e12f
minor rewrite, avoid type conversion warnings
16 years ago
rlar
6e3bbd49ae
casts, to make int <-> char conversions explicit
16 years ago
rlar
b4ffca60c4
(int) casts for some `strlen()' expressions
16 years ago
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
6e9e8e2e51
trealloc usage unification
16 years ago
rlar
3c3b31fa60
declare some functions `static'
16 years ago
h_vogt
e45aff5549
b. added to i(b.xxx.byyy)
16 years ago
rlar
241783d0b5
use for(;;) instead of while(1) to muffle some visual-C warnings
16 years ago
rlar
8851f67efd
Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL)
16 years ago
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
16 years ago
rlar
d19476685a
tiny fixes
16 years ago
rlar
3369d860b4
cast the return values of malloc() function calls
16 years ago
h_vogt
aab308e863
bug, see support tracker no. 3013968
16 years ago
h_vogt
dd66fc7220
abort if .inc fails
16 years ago
h_vogt
1cf306f8e8
remove bugs in processing of lines
16 years ago
h_vogt
d850fdd7a3
fcn finishLine: add e. or h. to token inside i(...)
16 years ago
h_vogt
9e2f02fbe2
HERTZ added to B source
16 years ago
h_vogt
76feebbbfa
various bug fixes
16 years ago
dwarning
ba54c4d9b8
big kspice model update
16 years ago
h_vogt
f1a4f27d21
improved numparam error message
16 years ago
dwarning
88c64bc954
devmodtranslation for txl and cpl in subckts
16 years ago
h_vogt
204362044e
.gllobal bug
16 years ago
h_vogt
ecf5665104
patch for translate(), R. Larice, .global bug
16 years ago
dwarning
e09d408c0f
support of 5-terminal bjt's in subckt's
17 years ago
dwarning
07e06cf701
initialize local variables
17 years ago
dwarning
ca8bbd2695
/* within comment
17 years ago
h_vogt
9282e4e434
comments added
17 years ago
h_vogt
b16759cf97
1348: find last dot
17 years ago
h_vogt
3f7201376c
call to nupa_done() to release memory
17 years ago
h_vogt
faada68e9d
*** empty log message ***
17 years ago
h_vogt
0e61b7ccc0
collect info for dyn. mem arrays in numparam
17 years ago
h_vogt
55f5956bd1
bug no. 2293284 removed (preliminary)
17 years ago
dwarning
bce499a9e1
global nodes and numparams now as default
18 years ago
dwarning
e352cb46dd
correct subckt expansion and new bsim model level/version selection
19 years ago
pnenzi
6f3f195158
Additions from Phil Barker (subckt nodeset and ic, simvars, mosfet binning, various fixes)
19 years ago
pnenzi
53e52f4a59
Model improvements from Phil Barker
19 years ago