Commit Graph

6820 Commits

Author SHA1 Message Date
Holger Vogt 4f3f77f451 guard against ft_curckt->ci_ckt == NULL 2020-04-13 17:04:43 +02:00
Holger Vogt 0b6bf69809 re-add the icon to the top header of the ngspice GUI 2020-04-13 15:38:52 +02:00
Holger Vogt 91da078e4f showmod will no longer crash ngspice if run after some error 2020-04-13 15:37:50 +02:00
Holger Vogt c4ee63a6fa add mfg to the .model tokens to be ignored during altermod 2020-04-13 11:45:10 +02:00
Holger Vogt 8ff478ae45 add a limit exp(arg) to the exp function. If arg is larger
than 14 (arbitrarily selected), continue with linear response.
2020-04-13 11:05:03 +02:00
Holger Vogt 22919ef0bf no double parens 2020-04-13 11:03:12 +02:00
Holger Vogt 92cbbe8049 add a warning if file with modified parameters has not been found.
Then ignore the altermod command.
2020-04-13 10:26:05 +02:00
Holger Vogt 40551fb873 fix a bug, use ciprefix instaed of cieq, cieq led to
always FALSE if statement
2020-04-13 10:24:03 +02:00
Holger Vogt 0fb69656a3 fix bug no. 484, correct TREALLOC usage 2020-04-06 23:18:14 +02:00
Holger Vogt 0952bad394 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-05 19:54:19 +02:00
dwarning e74947b875 bring only the 32/64bit configuration inline 2020-04-04 20:46:33 +02:00
dwarning 32725fbbb0 no size_t cast for GlobalMemoryStatusEx result 2020-04-04 18:13:13 +02:00
Holger Vogt 27af862741 Don't us atexit(), but delete memory during 'quit' 2020-04-03 18:31:31 +02:00
Holger Vogt 78985e117d remove code that leads to crash if tran simulation is
interrupted and reset is sent (KiCAD)
2020-04-02 20:53:32 +02:00
Holger Vogt 8d5cf355ab remove unused code snippet 2020-04-02 20:52:03 +02:00
Holger Vogt 2c32d2e24d enable both new gmin and dyngmin 2020-04-02 20:51:43 +02:00
Holger Vogt 8ae1477c8d update to re-enable icon 2020-04-02 20:26:48 +02:00
Holger Vogt 3994491148 more conservative op calculation:
start with new gmin, if this fails, fall back to dynamic gmin,
then source stepping
2020-04-02 20:00:39 +02:00
Holger Vogt cf10b0c50a avoid compiler warning 2020-04-02 19:57:58 +02:00
Holger Vogt 3fcc35799b remove SIGINT handling which was not functional
add SIGSEGV handler which may be excluded by
set nosighandling
2020-04-02 16:34:45 +02:00
dwarning 8e4994e707 VDMOS correct thermal diode contribution in reverse operation 2020-04-01 16:43:59 +02:00
dwarning fa5f20ea96 VDMOS include body diode into power calculation 2020-04-01 16:42:57 +02:00
dwarning 0b51477b80 VDMOS change default value for Rthca 2020-04-01 16:41:46 +02:00
dwarning d597dc1c45 case correction for library name 2020-03-30 13:15:32 +02:00
dwarning cc44616192 omit function search in configure phase 2020-03-30 13:13:09 +02:00
Holger Vogt bbaf092256 enable MINGW linking to -lShlwapi,
which failed during making 32 bit shared lib
2020-03-29 16:07:32 +02:00
dwarning cd137b4d74 example default to available models 2020-03-28 18:55:02 +01:00
dwarning f92c350f95 w and l must be exact altermod parameter for MOS binning 2020-03-28 18:31:45 +01:00
dwarning 76d2b80953 VDMOS consider body diode thermal contribution for self-heatine effect 2020-03-28 17:57:09 +01:00
Holger Vogt 97ea05f4cb fix a bug: re-enable reading vecs with length 1
Bug reported by LM
2020-03-27 11:32:42 +01:00
Holger Vogt 6d1092e69c If ngSpice_Command(NULL) is sent to shared ngspice,
the internal control structure memory is freed.
2020-03-27 11:18:02 +01:00
dwarning ba589fe95f revert commit 194bb and let configure do the job 2020-03-26 12:20:41 +01:00
dwarning 8317dcdafe add sharedspice.sln for VisualStudio 2020-03-25 20:57:14 +01:00
dwarning 194bbd00ca add missing libraries for msys/mingw 2020-03-25 20:54:29 +01:00
Holger Vogt f617e31fa2 restrict removal of arg only to comma operator,
otherwise functions with a single variable may fail
2020-03-22 11:59:28 +01:00
Holger Vogt b598bba6e5 remove memory leak in function parser (bug. no 478),
second case
2020-03-22 00:17:58 +01:00
Holger Vogt efb036ef68 prevent non-English characters (e.g. Umlaute),
which gtkwave does not understand
2020-03-22 00:15:59 +01:00
Holger Vogt 5b535a7ceb rcheck -> rcheckn in cmath1.c
delete alloced memory in case of check failure
2020-03-21 13:47:58 +01:00
Holger Vogt 512385b69f rcheckn: rcheck plus freeing allocated memory 2020-03-21 11:51:18 +01:00
Holger Vogt 699fd20fe2 syntax check for vdmos instances with 'thermal' flag 2020-03-21 11:22:25 +01:00
Holger Vogt a20dcf253f 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-03-20 19:59:21 +01:00
dwarning 1bb891a43c VDMOS prevent fault if thermal switch is given but thermal nodes are not 2020-03-16 11:25:35 +01:00
dwarning a49a05ec0d VDMOS include thermal components into convtest 2020-03-15 09:47:58 +01:00
dwarning a0f168e72e VDMOS return if NIintegrate fails 2020-03-15 09:45:50 +01:00
Holger Vogt f429e0466d Allow 3-terminal MOS devices (e.g. VDMOS),
prevent crash upon user error
2020-03-14 10:44:32 +01:00
dwarning 3180eacc53 VDMOS diode current op information 2020-03-13 19:27:41 +01:00
dwarning 7e962c65f8 VDMOS rise minimal diode resistance for better convergence 2020-03-13 19:22:28 +01:00
dwarning 402f99bbe3 VDMOS safe Temp init 2020-03-13 19:16:57 +01:00
dwarning e6b9995990 VDMOS separate dc and thermal parts 2020-03-13 19:13:01 +01:00
dwarning ee5eea2241 VDMOS few variable name changes 2020-03-13 19:00:21 +01:00