Holger Vogt
8d854fcbfc
Enable monotonic negative growth of abscissa values.
2024-06-09 17:29:57 +02:00
Holger Vogt
b3fb5c00b3
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'.
2024-06-09 17:29:24 +02:00
Holger Vogt
ed60ccec69
Remove Valgrind "potentially undefined" message.
2024-06-01 15:38:59 +02:00
Holger Vogt
abd4c49ee6
'No OP' is the more important news, update note to the user.
2024-05-29 14:15:11 +02:00
dwarning
672c52720d
mos1...3: set channel thermal noise to 0 in subthreshold range for nlev=3
2024-05-15 14:30:16 +02:00
dwarning
1bf6cc36c5
mos1...3: logical error-prevent garbage for nlev=3
2024-05-14 17:45:29 +02:00
dwarning
6f6ee47767
diode: no need for vte recalculation, rhs not changed
2024-05-13 12:30:32 +02:00
dwarning
4aa3d2fc54
diode: add saturation current temperature model tlev=2
2024-05-06 11:47:12 +02:00
Holger Vogt
279fe0afcf
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.
2024-05-01 10:10:42 +02:00
dwarning
342f1c926f
diode: add alternative bangap calculation for tlev=2
2024-04-30 17:23:20 +02:00
dwarning
20a04fccdd
diode: add model parameter xw for mask and etching effect (level=3)
2024-04-30 16:32:52 +02:00
dwarning
ca8d150872
diode: add aliases for breakdown voltage
2024-04-29 20:39:43 +02:00
Pat Deegan
25c7795a89
level 3 note on breakdown voltage params
2024-04-29 11:00:47 -04:00
Pat Deegan
80209f0215
Diode Model Parameters, Level 3, support for diode breakdown voltage synonyms, as used in sky130 PDK
2024-04-29 10:47:13 -04:00
Holger Vogt
b056b647af
Stop ngspice in case of pwl errors, avoid crash.
2024-04-24 10:24:46 +02:00
Holger Vogt
08c0f97999
optran 0 0 0 0 0 uic may be used to load initial conditions
...
(.ic=xxx statements) without staring an op iteration.
2024-04-07 21:36:59 +02:00
Holger Vogt
2ade3bd581
Merge branch 'pre-master-43' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master-43
2024-04-05 10:34:11 +02:00
dwarning
22869b6e39
use limexp to prevent NaN with extreme exponents
2024-04-04 16:19:35 +02:00
dwarning
f40285c2a2
format
2024-04-04 16:03:53 +02:00
Giles Atkinson
f37a292c82
Use the correct type of hash table for device and model names.
...
This fixes unpredictable failures of commands like "print @some_device".
2024-04-03 17:22:04 +02:00
Giles Atkinson
cb69d8b96b
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.
2024-04-03 17:21:57 +02:00
Holger Vogt
ee39b2600b
Add a evaluation function which truly removes also the
...
scale factor from the token when gobble=0 before
moving on.
2024-03-29 17:16:41 +01:00
dwarning
7e39c10bee
introduce jfet gate-drain and gate-source junction emission coefficient
2024-03-13 21:55:38 +01:00
dwarning
2dab26212a
introduce diode breakdown voltage parameter alias vb
2024-03-10 09:47:17 +01:00
dwarning
3201bcb09b
prevent clang error
2024-02-16 10:12:09 +01:00
dwarning
fd000c079b
hicum2: use device temperature for noise analysis too
2024-02-15 18:19:11 +01:00
dwarning
3a18028283
vbic: use device temperature for noise analysis too
2024-02-15 18:09:38 +01:00
dwarning
305cd85c76
mos1...3: use device temperature for noise analysis too
2024-02-15 07:49:06 +01:00
dwarning
a1dbd3f3c8
bjt, dio, jfet, res: use device temperature for noise analysis too
2024-02-14 18:16:50 +01:00
dwarning
20c82a5b1b
format
2024-02-14 17:50:41 +01:00
dwarning
e8f1cd4c92
too soon return - break is correct
2024-02-14 14:17:01 +01:00
dwarning
8d64381795
rm confusing comments and formatting
2024-02-14 14:14:15 +01:00
dwarning
9ed7a24a0e
mos1...3: Beta in noise w/o channel length modulation
2024-02-12 18:44:35 +01:00
dwarning
6359b7b41f
mos1...3: add nlev=3 mode channel thermal noise
2024-02-12 18:44:35 +01:00
dwarning
c2f0b1468c
mos3mask: change unusual structure name
2024-02-12 18:44:35 +01:00
dwarning
89c7b83954
mos1...3: formatting and white spaces
2024-02-12 18:44:35 +01:00
dwarning
1381d71cb1
selectable flicker noise models for mos1...3
2024-02-12 18:44:35 +01:00
dwarning
2a6db71726
formatting mos1...3 noise code
2024-02-12 18:44:35 +01:00
dwarning
1c9f8b6345
two corrections in Ycor and NF formulae
2024-02-12 11:08:35 +01:00
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.
2024-02-02 11:15:14 +01:00
dwarning
add31fd410
correct flicker noise term for mos1 and mos2 - bug #656
2024-01-16 16:26:38 +01:00
Holger Vogt
79e80dbbab
Automatically adding diode RS only when variable 'rsdiode' is set
...
to a positive resistance value.
2024-01-15 09:59:21 +01:00
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.
2024-01-14 11:16:45 +01:00
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.
2024-01-13 18:06:46 +00:00
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.
2024-01-12 17:14:05 +00:00
Holger Vogt
e6d6f8e928
Update to V/I sources, SFFM and AM
...
Enable more AM functions.
Unify the settings of both sources.
2024-01-08 13:21:43 +01:00
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.
2024-01-07 11:59:33 +01:00
Holger Vogt
4d0e65b3b6
Extend the error message
2024-01-07 11:56:56 +01:00
Holger Vogt
aaaad70991
Previous AM was buggy in V(I)SRC: Update to amplitude modulation
...
with corrected equation.
2024-01-06 23:09:27 +01:00
Holger Vogt
ace235da04
Remove ADMS from build process
2023-12-29 16:53:39 +01:00