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
fdbcdb5b7d
apply const qualifier appropriately
2020-04-25 10:27:28 +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
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
f5ebea5e9f
use internally predefined pow() function
2020-04-21 19:59:11 +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
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
dwarning
d735c60183
no size_t cast for GlobalMemoryStatusEx result
2020-04-21 19:52:05 +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
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
3999dcc700
w and l must be exact altermod parameter for MOS binning
2020-04-04 14:16:47 +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
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
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
Holger Vogt
0490bc090b
Allow 3-terminal MOS devices (e.g. VDMOS),
...
prevent crash upon user error
2020-03-15 10:59:05 +01:00
Holger Vogt
11cf6e709b
third trial: get the token i(vss) as a whole in the lexer,
...
this prevents the parser from generating the spurious vector vss.
No need to do an extra translation i(vss) -> vss#branch.
2020-03-15 10:58:56 +01:00
Holger Vogt
7a7f717574
make flag 'nolegend' localfor each plot
2020-03-15 08:51:17 +01:00
Holger Vogt
1398ee7aa0
set the proper preprocessor flag __MINGW32__
2020-03-15 08:51:17 +01:00
Holger Vogt
0e4b736a5d
remove outdated function GlobalMemoryStatus(&ms)
2020-03-15 08:51:17 +01:00
Holger Vogt
09d3fbe3ad
remove false bracket in EXT_ASC
2020-03-15 08:51:17 +01:00
Holger Vogt
027b342a9c
prevent crash if premature exit (without ckt)
2020-03-15 08:51:17 +01:00
Holger Vogt
ded6bbbe34
make declaration inline
2020-03-15 08:51:16 +01:00
Holger Vogt
10c312856e
re-enable making nutmeg
2020-03-15 08:51:16 +01:00
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
2020-03-15 08:51:16 +01:00
Holger Vogt
14c0828a65
plug a memory leak (IXTH80N20L-IXTH48P20P-quasisat.sp)
2020-03-15 08:51:16 +01:00
dwarning
e9abecc8c7
change vdmos flag to thermal, not to confuse with b4soi
2020-03-15 08:51:15 +01:00
dwarning
3686dbfb78
filter only mos instances with thermal switch
2020-03-15 08:51:15 +01:00
Holger Vogt
f24ed96cbd
plug some memory leaks
2020-03-15 08:51:15 +01:00
dwarning
791f18053f
change vdmos flag to thermal, not to confuse with b4soi
2020-03-15 08:51:15 +01:00
Jim Monte
b9d45349d5
Added featurest to com_let to allow default low and high indices and to allow the last dimension to default to its full range
2020-03-15 08:51:15 +01:00
Holger Vogt
e53632c368
When plotting arrays of curves, plot lines only in the direction
...
of (in absolute terms) growing x values.
Example: MOS output characteristics.
In the rare case of plotting versus varying x directions
(e.g. example memristor.sp), one has to add the flag
'retraceplot' to the plot command.
2020-03-15 08:51:14 +01:00