Holger Vogt
a712304a5d
Specify static locdata containing constfac, sintegral and prevtime
...
instead of individual data.
2026-02-08 13:53:24 +01:00
Holger Vogt
7335756c68
Add function cm_get_deg_params(void) to obtain the set
...
of gegeneration model püarameters stored in struct agemods.
Re-sort the parameters in ifspec.ifs (preliminary)
Use cm_get_deg_params() to obtain the model parameters in cfunc.mod
2026-02-08 13:53:24 +01:00
Holger Vogt
3a24708350
simple netlist example with agemodel data.
2026-02-08 13:53:24 +01:00
Holger Vogt
6c10887c64
Read the agemodel data, put them into global array agemods
2026-02-08 13:53:24 +01:00
Holger Vogt
9f6c00a536
Always call the function.
...
Inside it will be decided, depending on not having ngbehavior=de,
to disregard the agemodels.
2026-02-08 13:53:23 +01:00
Holger Vogt
b510a21e2f
Add function readdegparams in file inpdeg.c
2026-02-08 13:53:23 +01:00
Holger Vogt
2c07f89930
remove debug messages
2026-02-08 13:53:23 +01:00
Holger Vogt
3fd7a69eb0
make parameter l lower case, add parameter 'file'
2026-02-08 13:53:23 +01:00
Holger Vogt
b7c985128f
Add a compatibility mode 'de' for degradation simulation.
2026-02-08 13:53:23 +01:00
Holger Vogt
7b8ec52fdd
Add INSTNAME and INSTMODNAME to code model macros
2026-02-08 13:53:22 +01:00
Holger Vogt
19212ee436
Scale function for *constfac, scale Boltzmann.
...
Add *prevtime to allow checking for final time, and to
avoid double acces to deg evaluation.
Add missing parameter L.
If other than 4 nodes, bail out.
2026-02-08 13:53:22 +01:00
Holger Vogt
d3a7ce9f5c
Use real parameters as default (NMOS 0.13 saturation)
2026-02-08 13:53:22 +01:00
Holger Vogt
9f342dc51d
Add degradation monitor code model to extradev
2026-02-08 13:53:22 +01:00
Holger Vogt
61f6e813d8
Add two macros TSTEP and TSTOP to XSPICE
2026-02-08 13:53:22 +01:00
Holger Vogt
9ac5bda207
After an ac simulation, a tran measurement causes a segfault.
...
A check prevents this issue.
2026-02-03 22:38:56 +01:00
Holger Vogt
417c52ee5c
Remove compiler warnings
2026-02-03 15:05:24 +01:00
Holger Vogt
ab87bd57a4
Re-enable compiling with clang
...
Patch thanks to Gon Solo, issue 826
2026-02-03 14:25:18 +01:00
Holger Vogt
afb17cb6c7
New analogue and digital device models from TI contain
...
the token GND in their subcircuit. Up to now ngspice has
declared GND as global and replaced it by 0.
Now, if PS is selected as compat mode, GND is not
declared as global, and is not replaced inside of a subcircuit.
2026-02-03 14:25:09 +01:00
Holger Vogt
ab03cc94c0
Using mtimeavg
2026-02-03 14:23:41 +01:00
Holger Vogt
b25ff08307
Moving window filtering with function 'newvec = mtimeavg(vec)'
...
Window of fixed time width given by 'set mtimeavgwindow=400u'
Length and scale of newvec resembles the original vetor vec.
Large vec and large mtimeavgwindow take their time.
OpenMP is used if available.
2026-02-03 14:23:32 +01:00
Holger Vogt
84ce2b4084
Exclude B voltage source, whan '.probe alli' is used.
...
It already gets a bxx#branch for current measurement.
2026-02-03 14:23:22 +01:00
dwarning
1601571432
Correct vgs assignment - bug found by K. OHara
2026-02-03 14:23:14 +01:00
Holger Vogt
86ca3948eb
Better graphics
2026-02-03 14:23:07 +01:00
dwarning
23eafe9978
remove redundant definition and unused variable
2026-02-03 14:22:57 +01:00
dwarning
81894e0c52
Minor change that helps VADistiller.
2026-02-03 14:22:48 +01:00
dwarning
06aa4989a6
convert to lower case for spice2 input and remove few warnings
2026-02-03 14:22:37 +01:00
dwarning
48438ba736
rm ngnutmeg from build list of old apps
2026-02-03 14:22:29 +01:00
Holger Vogt
cd6ca5e86a
re-enable maling old app ngsconvert
...
ngnutmeg is still defect
2026-02-03 14:22:21 +01:00
Holger Vogt
4fd68ba901
enable simulation with 'option newtrunc'
2026-02-03 14:22:12 +01:00
dwarning
1841709eab
more realistic default values for case to ambient thermal resistance and device transconductances
2026-02-03 14:22:02 +01:00
dwarning
d3b0dc1b31
Adapt VDMOS Vth temperature coefficient to usual notation with - for nch and + for pch.
2026-02-03 14:21:50 +01:00
Holger Vogt
343319a1ed
F5 example removed, obsolete or needs to be improved.
2026-02-03 14:21:38 +01:00
Holger Vogt
2e5772e35e
Add the non-nqs PSP103 OSDI model to spinit
2026-02-03 14:21:24 +01:00
Holger Vogt
c12ad7ba27
Update the reference to the manual
2026-02-03 14:20:19 +01:00
Holger Vogt
8737839f41
Add a function m3avg(vector) for filtering of trap ringing.
...
Moving average with D(n) = (C(n-1)/2 + C(n) + C(n+1)/2)/2
2026-02-03 14:20:08 +01:00
Holger Vogt
6ff339ee9c
Add a note on --enable-predictor and -march=native
2026-02-03 14:19:53 +01:00
Holger Vogt
8d21c8e79b
Make pred available always
2026-02-03 14:19:42 +01:00
Holger Vogt
c51dcb67a3
Add a note on --enable-predictor
2026-02-03 14:19:14 +01:00
Holger Vogt
f6fc256569
Measure transient analysis time.
2026-02-03 14:19:06 +01:00
Holger Vogt
fe55cbe69f
Enable optional voltage based truncation error correction.
...
This is selectable as 'option newtrunc' (--enable-Predictor is required)
Remove --enable-NEWTRUNC
Add three option parameters (default):
lteTrtol (500), lteReltol (1e-3), lteAbstol (1e-6)
Add new error function for TRAP, similar to GEAR
(tentative, to be improved), in ckttrun.c
Enable PREDICTOR as default with Visual Studio.
2026-02-03 14:18:55 +01:00
Holger Vogt
ab49ea9657
Fix tiny bug.
2026-02-03 14:18:29 +01:00
Brian Taylor
50c4272544
Add function to verify that subckt port directions are compatible with auto bridging. Use set ps_ports_and_pins=1 to see the port directions.
2026-02-03 14:18:17 +01:00
lorenzo
66797fdebc
Fixes a memory corruption bug resulting from improper parsing
...
and accessing of array parameters in OSDI models
2026-02-03 14:17:59 +01:00
dwarning
89a25ac6c1
Diode sensitivity analysis: Exclude few parameters and add level 3 geometry parameter.
2026-02-03 14:17:42 +01:00
dwarning
f2ef953246
Fix the overlap in state vector for sensitivity states of diode and bjt model.
2026-02-03 14:17:16 +01:00
dwarning
eea3af64e2
KLU bindings for separate sw diode only if sw resistor is given
2026-02-03 14:16:59 +01:00
Holger Vogt
4958221e92
Update comment to cktnumstates
2026-02-03 14:16:48 +01:00
Holger Vogt
ac9ac548d6
Update test description
2026-02-03 14:16:23 +01:00
dwarning
f52749afa3
Diode model level=2 (Fowler-Nordheim) is not supported.
2026-02-03 14:16:11 +01:00
Holger Vogt
abdd936cb8
Add missing function prototypes
2026-02-03 14:15:52 +01:00