Holger Vogt
c520a9a4b9
if lt(a) comp mode is set, replace 'noiseless' by 'noisy=0' in resistors
2020-04-25 10:30:05 +02:00
Holger Vogt
74dbb1e843
Commit [88653f] Fixed assorted compiler warnings, memory leaks, etc.
...
branch beta_jdm by Jim Monte
2020-04-25 10:29:16 +02:00
Holger Vogt
ca05aa318b
Commit [88653f] Fixed assorted compiler warnings, memory leaks, etc.
...
branch beta_jdm by Jim Monte
2020-04-25 10:29:00 +02:00
Holger Vogt
779bd0e6e2
Commit [88653f] Fixed assorted compiler warnings, memory leaks, etc.
...
branch beta_jdm by Jim Monte
2020-04-25 10:28:49 +02:00
Holger Vogt
a084f4f2b5
avoid type conversion warning size_t -> int
2020-04-25 10:28:34 +02:00
Holger Vogt
d3866a6315
Spice_Notice is never NULL
2020-04-25 10:28:07 +02:00
Holger Vogt
0cd33d3fbb
correct zeroing of allplots array
2020-04-25 10:27:49 +02:00
Holger Vogt
fdbcdb5b7d
apply const qualifier appropriately
2020-04-25 10:27:28 +02:00
Holger Vogt
814cadf36c
remove const declaration to make ASRCsetup compatible with .DEVsetup
2020-04-25 10:25:42 +02:00
Holger Vogt
050cea146e
correct zeroing of allnodes array
2020-04-25 10:24:25 +02:00
Holger Vogt
833751ab3f
fix typo
2020-04-25 10:24:02 +02:00
Holger Vogt
b3fdff7bc0
Spice_Build_Date is never NULL
2020-04-23 13:30:55 +02:00
Holger Vogt
1f8b179ef9
typo
2020-04-21 20:02:31 +02:00
Holger Vogt
572daed2ec
Remove '.backanno' if LT campatibility mode is set
2020-04-21 20:02:18 +02:00
Holger Vogt
b701a6347d
cktislinear(): coupling of inductors is also linear
2020-04-21 20:02:05 +02:00
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
2020-04-21 20:01:49 +02:00
Holger Vogt
ae2d207344
don't forget to free jobs->statistics[i]
2020-04-21 20:01:06 +02:00
Holger Vogt
3b5c272096
free mor data in jobs struct. Avoid memory leak upon 'quit' command.
2020-04-21 20:00:49 +02:00
Holger Vogt
bc0cef9371
remove all data enlisted in the jobs structure
2020-04-21 20:00:35 +02:00
Holger Vogt
bbb0007466
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-21 20:00:17 +02:00
Holger Vogt
d72b4c415f
get the plot name into the event job
2020-04-21 19:59:58 +02:00
Holger Vogt
b356b00014
Fixes bugs 476, 486: Reset code model init flag,
...
required when any run is called a second time.
2020-04-21 19:59:43 +02:00
Holger Vogt
c7e9c3884e
pow(a,b) function derivative: special case also for a=const
...
with enhnaced efficiency
introduce TRACE and TRACE1 for debugging
2020-04-21 19:59:29 +02:00
Holger Vogt
f5ebea5e9f
use internally predefined pow() function
2020-04-21 19:59:11 +02:00
Holger Vogt
a1a37d84a7
define is no longer needed with recent VS 2019
2020-04-21 19:58:55 +02:00
Holger Vogt
d8085ed594
guard against ft_curckt->ci_ckt == NULL
2020-04-21 19:58:36 +02:00
Holger Vogt
11b22c8f46
showmod will no longer crash ngspice if run after some error
2020-04-21 19:58:07 +02:00
Holger Vogt
6ab1f8b2d6
add mfg to the .model tokens to be ignored during altermod
2020-04-21 19:57:47 +02:00
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
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
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
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
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