h_vogt
7911ed9eb9
subckt.c: `A' device , no special translation when nodename starts with `v'
13 years ago
h_vogt
7857a300ad
subckt.c: prevent crash if 5/6 MOS nodes w/o L, W
13 years ago
h_vogt
5cbdca2cc6
subckt.c: MOS model in subckt w/o L, W
13 years ago
h_vogt
d4e5d1f836
subckt.c: enable correct model renaming for inductors
13 years ago
h_vogt
6c74513120
fix bug #229 `Node name "n" is sometimes toxic'
Error: too few nodes for MOS or CPL:
m6 1 n 2 vss nch.3 l=4.3e-07 ...
http://sourceforge.net/p/ngspice/bugs/229/
13 years ago
dwarning
44786a490b
fix a leak in devmodtranslate 3 terminal section
14 years ago
dwarning
082a3e92ae
allow more then 4 terminal mos models in subckts
14 years ago
rlar
ba131a5077
remove adms3 #1/2, code
due to license issues, and with the aim to approach the next
ngspice release 25
we have to move this over to a development branch
14 years ago
rlar
ee0b602dc4
subckt.c, cleanup, use `for' instead of `while'
14 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
f3b5336d3a
cleanup some macros, try to be more careful
14 years ago
h_vogt
0af75f3bd9
subckt.c, mif_inp2.c: plug XSPICE setup memory leaks
14 years ago
h_vogt
b02a497490
mif_inp2.c, subckt.c: plug memory leaks at XSPICE setup
14 years ago
h_vogt
acfc7a2a27
remove memory leaks
14 years ago
rlar
64b8dfc570
use wl_delete_slice()
14 years ago
rlar
891d99497d
use wl_find()
14 years ago
rlar
561d30e5bf
implement wl_chop()
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
bde3536ecc
subckt.c, doit(): fix another memory leak
14 years ago
rlar
e3402554f0
subckt.c, doit(): fix a memory leak
14 years ago
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
14 years ago
rlar
f7ea50c287
new: configure --enable-adms3
14 years ago
r29173
bab7e17a6a
added SPICEadmsdev - a super structure of SPICEdev used to build dynamic device libraries
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
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
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