Commit Graph

9358 Commits

Author SHA1 Message Date
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
dwarning 96d0559631 This fixed #822 diode discontinuity problem
Base recombination current appears in reverse and breakdown region too.
2026-02-03 14:15:38 +01:00
dwarning 58d7ad791e 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.
2026-02-03 14:15:28 +01:00
Holger Vogt d7f5169b0d Re-formatting 2026-02-03 14:15:08 +01:00
Holger Vogt ee8bf7a948 Add a comment 2026-02-03 14:14:52 +01:00
dwarning f1378f2e5a general vdmos update 2026-02-03 14:14:35 +01:00
Holger Vogt 59a64f57d6 Update: add frequency measurement and temperature dependency. 2026-02-03 14:14:18 +01:00
Holger Vogt 6304f0124b Remove unused functions from the IFfrontEnd struct. 2026-02-03 14:13:54 +01:00
Holger Vogt 83bf3ae46b Remove a double entry 2026-02-03 14:13:42 +01:00
Holger Vogt 6dfaf3f11c Enable guessing the vector type or SP analysis in batch mode. 2026-02-03 14:13:26 +01:00
Holger Vogt bc7d68884e Remove variable and flag 'use_numparams'.
Not using numparam has not been a supported option for the last 20 years.
2026-02-03 14:13:04 +01:00
Holger Vogt f3871c3ea2 Try to equalise the last two time steps before a breakpoint,
if the second step would be smaller than CKTdelta otherwise.
2026-02-03 14:12:38 +01:00
Holger Vogt 8172362529 Using cbrt() instead of exp(log...) might be more efficient 2026-02-03 14:12:20 +01:00
dwarning 6bd5c2d03b VDMOS: apply m scaling fix for acld as well 2026-02-03 14:12:10 +01:00
Árpád Bűrmen 2bc63e71ae VDMOS scaling fixed. 2026-02-03 14:12:01 +01:00
Árpád Bűrmen 804658601e Minor change in VDMOS that helps VADistiller. 2026-02-03 14:11:51 +01:00
Holger Vogt c896fed414 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.
2026-02-03 14:11:34 +01:00
Holger Vogt 1ef57ffc42 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.
2026-02-03 14:11:12 +01:00
dwarning 5836f9c487 vdmos convtest needs type for vd - load hack not needed anymore 2026-02-03 14:11:01 +01:00
dwarning ce94dd1587 vdmos: in case temp and dtemp is given - use dtemp and omit temp 2026-02-03 14:10:39 +01:00
dwarning f9cd5f1471 correct gate and source resistor temperature update 2026-02-03 14:10:23 +01:00
dwarning 564a97e693 correct rthca connection 2026-02-03 14:10:07 +01:00
Holger Vogt 329343a31e Fix a bug. 2026-02-03 14:09:43 +01:00
Holger Vogt 89c03ca640 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)
2026-02-03 14:09:22 +01:00
Holger Vogt 31a8486c03 make nthreads local 2026-02-03 14:08:42 +01:00
Holger Vogt 6004d9aef9 Improve comments 2026-02-03 14:08:28 +01:00
Holger Vogt 4d24b18f35 Remove all entries connected to IPC, an outdated (>30 years)
method to link ngspice to a now defunct controller (ATESSE).
2026-02-03 14:07:59 +01:00
Holger Vogt 7fbb4450d4 Improve comments, add note to user. 2026-02-03 14:07:35 +01:00
Holger Vogt 48d28f9f4a Entries to old CLUSTER code removed. 2026-02-03 14:07:15 +01:00
Holger Vogt 4594d5fd91 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).
2026-02-03 14:07:02 +01:00
Giles Atkinson aa1242ac70 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.
2026-02-03 14:06:36 +01:00
Holger Vogt 5443385ae9 Another update on comments 2026-02-03 14:06:11 +01:00
Holger Vogt d49134df93 Small update on comments. 2026-02-03 14:05:46 +01:00
Holger Vogt 1f2a6f3665 document the goto labels. 2026-02-03 14:05:12 +01:00
Holger Vogt 58380ba1b8 Remove all entries related to CLUSTER,
an old, never finished attempt to run transient in parallel.
2026-02-03 14:04:50 +01:00
Holger Vogt 9fc4435dca Update on comments. 2026-02-03 14:04:36 +01:00
Holger Vogt 827e6ba7fb Add perror() to fopen: more info for user. 2026-02-03 14:04:15 +01:00
Holger Vogt 7fe6ab5424 Improve error messages. 2026-02-03 14:03:58 +01:00
Holger Vogt e4aacf352a Add breakpoints to achieve quadratic smoothing.
Shift 50%-detection for breakpoints into the INIT section,
to do it only once.
2026-02-03 14:03:31 +01:00
Giles Atkinson 87338b0b8a Fix Bug 817 - "Global models are not visible from with subcircuits".
Remove code that can miscount the number of nodes to be renamed.
2026-02-03 14:03:13 +01:00
Holger Vogt 68e8f43318 Re-enable warning note when rusage xxx is not implemented. 2026-02-03 14:02:52 +01:00
Holger Vogt 5fcbe3c6df Improve error message: add source type 2026-02-03 14:02:32 +01:00
Holger Vogt f84a72d1f8 Improve error messages. Towards better locating of errors:
Remove entry to avoid false file readings.
Still to do: Return correct fline numbers, when reading large PDKs.
2026-02-03 14:02:05 +01:00
Holger Vogt c4ae3b1243 Improve on truncation when printing out the .model lines during debug-out 2026-02-03 14:00:46 +01:00
Holger Vogt 76c4be60ce Add info for line source 2026-02-03 14:00:24 +01:00
Holger Vogt e277c886ef Improve reading the source code sequence by extra comments:
While searching for 'Parsing the circuit', the sequence of major
functions is revealed.
2026-02-03 13:59:59 +01:00
Brian Taylor a99ff45eaf Update and clarify the comments at the top of udevices.c, which should make it easier when someone in the future has to make changes. 2026-02-03 13:59:39 +01:00
Brian Taylor 71614dba3a Add a correction to the previous change of inppas4.c, which freed devname and left instance name pointers in DEVnameHash pointing at freed memory. This commit adds the devname string to the symbol tables which are eventually cleared by INPtabEnd. Also, if a capacitor in the spice netlist has the same name (unlikely, but possible) as a shunt capacitor, then no shunt is created, and a warning is issued. 2026-02-03 13:59:30 +01:00
dwarning 766c8d15e2 correct init state vector for qth integration 2026-02-03 13:59:17 +01:00