Commit Graph

6807 Commits

Author SHA1 Message Date
Holger Vogt 93a76d8e21 add a limit exp(arg) to the exp function. If arg is larger
than 14 (arbitrarily selected), continue with linear response.
2020-04-21 19:57:19 +02:00
Holger Vogt 87101cd26d no double parens 2020-04-21 19:56:55 +02:00
Holger Vogt 55f3776fc1 add a warning if file with modified parameters has not been found.
Then ignore the altermod command.
2020-04-21 19:56:27 +02:00
Holger Vogt 4c80a1ab7d fix a bug, use ciprefix instaed of cieq, cieq led to
always FALSE if statement
2020-04-21 19:55:42 +02:00
Holger Vogt a7e664a5c2 fix bug no. 484, correct TREALLOC usage 2020-04-21 19:55:04 +02:00
Holger Vogt 1c2dd967da During setup, ASRC (aka B source) uses ckt->CKTrhsOld[node->number]
for initial evaluation. .nodeset or .ic have never set CKTrhsOld,
so initalization for B source failed.
We still have to check why .nodeset and .ic are set two times,
first in CKTic(), then in CKTload()!
2020-04-21 19:54:41 +02:00
dwarning 8ee46aa84e bring only the 32/64bit configuration inline 2020-04-21 19:54:16 +02:00
dwarning d735c60183 no size_t cast for GlobalMemoryStatusEx result 2020-04-21 19:52:05 +02:00
Holger Vogt 7889b5d540 re-add the icon to the top header of the ngspice GUI 2020-04-05 10:22:13 +02:00
Holger Vogt c4e23989f3 Don't us atexit(), but delete memory during 'quit' 2020-04-04 14:22:04 +02:00
Holger Vogt c2513af3e8 remove code that leads to crash if tran simulation is
interrupted and reset is sent (KiCAD)
2020-04-04 14:21:49 +02:00
Holger Vogt 1a9c1b8c24 remove unused code snippet 2020-04-04 14:21:33 +02:00
Holger Vogt e28cae42f1 enable both new gmin and dyngmin 2020-04-04 14:21:15 +02:00
Holger Vogt 39b0864d42 update to re-enable icon 2020-04-04 14:21:01 +02:00
Holger Vogt 673a14afdb more conservative op calculation:
start with new gmin, if this fails, fall back to dynamic gmin,
then source stepping
2020-04-04 14:20:45 +02:00
Holger Vogt 2f31bd5c2a avoid compiler warning 2020-04-04 14:20:16 +02:00
Holger Vogt 9edc436ef7 remove SIGINT handling which was not functional
add SIGSEGV handler which may be excluded by
set nosighandling
2020-04-04 14:19:55 +02:00
dwarning 8ca33bc8f5 VDMOS correct thermal diode contribution in reverse operation 2020-04-04 14:19:38 +02:00
dwarning b75791c87d VDMOS include body diode into power calculation 2020-04-04 14:19:21 +02:00
dwarning 897165d026 VDMOS change default value for Rthca 2020-04-04 14:19:03 +02:00
dwarning f19da3bd79 case correction for library name 2020-04-04 14:18:38 +02:00
dwarning 18be08dfc3 omit function search in configure phase 2020-04-04 14:18:13 +02:00
Holger Vogt c076c932b4 enable MINGW linking to -lShlwapi,
which failed during making 32 bit shared lib
2020-04-04 14:17:54 +02:00
dwarning 3994f9de1a example default to available models 2020-04-04 14:17:04 +02:00
dwarning 3999dcc700 w and l must be exact altermod parameter for MOS binning 2020-04-04 14:16:47 +02:00
dwarning d3da0d5ebf VDMOS consider body diode thermal contribution for self-heatine effect 2020-04-04 14:16:19 +02:00
Holger Vogt c86cd740d6 fix a bug: re-enable reading vecs with length 1
Bug reported by LM
2020-04-04 14:15:55 +02:00
Holger Vogt ded0092ad6 If ngSpice_Command(NULL) is sent to shared ngspice,
the internal control structure memory is freed.
2020-04-04 14:15:38 +02:00
dwarning ada7c54263 revert commit 194bb and let configure do the job 2020-04-04 14:15:17 +02:00
dwarning 57d3ad7ab3 add sharedspice.sln for VisualStudio 2020-04-04 14:14:48 +02:00
dwarning b93b0d1ed6 add missing libraries for msys/mingw 2020-04-04 14:14:21 +02:00
Holger Vogt d3fcf2f43f restrict removal of arg only to comma operator,
otherwise functions with a single variable may fail
2020-04-04 14:13:35 +02:00
Holger Vogt 4a3b193154 remove memory leak in function parser (bug. no 478),
second case
2020-04-04 14:13:01 +02:00
Holger Vogt 96976ee49d prevent non-English characters (e.g. Umlaute),
which gtkwave does not understand
2020-04-04 14:12:05 +02:00
Holger Vogt 3a6a445241 rcheck -> rcheckn in cmath1.c
delete alloced memory in case of check failure
2020-04-04 14:11:32 +02:00
Holger Vogt ba81e21197 rcheckn: rcheck plus freeing allocated memory 2020-04-04 14:11:07 +02:00
Holger Vogt 84ff135e5b syntax check for vdmos instances with 'thermal' flag 2020-04-04 14:10:07 +02:00
Holger Vogt 9e8e50cb57 Fix a bug raised by Sambeet in
[Ngspice-users] Problems with xspice limiter block:
Don't treat .model limit_comp limit(gain... as a function
if PSPICE compatibility is set.
2020-04-04 14:09:25 +02:00
dwarning edc5b5a4d4 VDMOS prevent fault if thermal switch is given but thermal nodes are not 2020-04-04 14:08:48 +02:00
dwarning 8c2bdd2f7a VDMOS include thermal components into convtest 2020-03-15 11:03:56 +01:00
dwarning 7b77a13d3d VDMOS return if NIintegrate fails 2020-03-15 11:03:36 +01:00
dwarning a850b2a070 VDMOS diode current op information 2020-03-15 11:00:34 +01:00
dwarning 793c82d384 VDMOS rise minimal diode resistance for better convergence 2020-03-15 11:00:23 +01:00
dwarning 5c5f43d122 VDMOS safe Temp init 2020-03-15 11:00:15 +01:00
dwarning 034f415621 VDMOS separate dc and thermal parts 2020-03-15 11:00:07 +01:00
dwarning 659ade6cf2 VDMOS few variable name changes 2020-03-15 10:59:59 +01:00
dwarning ce66266965 VDMOS remove drain resistance temperature derivation 2020-03-15 10:59:54 +01:00
dwarning ee7599b33f VDMOS few variable name changes 2020-03-15 10:59:49 +01:00
Holger Vogt 020c5578a1 remove unused code snippet 2020-03-15 10:59:27 +01:00
Holger Vogt 0490bc090b Allow 3-terminal MOS devices (e.g. VDMOS),
prevent crash upon user error
2020-03-15 10:59:05 +01:00