Commit Graph

1865 Commits

Author SHA1 Message Date
Jim Monte 33bb874678 Add const to some parameters, made function static 2020-02-12 22:40:32 +01:00
Jim Monte 4e51060684 Clarified error message 2020-02-12 22:32:18 +01:00
dwarning 8a6f431f4b simplify beta derivation 2020-02-11 10:48:38 +01:00
dwarning 9889f0f277 alternative temperature model for extrinsic resistances and subthreshold range 2020-02-03 20:40:36 +01:00
dwarning 24b70c8682 prevent program crash by misusing thermal model 2020-01-26 08:35:30 +01:00
dwarning f53462dfd8 update vdmos with self-heating network and tj and tcase terminal 2020-01-25 16:12:05 +01:00
Holger Vogt 35dbc7a725 re-enable V source with parameter EXTERNAL
Fix bug #463
2020-01-24 22:00:56 +01:00
dwarning 8841f30671 format line with LF 2020-01-19 10:18:37 +01:00
Holger Vogt 6e910fed3d remove compiler warning by setting variables to 0 2020-01-18 23:08:31 +01:00
Holger Vogt 5f05d217ac return immediately if ckt is NULL 2020-01-18 00:24:10 +01:00
Jim Monte e969a05411 Added a macro R_MIN to define the minimum resistance value aS 0.01 and replaced the numeric value with the macro in the sourc code. 2020-01-04 10:22:50 +01:00
Holger Vogt 9a77d22444 prevent crash if 0 length vector is assessed 2019-11-27 23:31:22 +01:00
Holger Vogt 78c4a51d2a allow 'dc TEMP 10 20 1' as well as 'dc temp 10 20 1' 2019-11-27 00:31:24 +01:00
Holger Vogt 2ec1214fac remove VS 'assignment within conditional expression' warning 2019-11-03 11:50:28 +01:00
Holger Vogt c2eb86f44f remove 'potentially uninitialized' warning 2019-11-03 11:10:44 +01:00
Holger Vogt aa49874dc2 remove superfluous double parentheses 2019-10-26 16:17:21 +02:00
Holger Vogt 60a3298c2e Make DEVNUM robust against double initialization. 2019-10-05 11:28:17 +02:00
Holger Vogt ec2d885494 correct typos found by linthian 2019-09-28 12:25:18 +02:00
Holger Vogt 980f8a74b9 Missing files in distribution
Correction to commit
Fix a build error on FreeBSD 12, bison 3.3.2, automake 1.16.1 and BSD make
2019-09-22 15:51:20 +02:00
Holger Vogt 191ad0a574 avoid warning about potentially undefined variable 2019-09-14 12:43:48 +02:00
dwarning 134e92b78f vbic model implementation including self-heating effect 2019-09-14 11:26:10 +02:00
Holger Vogt 30565e45c4 Improve commant 2019-08-13 23:35:03 +02:00
Holger Vogt ca5997b705 Change variable 'stepsizelimit', added in commit
c86f6265d ("relieve the step size limitation..." 2019-02-02)
to 'nostepsizelimit', thus keeping the limit, if not set.
Maximum step size is limited to tstep given by .tran tstep tstop <tstart <tmax>>.
May be overridden by giving 'set nostepsizelimit' to (tstop - tstart)/50.
Both may be overriden by setting tmax.
2019-08-13 23:34:40 +02:00
Holger Vogt 45e2155e57 Instead of the reverted commit
5542f2ec1 ("dio/diotemp.c, drop DIOgradingCoeff limit", 2017-07-18)
allow setting a new limit for the diode grading coefficient by
set DIOgradingCoeffMax=0.85
Default is 0.9
2019-08-13 23:32:55 +02:00
Holger Vogt db85dead58 Revert "dio/diotemp.c, drop DIOgradingCoeff limit"
This reverts commit 5542f2ec10.
2019-08-13 23:32:37 +02:00
Jim Monte 1665b53b84 [PATCH #59] Made INP*Cat() functions more modular and efficient. Also
eliminated the possibility of a buffer overrun in INPstrCat() due to an error
 in the calling funciton.
2019-08-13 23:29:41 +02:00
Jim Monte 86ed788025 [PATCH 6/6] Fixed Visual Studio C4456 compiler warnings related to
variable name hiding another variable and reduced scopes of arg and sarg
 variables in the process
2019-08-13 23:18:34 +02:00
Jim Monte 34c2df11bb [PATCH 5/6] Fixed formatting for consistent nesting level indentation 2019-08-13 23:18:24 +02:00
Jim Monte 93ae8b41ac [PATCH 4/6] Fixed Visual Studio C4456 compiler warning related to
variable name hiding another variable
2019-08-13 23:18:16 +02:00
Jim Monte d0f8c6896d [PATCH 3/6] Fixed Visual Studio C4389 compiler warnings related to
signed/unsigned mismatch
2019-08-13 23:18:07 +02:00
dwarning cf394a03d1 update to hicum version 2.40 2019-08-13 23:17:41 +02:00
Kevin Zheng b4ee4e28d6 Fix a build error on FreeBSD 12, bison 3.3.2, automake 1.16.1 and BSD make
by dropping the rules to run bison and use automake's built-in rules instead
2019-08-13 23:16:49 +02:00
dwarning 657d4994b9 no fall-through by asking m value 2019-08-13 23:15:03 +02:00
dwarning ef79942782 Tnom is not a instance parameter 2019-08-13 22:57:02 +02:00
dwarning 6bcf3ac41c Tnom default inline with model specification 2019-08-13 22:56:50 +02:00
dwarning 033a290783 use a better place for model parameter defaulting 2019-08-13 22:56:38 +02:00
dwarning 360a3985e8 remove unused conductance variables 2019-08-13 22:56:29 +02:00
dwarning f42c513381 correct current contribution by gmin 2019-08-13 22:56:19 +02:00
dwarning 293f0afc2f remove unused variables 2019-08-13 22:55:34 +02:00
dwarning f90295f46a remove last remainder of unused sensitivity analysis 2019-08-13 22:55:25 +02:00
dwarning 2b60d56606 remove ancient, unused and untested sensitivity code 2019-08-13 22:55:12 +02:00
dwarning 7966aa36ae correct init for convergence test 2019-08-13 22:54:51 +02:00
dwarning a549776972 high current devices need lower limit of resistances - set to 10mOhm 2019-08-13 22:53:52 +02:00
dwarning d03df9d326 correct entry for vdmos bulk diode in acload 2019-08-13 22:49:39 +02:00
Holger Vogt d4c3d9ceb2 relieve the step size limitation (formerly set to TSTEP in tran simulation).
However not all examples will do without, thus the variable 'stepsizelimit'
is set in spinit. Unset it in .spiceinit to get the new behavior.
Of course then you might add the limit by setting TMAX in the tran command.
2019-03-21 20:22:42 +01:00
Holger Vogt 2d8b30aebe enable node names containing '-' in .ic and .nodeset statements 2019-03-21 16:13:43 +01:00
Holger Vogt b771ee9c60 don't print status output in dcpss.c, if norefvalue is set 2019-03-21 16:12:47 +01:00
Holger Vogt be6eca1dbb add 'option norefvalue' to suppress printing the reference value. 2019-03-21 16:07:12 +01:00
Holger Vogt 4062d51f9b prevent crash, instead issue an error message
if first coefficient cannot be parsed, e.g. of a line
V1 1 0 DC 0 trnoise(NoiseVoltage fs 0 0 0 0 0 )
(with missing {}).
Code truncates evaluating further coefficients,
if an error is detected. This now results in a warning
message, if ngdebug is set. The warning may be a
false positive though.
2019-03-21 15:50:05 +01:00
dwarning d2f9da64bc bring current summation inline with rhs 2018-12-24 09:34:06 +01:00