Commit Graph

6835 Commits

Author SHA1 Message Date
Holger Vogt 7050e5acf5 correct zeroing of allnodes array 2020-04-23 13:33:07 +02:00
Holger Vogt 7603b4eaef fix typo 2020-04-23 13:32:33 +02:00
Holger Vogt 6d815a4255 typo 2020-04-21 11:45:14 +02:00
Holger Vogt a1a09385a2 Remove '.backanno' if LT campatibility mode is set 2020-04-21 11:37:59 +02:00
Holger Vogt 8dfc36a35e cktislinear(): coupling of inductors is also linear 2020-04-21 09:08:56 +02:00
Holger Vogt f0bbdbce70 Guard XSPICE plot switching against circuit being removed already 2020-04-19 11:45:11 +02:00
Holger Vogt a0c5816575 don't forget to free jobs->statistics[i] 2020-04-18 16:53:00 +02:00
Holger Vogt 96100b28e4 free mor data in jobs struct. Avoid memory leak upon 'quit' command. 2020-04-18 16:18:24 +02:00
Holger Vogt 647384ea67 remove all data enlisted in the jobs structure 2020-04-18 14:33:23 +02:00
Holger Vogt 73a2a050d8 add function EVTswitch_plot() to switch the event data
according tothe (analog) plot. Called from plot_setcur()
in vetors.c, when command 'setplot xxx' is given.
2020-04-18 14:01:26 +02:00
Holger Vogt 237d294263 get the plot name into the event job 2020-04-18 11:17:41 +02:00
Holger Vogt 3c3eee4f3d Fixes bugs 476, 486: Reset code model init flag,
required when any run is called a second time.
2020-04-17 22:39:09 +02:00
Holger Vogt f14266b413 pow(a,b) function derivative: special case also for a=const
with enhnaced efficiency
introduce TRACE and TRACE1 for debugging
2020-04-16 12:07:05 +02:00
Holger Vogt 4b905c2d61 use internally predefined pow() function 2020-04-16 12:04:31 +02:00
Holger Vogt 499a55e392 define is no longer needed with recent VS 2019 2020-04-16 12:02:30 +02:00
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