dwarning
c1705e32ae
change model name from hisimhv to hisimhv1
2012-11-25 17:59:50 +01:00
dwarning
67aaf6a26e
rename directories hisimhv --> hisimhv1
2012-11-25 17:52:46 +01:00
dwarning
6abd2e2c0c
gnuplot.c: allow png terminal by gnuplot_terminal variable
2012-11-21 22:12:27 +01:00
dwarning
79119b3372
update hisim to version 2.7.0
2012-11-21 20:36:52 +01:00
Francesco Lannutti
0d0426e05c
b3ld.c, b4ld.c, b3v32ld.c: charge computation for MODEDCTRANCURCE instead of MODEDC
...
this is a fix for commit:
b3ld.c, b4ld.c, b3v32ld.c: enable capacitance calculation during dc sweep
2012-11-21 19:30:43 +01:00
h_vogt
a581c3b43f
mif_inp2.c: bug 3389072 fixed
2012-11-19 23:06:39 +01:00
h_vogt
b676a73167
beautify code
2012-11-19 21:48:13 +01:00
h_vogt
a419712eca
inp.c: pre_<command> to allow command execution from the .control section before parsing the circuit
2012-11-17 16:30:17 +01:00
rlar
843126d9a6
fix `make dist'
2012-11-16 22:29:55 +01:00
h_vogt
e4af384d7b
outitf.c: do not call clock() if MS Windows GUI
2012-11-07 22:17:16 +01:00
rlar
451c121dd5
improve commit `variable.c: add strict error handling'
2012-11-07 19:38:28 +01:00
dwarning
b7080fdbb7
make the level switch compatible for HiSIM2 and HiSIMHV
2012-11-07 11:35:51 +01:00
dwarning
13e1a7a5b9
rm whitespaces
2012-11-07 11:33:07 +01:00
Francesco Lannutti
952f55866e
remove "error.h" from Makefile.am
...
this file is not anymore in the "frontend" folder
and "make dist" failed to generate the tarball
2012-11-06 23:55:49 +01:00
dwarning
44786a490b
fix a leak in devmodtranslate 3 terminal section
2012-11-06 20:56:27 +01:00
Francesco Lannutti
a4e0cfe341
move windows specific `STRICT' definition to canonical place
2012-11-06 19:31:17 +01:00
Francesco Lannutti
1209a5b025
Makefiles, drop some CVS remnants
2012-11-06 19:18:54 +01:00
Francesco Lannutti
6b7f408ca8
avoid a compiler warning, (unused static function)
2012-11-06 19:13:54 +01:00
Francesco Lannutti
32c6a76fc2
Added datarootdir variable as usual behavior and to avoid autoconf warning
2012-11-06 10:38:44 +01:00
Francesco Lannutti
99296c9530
Solved linking error for ngsconvert after ft_stricterror patch in src/frontend/variable.c
2012-11-06 10:32:46 +01:00
Francesco Lannutti
b361dee4cc
fix #include <> versus ""
2012-11-05 21:34:54 +01:00
rlar
9976c1e177
XSPICE, install dlmain.c
...
for separate compilation of XSPICE user models
2012-11-05 21:23:52 +01:00
dwarning
082a3e92ae
allow more then 4 terminal mos models in subckts
2012-11-05 18:16:55 +01:00
h_vogt
d5a2a361f6
variable.c: add strict error handling
2012-11-04 14:16:27 +01:00
h_vogt
85244d0222
inpcom.c: remove bug in inp_add_series_resistor(),
...
prevent crash in inp_remove_ws() upon erroneous input
2012-11-04 14:15:37 +01:00
h_vogt
5c4f8946f6
inp.c: avoid crash if setparse() returns NULL
2012-11-04 14:12:03 +01:00
h_vogt
d8d8cf147e
spiceif.c: correct types being loaded by snload()
2012-11-03 16:24:01 +01:00
h_vogt
65b976dab7
rename commands 'savesnap', 'loadsnap' to 'snsave', 'snload'
...
to avoid conflict with command 'save'
2012-11-01 14:41:13 +01:00
rlar
ff2138b186
hisim2, bug fix, a numerical problem in the hisim2 and hisimhv models
...
First seen when compiled with gcc-4.6.2 -g -O1
The macro `Fn_SZ' which boils down to
1/2 * (x + sqrt(x*x + c*c))
was used in a context where a negative result
blew up the following computations.
(used to compute `Egidl', which is used to
compute exp(-1 / (Egidl + small_constant)))
For large negative values of x the computation
boils down to
1/2 ( x + almost(|x|) )
where the summands almost cancel each other,
sometimes yielding a small negative result.
small_constant was too small to avoid a big
result for -1/(Egidl + small_constant)
yielding an `inf' during the exp() computation,
which was later multiplied with a `0'
yielding a NaN,
which was carried forward
during the rest of computations.
Because the error of the cancellation scales
with the magnitude of x, no larger `small_constant'
could have avoided the problem.
Presumably the problem was amplified
by a mixture of precisions (double versus extended float)
of intermediate values.
(the program wasn't compiled for sse)
( x was -2.812500e+06,
c was 1.000000e-02,
Fn_SZ result was -1.853095e-11
thus the cancellation remainder
was of relative size
6.6e-18
which is approximately
2^-57
and thus more accurate
as a `double float' could have delivered
)
2012-11-01 23:04:51 +01:00
rlar
0c0f21faaf
hisim2, use TMALLOC, funcall, and NULL casts
2012-11-01 22:53:43 +01:00
rlar
a7a2ff0f7b
hisim2, fix NevalSrc(), Nintegrate() redeclaration
2011-05-22 10:16:08 +00:00
h_vogt
a57361333a
inpcom.c: add series resistor to each inductor with option rseries=1m
2012-10-29 23:13:20 +01:00
h_vogt
c53f74ee5f
com_ghelp.c: better message for help under Windows
2012-10-29 23:09:35 +01:00
Francesco Lannutti
08ec219417
remove all .cvsignore files
2012-10-26 18:30:14 +02:00
Francesco Lannutti
1dc70189a7
remove compilation warnings (type casts)
2012-10-26 18:04:44 +02:00
Francesco Lannutti
d8b2ac56a3
rename "bsim3soi" device to "bsimsoi"
2012-10-26 17:56:59 +02:00
rlar
2142d39506
remove adms3 #2/2, files
2012-10-25 18:54:09 +02:00
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
2012-10-25 18:54:09 +02:00
dwarning
e75fdab962
hisim2 update to version 2.6.1
2012-10-24 08:54:31 +02:00
Francesco Lannutti
fd4c492562
white space changes
2012-10-22 23:06:25 +02:00
Francesco Lannutti
5f34eb2729
white space changes
2012-10-22 23:06:25 +02:00
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
2012-10-22 23:06:25 +02:00
Francesco Lannutti
cb0ff8049a
white space changes
2012-10-22 23:06:25 +02:00
Francesco Lannutti
3342f58149
bsim3v1/ChangeLog, bsim4v4/ChangeLog: cleanup
2012-10-22 23:06:25 +02:00
rlar
a394d79c56
use utf-8 encoding
2012-10-20 21:27:15 +02:00
rlar
2bcadae16c
missing newline at end of file
2012-10-20 19:49:10 +02:00
rlar
5d1bc8e55d
Changed line-ending from DOS to UNIX
2012-10-20 19:48:48 +02:00
h_vogt
0853c374a1
inpcom.c: require parentheses in ternary functions if numparam
...
parser is involved (no B sources)
2012-10-17 22:28:49 +02:00
rlar
15606cf281
com_print(), fix a memory leak
2012-10-17 19:51:30 +02:00
rlar
99b0e78c84
DCtrCurv(), fix a memory leak
2012-10-17 19:39:30 +02:00
rlar
f038d59fbe
mkfnode(), fix a memory leak
2012-10-17 19:39:02 +02:00
rlar
31fa48cf17
com_write(), com_write_sparam(), fix a big memory leak
2012-10-15 20:55:55 +02:00
h_vogt
c6e631f30a
fourier.c: rename stored vectors
2012-10-15 18:37:07 +02:00
h_vogt
ae25f54709
inpcom.c: plug small memory leak
2012-10-15 18:35:12 +02:00
rlar
0336e31c57
vector.c, rewrite vec_basename(), FIXME !
...
This rewritten code is functionally equivalent to the previous code,
yet the result is queer,
because the char *v_name slot of struct dvec is read
beyond its terminating '\0'
Is there indeed some code in ngspice which creates
v_name strings with an embedded '\0' ?
2012-10-13 19:09:49 +02:00
rlar
ebc50b8639
inpcom.c, rewrite
2012-10-13 16:48:15 +02:00
h_vogt
339a002c55
fourier.c: output also to vector feature request tracker no. 3575841
2012-10-13 15:56:19 +02:00
rlar
374b716fdd
fourier.c: remove even more memory leaks
2012-10-13 13:25:00 +02:00
rlar
a4e167a657
inpcom.c, use strchr() in favour of strstr()
2012-10-13 12:27:20 +02:00
rlar
3b2b130177
inpcom.c, inp_fix_ternary_operator_str(), use copy_substring()
2012-10-13 12:00:29 +02:00
rlar
680e45f7f3
inpcom.c, inp_fix_ternary_operator_str(), rewrite
2012-10-13 11:47:22 +02:00
rlar
9352a4b72d
inpcom.c, get_instance_subckt(), more carefull when there is trailing whitespace
2012-10-13 11:31:37 +02:00
rlar
f61f323be0
inpcom.c, get_instance_subckt(), rewrite
2012-10-13 11:31:37 +02:00
h_vogt
2754771a61
fourier.c: remove memory leaks
2012-10-13 11:21:29 +02:00
rlar
7f0065e7fb
inpcom.c, make use of copy_substring()
2012-10-13 11:03:52 +02:00
rlar
69bf624097
inpcom.c, rewrite
2012-10-13 11:02:34 +02:00
rlar
3f4e2eed49
inpcom.c, bug fix in inp_get_subckt_name()
2012-10-13 10:45:09 +02:00
rlar
021a5dd871
inpcom.c, rewrite
2012-10-12 19:23:46 +02:00
rlar
e0b796f3c5
inpcom.c, rewrite
2012-10-12 18:10:52 +02:00
rlar
3085c471ac
inpcom.c, cleanup
2012-10-12 17:58:05 +02:00
rlar
dbf288bae7
inpcom.c, fix a bug
...
which was introduced in commit
skip-ws, #5/6, unify macro versions, obj not invariant
where the SKIP.*back.* macros have been unified
FIXME, the check for `\0' in the backwards direction if of course nonsense.
These backward functions either shall not check it at all (being optimistic),
or they shell check against a start of string pointer.
2012-10-11 19:33:32 +02:00
rlar
caf50ba4d8
inpcom.c, cleanup
2012-10-10 20:48:42 +02:00
h_vogt
3ca1235602
gnuplot.c: improve scaling of y axis
2012-10-09 19:47:24 +02:00
rlar
2b72fbbc5e
skip_ws(), #2/2, drop macros, obj-invariant
2012-10-08 17:48:27 +02:00
rlar
9f3f794ced
skip_ws(), #1/2, use functions instead of macros
2012-10-08 17:28:52 +02:00
rlar
701942cebf
skip-ws, #6/6, unify macro versions, obj-invariant
...
checked for object file invariance
2012-10-07 21:53:42 +02:00
rlar
532ff76dac
skip-ws, #5/6, unify macro versions, obj not invariant
2012-10-07 21:53:29 +02:00
rlar
6a5f234519
skip-ws, #4/6, use macros, obj-invariant
...
checked for object file invariance
2012-10-07 21:52:54 +02:00
rlar
4bf52410fb
skip-ws, #3/6, introduce macros, obj-invariant
...
checked for object file invariance
2012-10-07 21:52:35 +02:00
rlar
e3b5ff94c5
skip-ws, #2/6, prepare for rewrite, obj-invariant
...
checked for object file invariance
2012-10-07 21:52:22 +02:00
rlar
841db86e00
skip-ws, #1/6, prepare for rewrite, obj-invariant
...
checked for object file invariance
2012-10-07 21:52:09 +02:00
h_vogt
996dedaa71
inpcom.c: remove cccs from F, ccvs from H source
2012-10-07 17:12:42 +02:00
h_vogt
e69f50270d
inpcom.c: correct replacement of vccs, vcvs in E, G-sources
...
search for 'par(' instead of 'par'
2012-10-07 15:19:28 +02:00
rlar
01ed0ac5d9
com_fft(), com_psd(), com_spec(), cleanup storage more thoroughly
...
use free_pnode() instead of free_pnode_o()
drop free_pnode_o()
2012-10-06 21:07:27 +02:00
rlar
dfe8342b91
invoke com_remcirc() in com_quit()
2012-10-06 15:20:17 +02:00
rlar
c7717e37fc
cleanup, whitespace
2012-10-06 12:30:31 +02:00
rlar
7acc91157a
cleanup, drop unused macros
2012-10-06 12:16:07 +02:00
rlar
eb931dc01a
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #2/2
2012-10-06 12:12:17 +02:00
rlar
11579d9369
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
h_vogt
c336f5ec9d
outif.c, typesdef.c, sim.h: correct labeling of cap, cur, and charge data
2012-10-03 15:01:36 +02:00
h_vogt
7d82367666
b3ld.c, b4ld.c, b3v32ld.c: enable capacitance calculation during dc sweep
2012-10-03 14:28:19 +02:00
h_vogt
705e130868
b3v32.c: make additional parameters accessible by @m1[par]
2012-10-01 23:03:41 +02:00
h_vogt
c0bc0de4b5
prototype for controlled_exit()
2012-10-01 23:02:26 +02:00
rlar
7a65ea0318
com_write_sparam(), cleanup storage more thoroughly (`wl_sparam')
2012-10-01 21:28:48 +02:00
rlar
98b38556aa
com_alter_common(), cleanup storage more thoroughly (on error)
2012-10-01 21:09:26 +02:00
rlar
124f0f4727
com_write(), com_write_sparam(), com_cross(), cleanup storage more thoroughly
2012-10-01 21:03:53 +02:00
rlar
7b2c9db809
com_psd(), cleanup storage more thoroughly (`win')
2012-10-01 19:59:43 +02:00
rlar
a891e7dc9c
com_print(), cleanup storage more thoroughly
2012-10-01 19:44:49 +02:00
rlar
0f089d2bd6
com_compose(), cleanup storage more thoroughly
2012-10-01 18:31:02 +02:00
rlar
35c0e9eca3
variable rename, unify the source
...
checked for object file invariance
2012-10-01 17:59:40 +02:00