Commit Graph

9376 Commits

Author SHA1 Message Date
Holger Vogt 85eb05c719 Add DOING_HB, seems to be unused however 2025-12-10 21:57:43 +01:00
Holger Vogt e7c694d771 Enable checking a list variable as o.k. 2025-12-10 21:56:54 +01:00
Holger Vogt 0cf185e518 Print out option hbnumfreq. 2025-12-10 21:53:00 +01:00
Holger Vogt 1222434400 Use HBgetOptions() upon staring .hb. 2025-12-10 21:52:21 +01:00
Holger Vogt ba09fb05f8 Fill the hbnumfreqs[10] from option variables
by int HBgetOptions(void).
2025-12-10 21:51:24 +01:00
Holger Vogt 582679989e Fix a bug when reding a var list: a ')' is left over,
skip over it.
2025-12-10 21:49:47 +01:00
Holger Vogt b1b698f9b0 Add global flag ft_hb when .hb is found in the netlist 2025-12-10 16:46:24 +01:00
Holger Vogt 1246c87ae2 Improve error message 2025-12-10 16:45:01 +01:00
Holger Vogt c3b30f4611 Improve thee error message 2025-12-05 20:08:42 +01:00
Holger Vogt f4daa8ca99 Fix a small bug 2025-12-05 20:08:24 +01:00
Holger Vogt a8d23dc199 More on the frame for HB
Enable for gcc
Set two params f1 and f2 for .HB
Some fixes
2025-12-05 17:13:25 +01:00
Holger Vogt c5891f137c Set a framework to integrate Harmonic Balance 2025-12-05 15:55:22 +01:00
Holger Vogt 83e2b284f3 Add missing function prototypes 2025-12-03 23:03:42 +01:00
dwarning c1acc44a55 This fixed #822 diode discontinuity problem
Base recombination current appears in reverse and breakdown region too.
2025-12-02 20:35:43 +01:00
dwarning 284d4308db Add optional switch for separate bottom and sidewall diode model - configuration is dependent from model parameter RSW
Further sidewall knee current parameter IKP is implemented.
2025-11-27 16:21:31 +01:00
Holger Vogt f8d341b05a Re-formatting 2025-11-24 14:02:42 +01:00
Holger Vogt 9cfbb2bc8c Add a comment 2025-11-23 10:37:47 +01:00
dwarning 7f75f09ecd general vdmos update 2025-11-20 15:09:04 +01:00
Holger Vogt f7c32d5edd Update: add frequency measurement and temperature dependency. 2025-11-18 16:01:19 +01:00
Holger Vogt d93a11b8ea Remove unused functions from the IFfrontEnd struct. 2025-11-17 23:56:50 +01:00
Holger Vogt f1baefd932 Remove a double entry 2025-11-17 18:41:12 +01:00
Holger Vogt c0bc939ed0 Enable guessing the vector type or SP analysis in batch mode. 2025-11-17 14:12:42 +01:00
Holger Vogt 051043a70a Remove variable and flag 'use_numparams'.
Not using numparam has not been a supported option for the last 20 years.
2025-11-16 12:12:48 +01:00
Holger Vogt b3eb6b12fe Try to equalise the last two time steps before a breakpoint,
if the second step would be smaller than CKTdelta otherwise.
2025-11-15 19:50:04 +01:00
Holger Vogt 95b8cee898 Using cbrt() instead of exp(log...) might be more efficient 2025-11-15 19:49:07 +01:00
dwarning 55e4f5377f VDMOS: apply m scaling fix for acld as well 2025-11-15 09:50:51 +01:00
Árpád Bűrmen 8d26e8b2cb VDMOS scaling fixed. 2025-11-14 09:34:57 +01:00
Árpád Bűrmen 807ff2b90c Minor change in VDMOS that helps VADistiller. 2025-11-14 09:34:57 +01:00
Holger Vogt c0d92ebd96 Update to commit
172fb6d66 ("Fix Bug 817 - "Global models are not visible from
with subcircuits". Remove code that can miscount the number of
nodes to be renamed.", 2025-10-08)
Keep checking for x lines with nesting. This re-enables
simulating large cxircuits (e.g. SRAMs) with deeply nested
subcircuit calls.
2025-11-12 11:23:24 +01:00
Holger Vogt 0a7ad07cc0 Add a variable 'debug-out-short' to enable a shortened debug-out.txt,
useful when large circuits are monitored, which otherwise may result
in GigaBit size of data.
2025-11-12 11:21:13 +01:00
dwarning 8c3d4d7990 vdmos convtest needs type for vd - load hack not needed anymore 2025-11-10 15:17:56 +01:00
dwarning 420838e4e8 vdmos: in case temp and dtemp is given - use dtemp and omit temp 2025-11-09 08:21:45 +01:00
dwarning 9802c7d0c6 correct gate and source resistor temperature update 2025-11-08 21:15:32 +01:00
dwarning 3281d0798a correct rthca connection 2025-11-08 09:13:16 +01:00
dwarning 600ff13796 Revert "Remove instance parameter temp. To specify offset to ambient temperature use dtemp instead."
This reverts commit 3340df46ca.
2025-10-26 08:34:34 +01:00
dwarning ddfb52d134 Revert "correct and simplify temp derivatives"
This reverts commit a6590d354f.
2025-10-26 08:33:58 +01:00
Holger Vogt 6fc75e636c Fix a bug. 2025-10-25 15:40:37 +02:00
Holger Vogt f8036c5363 fix bug no 819, which has been introduced by
d5ef8a366 ("Remove all entries connected to IPC, an outdated (>30 years) method to link ngspice to a now defunct controller (ATESSE).", 2025-10-21)
2025-10-25 15:37:08 +02:00
dwarning a6590d354f correct and simplify temp derivatives 2025-10-24 09:37:34 +02:00
dwarning 3340df46ca Remove instance parameter temp. To specify offset to ambient temperature use dtemp instead.
Remove temp update double application for beta and series resistances and fix derivatives for selfheating model.
2025-10-22 18:21:49 +02:00
Holger Vogt 4560fce4af make nthreads local 2025-10-21 22:18:12 +02:00
Holger Vogt b8325efe24 Improve comments 2025-10-21 22:17:35 +02:00
Holger Vogt d5ef8a3660 Remove all entries connected to IPC, an outdated (>30 years)
method to link ngspice to a now defunct controller (ATESSE).
2025-10-21 11:18:22 +02:00
Holger Vogt 8e0622434f Improve comments, add note to user. 2025-10-20 16:07:19 +02:00
Holger Vogt b260b4bc27 Entries to old CLUSTER code removed. 2025-10-19 22:27:21 +02:00
Holger Vogt cbd3772519 Add variable deltacheck to measure the CKTdelta[0]
(most recent accepted delta time) versus simulation time.
Activated if 'set ngdebug' is given (not forget to set
'.save deltacheck' if other .save commands are given).
2025-10-18 15:40:02 +02:00
Giles Atkinson 8471e0902c Add new functions for .param expressions. vec() takes a string argument
and fetches a vector value from the current plot or "const".  var() is similar
but fetches an interpreter variable.
2025-10-17 17:43:45 +02:00
Holger Vogt 891ec865f6 Another update on comments 2025-10-17 17:31:12 +02:00
Holger Vogt d676fc34f8 Small update on comments. 2025-10-15 23:59:01 +02:00
Holger Vogt 082b31018b document the goto labels. 2025-10-15 22:59:28 +02:00