Commit Graph

8940 Commits

Author SHA1 Message Date
dwarning ad5da69f3d diode: init of potential uninitialized variable 2024-07-12 11:41:02 +02:00
dwarning 9b99042b44 init of potential uninitialized variables 2024-07-12 11:40:57 +02:00
dwarning 6be693671b repair missing parenthesis 2024-07-12 11:40:53 +02:00
dwarning b89b2c2ee4 complete vbic nqs effect implementation 2024-07-12 11:40:48 +02:00
dwarning e164e4a0c3 more complete vbic dc/tran nqs effect 2024-07-12 11:40:43 +02:00
dwarning b78045a428 first attempt to include NQS effect 2024-07-12 11:40:38 +02:00
Holger Vogt 7b16ed061d Add #define RESMIN 1e-6 as a minimum resistor value 2024-07-12 11:38:08 +02:00
Holger Vogt 0ee5b7e629 Fix common typo: unkown -> unknown 2024-07-09 14:44:56 +02:00
Holger Vogt 61e9962939 Shift evaluation of .four to a position after numparam expansion. 2024-07-09 10:10:36 +02:00
Holger Vogt 77b117536e Remove VS compiler warning 2024-07-05 11:51:03 +02:00
dwarning 0c2bb4a518 vbic: init of thermal capacitances 2024-07-02 23:40:48 +02:00
dwarning 1950d682fb vbic: save Vrth into state vector 2024-07-01 16:51:15 +02:00
dwarning de8d3790e8 vbic: complete reactive part into acload 2024-07-01 16:49:58 +02:00
dwarning 59389864ca vbic: more adding reactive part into acload 2024-07-01 14:35:44 +02:00
dwarning fbd361cf34 vbic: first add reactive part into acload 2024-06-30 22:19:19 +02:00
dwarning fbcc1a8c7f vbic: add resistive part into acload 2024-06-30 17:47:36 +02:00
Holger Vogt f30d84edc2 If compiling shared ngspice, don't set up a terminal. 2024-06-30 14:24:09 +02:00
Holger Vogt b9d69d32bd Re-formatting 2024-06-28 22:26:55 +02:00
Holger Vogt 026bf600db Prevent crash upon buggy user input 2024-06-28 15:05:28 +02:00
Holger Vogt 33e22a8868 Enable single terminal n devices (Verilog-A modules) 2024-06-25 10:54:30 +02:00
Holger Vogt 95437f7b7c Authorship for HICUM 2024-06-24 17:06:52 +02:00
Holger Vogt 9fe87c68e8 Plug a memory leak 2024-06-22 16:32:41 +02:00
Brian Taylor dd1949419c Cleanup gcc compiler warnings. 2024-06-21 22:09:58 +02:00
Holger Vogt d26eb566c3 add path or filepath (without file name) to variable sourcepath,
when calling command 'source'
2024-06-17 09:33:15 +02:00
Holger Vogt 65992b417a Send warning message to stderr, not to stdout. 2024-06-14 10:18:56 +02:00
dwarning 81809bde51 revert commit ea4c438 and db85dead by removing VJ and M limiting 2024-06-13 18:02:18 +02:00
Holger Vogt 38cd3d4c65 Improved warning message: hint to line causing the warning. 2024-06-12 23:54:33 +02:00
Holger Vogt 10c330bd70 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.
2024-06-12 19:42:20 +02:00
Holger Vogt cdae3ee521 Skip output lines starting with 'Operating'
Re-enable 'make check' with .tran ... uic
2024-06-12 17:26:14 +02:00
Holger Vogt 059e2b2158 Add function check_for_nodes to
check if there are enough tokens in an instance line.
2024-06-09 17:35:05 +02:00
Holger Vogt 9774a64bf6 Bail out when the instance line is not complete.
Moving on does typically not make any sense.
2024-06-09 17:30:52 +02:00
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 08ac17bd0a When reading code models, allow only a single model pere command
(as was implicitely assumed anyway).
2024-06-09 17:25:30 +02:00
Holger Vogt 2874fbae5b Add ft_spiniterror, to be set during spinit processing,as
ft_stricterror will be set only later, when .spiceinit is
executed.
2024-06-09 17:24:26 +02:00
Holger Vogt ed60ccec69 Remove Valgrind "potentially undefined" message. 2024-06-01 15:38:59 +02:00
Holger Vogt a72696959f Enable coupling of more than 2 inductots in a single line:
K1 L1 L2 L3 L4 L5 0.99
2024-05-30 14:44:58 +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
Holger Vogt cd47e104b0 Improve comment 2024-05-29 14:14:19 +02:00
Holger Vogt 92f32fb8e1 Search path for .lib and .include has been enhanced to read complete
or partial paths from environmental variables. The env variable
names have to start with '$' as the first character after the .inc
or .lib token. Two consecutive env variables are possible. They are
read each until directory separator '/' or '\\', or if none is found,
until the end of the line. In this case the filename has to be included
in the env variable. A .lib line may look like
.lib "$ENVS1\$ENVS2/libraries\sky130_fd_pr\latest\models\sky130.lib.spice" tt

If an env variable is read successfully, a ngspice variable with
the same name (without leading '$') and contents is defined for
use in a .control section.
2024-05-27 15:41:17 +02:00
Holger Vogt 94522f5c14 Revert "Search path for .lib and .include has been enhanced to read complete"
This reverts commit 82c15a8d98.
2024-05-27 09:31:02 +02:00
Holger Vogt 82c15a8d98 Search path for .lib and .include has been enhanced to read complete
or partial paths from an environmental variable. The env variable
name has to start with '$' as the first character after the .inc
or .lib token. It is read until it hits a directory separator '/' or '\\',
or if none is found, until the end of the line. In this case the filename
has to be included in the env variable.

If the env variable is read successfully, a ngspice variable with
the same name (without leading '$') and contents is defined for
use in a .control section.
2024-05-25 16:06:46 +02:00
Holger Vogt c735423222 Add '.save nosub' to suppress storing the node vectors from inside
of subcircuits.

Saves a lot of memeory if using devices with subcircuit models,
and one is not interested in the inner workings of the device model.
2024-05-24 17:38:30 +02:00
Holger Vogt e4d86e6e86 Merge branch 'pre-master-43' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master-43 2024-05-18 23:09:06 +02:00
Holger Vogt 3356311197 Transform nested braces {{}} into {()} also in .param statements
(See TI PSPICE model for LMR33630).
2024-05-18 23:08:13 +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
Holger Vogt be56394222 Issue this warning only when 'set ngdebug' is given. 2024-05-12 15:35:22 +02:00
Holger Vogt 4072b9aab2 Improve error message if malloc or realloc fails. 2024-05-12 15:19:28 +02:00