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
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