Holger Vogt
f15a92d997
Revise commit
75c2a3c621 /
If the frquency difference is less than a decade, use the old
frequency calculation.
If start and stop frequencies are equal, use a single point only.
2 years ago
Holger Vogt
e5195c10a3
Enable monotonic negative growth of abscissa values.
2 years ago
Holger Vogt
32901f9d0c
Error messages to stderr only.
For MS Windows: Make code model path absolute.
Call LoadLibrary only when *.cm file exists. Until now
spurious return from LoadLibrary prevented error message,
when *.cm was not found, followed by a crash upon 'quit'.
2 years ago
Holger Vogt
36e7835afd
Remove Valgrind "potentially undefined" message.
2 years ago
Holger Vogt
a5bf93d04d
'No OP' is the more important news, update note to the user.
2 years ago
dwarning
02a5cd5ea6
mos1...3: set channel thermal noise to 0 in subthreshold range for nlev=3
2 years ago
dwarning
f44a0ede08
mos1...3: logical error-prevent garbage for nlev=3
2 years ago
dwarning
ac5470568c
diode: no need for vte recalculation, rhs not changed
2 years ago
dwarning
63a6234c92
diode: add saturation current temperature model tlev=2
2 years ago
Holger Vogt
97d9f38421
Add (enhanced) patch by Giles Atkinson
Add controlled_exit() to errors when parsing functions.
Add verbose error messages, including line number and
name of the source file.
.lib file handlinmg with its recursive structure probably needs
testing and improvements.
More error messages may need this update.
2 years ago
dwarning
6b80d21e36
diode: add alternative bangap calculation for tlev=2
2 years ago
dwarning
5fdd21f239
diode: add model parameter xw for mask and etching effect (level=3)
2 years ago
Holger Vogt
44d0991af0
Replace IOP by IOPR
2 years ago
Pat Deegan
52365c718a
level 3 note on breakdown voltage params
2 years ago
Pat Deegan
bcc769af0e
Diode Model Parameters, Level 3, support for diode breakdown voltage synonyms, as used in sky130 PDK
2 years ago
Holger Vogt
cf4684f9ae
Stop ngspice in case of pwl errors, avoid crash.
2 years ago
Holger Vogt
1cdacad261
optran 0 0 0 0 0 uic may be used to load initial conditions
(.ic=xxx statements) without staring an op iteration.
2 years ago
Giles Atkinson
8ad759bd66
Use the correct type of hash table for device and model names.
This fixes unpredictable failures of commands like "print @some_device".
3 years ago
Giles Atkinson
673ae5c01d
Change the code that makes variables from device/model parameters
(spiceif.c) and vectors from variables (vectors.c) so that
array and string-valued parameters and the resulting variables
are handled correctly. Fix a memory leak in converting
array parameters; that requires a change in cplask.c so that
CPL devices behave the same way as others. Add a "device" variant of
the Compose command so that generated vectors are available in scripts.
3 years ago
dwarning
3684db0126
use limexp to prevent NaN with extreme exponents
2 years ago
dwarning
0fdd412324
format
2 years ago
Holger Vogt
ee39b2600b
Add a evaluation function which truly removes also the
scale factor from the token when gobble=0 before
moving on.
2 years ago
dwarning
7e39c10bee
introduce jfet gate-drain and gate-source junction emission coefficient
2 years ago
dwarning
2dab26212a
introduce diode breakdown voltage parameter alias vb
2 years ago
dwarning
3201bcb09b
prevent clang error
2 years ago
dwarning
fd000c079b
hicum2: use device temperature for noise analysis too
2 years ago
dwarning
3a18028283
vbic: use device temperature for noise analysis too
2 years ago
dwarning
305cd85c76
mos1...3: use device temperature for noise analysis too
2 years ago
dwarning
a1dbd3f3c8
bjt, dio, jfet, res: use device temperature for noise analysis too
2 years ago
dwarning
20c82a5b1b
format
2 years ago
dwarning
e8f1cd4c92
too soon return - break is correct
2 years ago
dwarning
8d64381795
rm confusing comments and formatting
2 years ago
dwarning
9ed7a24a0e
mos1...3: Beta in noise w/o channel length modulation
2 years ago
dwarning
6359b7b41f
mos1...3: add nlev=3 mode channel thermal noise
2 years ago
dwarning
c2f0b1468c
mos3mask: change unusual structure name
2 years ago
dwarning
89c7b83954
mos1...3: formatting and white spaces
2 years ago
dwarning
1381d71cb1
selectable flicker noise models for mos1...3
2 years ago
dwarning
2a6db71726
formatting mos1...3 noise code
2 years ago
dwarning
1c9f8b6345
two corrections in Ycor and NF formulae
2 years ago
Holger Vogt
7d1ea80a2e
F source fails when VNAM contains math symbols like '-'.
Use INPgetNetTok for instance parameters
like it has been done for nodes already.
2 years ago
dwarning
add31fd410
correct flicker noise term for mos1 and mos2 - bug #656
2 years ago
Holger Vogt
79e80dbbab
Automatically adding diode RS only when variable 'rsdiode' is set
to a positive resistance value.
2 years ago
Holger Vogt
5266a7c4bc
If there is a successful step, but the goal is not yet reached,
don't start with the minimum value of 1.00005, as this may last
forever. Restart with 3.
2 years ago
Giles Atkinson
d86a0c77cb
Improve scheduling of breakpoints for V-source (PULSE and PWL).
This fixes bugs with the TRA delay line reported by Tom Hajjar in
the Help forum, Jan 11 2024.
2 years ago
Giles Atkinson
2ad97feb31
A quick fix for a bug reported in the Help forum by Tom Hajjar on
Jan 6 2024. Prevent the TRA device from requesting a breakpoint
in the past, as that is a hard error.
2 years ago
Holger Vogt
e6d6f8e928
Update to V/I sources, SFFM and AM
Enable more AM functions.
Unify the settings of both sources.
2 years ago
Holger Vogt
5dbb25f667
Set new default values.
Restructure the code a bit.
Two parameters for AM are required (offset and amplitude). Even if this
sounds needless, changing it would require a major effort.
2 years ago
Holger Vogt
4d0e65b3b6
Extend the error message
2 years ago
Holger Vogt
aaaad70991
Previous AM was buggy in V(I)SRC: Update to amplitude modulation
with corrected equation.
2 years ago
Holger Vogt
ace235da04
Remove ADMS from build process
2 years ago