rlar
afd5147f98
devices/res, #4/6, RESacConduct, include RESm
Henceforward RESacConduct (renamed to RESacConductX) shall include factor RESm.
That's a mere rewrite and doesn't change functionality.
9 years ago
rlar
6941c43673
devices/res, #3/6, RESacConduct, collect RESm
Reshape the sourcecode to emphasize the RESm * RESacConduct affiliation.
That's a mere rewrite and doesn't change functionality.
9 years ago
rlar
7edd241e96
devices/res, #2/6, RESconduct, collect RESm
Reshape the sourcecode to emphasize the RESm * RESconduct affiliation.
That's a mere rewrite and doesn't change functionality.
9 years ago
rlar
5b23f0c684
devices/res, #1/6, REScurrent, include RESm
Henceforward REScurrent (renamed to REScurrentX) shall include factor RESm.
That's a mere rewrite and doesn't change functionality.
9 years ago
rlar
f73a353d6b
devices/res/resnoise.c, cleanup using pow()
9 years ago
rlar
abb07c4306
devices/res/restemp.c, RESupdate_conduct(), avoid excess warnings
This function is invoked several times during initialisation,
possibly with yet incomplete model and instance parameter settings.
And it might be invoked many times during dc sweep.
9 years ago
rlar
cffab98882
devices/res/resparam.c, bug fix, alter resistance not honoured when resuming a transient simulation
When "alter" is invoked after a break-point stopped a transient simulation,
then it might be necessary to update RESconductance
before continuing the transient simulation.
Thanks for the bug report to An Zou
in message "alter resistor value" on the ngspice-users forum
https://sourceforge.net/p/ngspice/discussion/133842/thread/33ce6855/
9 years ago
rlar
0e1294b3b5
devices/res/resparam.c, whitespace and parenthesis
9 years ago
rlar
0a48e6f2a7
devices/res, introduce RESupdate_conduct()
which will be usefull later
9 years ago
rlar
0af576a7d8
devices/res/resask.c, bug fix, set and query of RESresist and RESacResist shall comute
Note:
RESresist and RESacResist are device parameters
they do not reflect effective resistance when "ask"'ed
(don't reflect tc1, tc2, tce, m, scale, temp ...)
RESconduct and RESacConduct are "query-only" parameters
these report the effective conductance when "ask"'ed
(including tc1, tc2, tce, m, scale, temp ...)
9 years ago
rlar
1c5e954b47
devices/res, bug fix, semantics of "short" and "narrow", aka "dlr" and "dw"
These need to be subtracted from both sides
9 years ago
Fabio Rossi
4c503c1e47
src/tclspice.c, bug fix, broken trimming of the "spice::" namespace
Due to a missing break in the for(;;) loop,
causing the loop to walk beyond end of string argv[0],
causing random behaviour.
9 years ago
rlar
91c60c28df
whitespace change, avoid gcc warnings due to missleading indentation
9 years ago
h_vogt
b3827f6488
gnuplot.c, correct the setting of limits in log plots
9 years ago
dwarning
2fd3c4d94f
fix the still existing wrong array access in psd smooth routine
9 years ago
h_vogt
ca3a9bb648
com_fft.c, correct scaling and filtering for PSD
9 years ago
dwarning
0ef666ea26
com_psd: Correct the special handling of dc and nyquist component in fftw branch
9 years ago
dwarning
2377d3a64f
fix wrong write and read in not allocated memory
9 years ago
dwarning
b8a9ca9df4
correct the fft scaling for real input and complex output vector
9 years ago
h_vogt
060e0037f8
main.c, add USERPROFILE to search path for .spiceinit
search sequence: current directory, HOME, USERPROFILE
9 years ago
h_vogt
3814201d13
Add function read_initialisation_file().
extend search path for .spiceinit, search sequence now is:
current directory, user HOME directory, user USERPROFILE directory
9 years ago
h_vogt
07ea6466ad
configure option --enable-relpath
add relative path ../lib to spinit for codemodels
and search path in ivars.c, independently from
install path which has to be an absolute path
9 years ago
dwarning
a1d27b4257
dio, introduce qd as an alias for diode charge to get the right unit in plotting
9 years ago
dwarning
14fc59b83d
bjt, jfet, vbic, dio: allow plotting of small signal parameter like charges, capacitances and conductances in dc sweeps
9 years ago
rlar
0db861e4a6
device.c, bug fix commit "device.c, #8/19, use parent wordlist ..."
This commit did rely on the existence of a parent 'wordlist' element,
usually guranteed by a leading "alter" or "altermod" command word.
But 'inp_evaluate_temper()' passes a wordlist without any parent word
when invoking 'com_altermod()'
9 years ago
rlar
5542f2ec10
dio/diotemp.c, drop DIOgradingCoeff limit
Used to be limited to a maximum of 0.9
Varactors may need much larger values.
Thanks to Wang You for hinting to this ancient relict.
9 years ago
dwarning
998495c11b
prevent wrong version selection if model parameter is given in exponential format
9 years ago
rlar
043d3b4f6d
device.c, #19/19, whitespace
9 years ago
rlar
aa50718573
device.c, #18/19, polish comments
9 years ago
rlar
b4b32e2b93
device.c, #17/19, drop unused assignment to 'eqword'
9 years ago
rlar
fac04193e5
device.c, #16/19, shrink scope of variable 'p'
9 years ago
rlar
3eda944db5
device.c, #15/19, make use of 'wl_find()'
9 years ago
rlar
20c303eb8b
device.c, #14/19, drop variable 'wl2', can use 'wl' instead
9 years ago
rlar
e8ebfb115e
device.c, #13/19, drop artificial rewind to the beginning of the list
9 years ago
rlar
79cc996a93
device.c, #12/19, shrink scope of variable 'wlen' and 'maxelem'
9 years ago
rlar
c2c4683b4b
device.c, #11/19, shrink scope of variable 'wlin'
9 years ago
rlar
b817ca8cf7
device.c, #10/19, drop unused assignment to 'wl2'
9 years ago
rlar
9085084ccb
device.c, #9/19, drop variable 'rhs'
9 years ago
rlar
1ff0500117
device.c, #8/19, use parent wordlist to restore beginning of the list
9 years ago
rlar
01039f81a2
device.c, #7/19, use a local wordlist *wn
9 years ago
rlar
50dd15093e
device.c, #6/19, this 'wl2' wont be used anywhere
9 years ago
rlar
26f7a0e04e
device.c, #5/19, drop 'eqfound', equivalent to 'wl != NULL'
9 years ago
rlar
3f09ab6634
device.c, #4/19, loop wont be executed, and 'step' wont be used any more
9 years ago
rlar
3baaa57d18
device.c, #3/19, move some code up
9 years ago
rlar
670d87a589
device.c, #2/19, 'wl' will not be used any more
9 years ago
rlar
1eca384a94
device.c, #1/19, can 'break' here, because 'wl' is NULL
9 years ago
h_vogt
761f3915f5
device.c, 'alter', don't insert empty "" token
when entering ' =' or '= ' in interactive mode
9 years ago
h_vogt
d06f39f67d
device.c, bug #342 , prevent crash when using 'alter'
#342 SegFault alter command
https://sourceforge.net/p/ngspice/bugs/342/
9 years ago
rlar
9ddd1d7d40
fix commit: inp2q.c, #18/23, rewrite, combine two 'for' loop's
which replaced a INPgetNetTok() by INPgetTok()
causing a bug when handling special node names
for example this case
q1 /c /c 0 npnmodel
9 years ago
rlar
2b17f3292d
inpcom.c, inp_add_control_section(), upside down for readability
9 years ago