Commit Graph

6779 Commits

Author SHA1 Message Date
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
dwarning 7b77a13d3d VDMOS return if NIintegrate fails 2020-03-15 11:03:36 +01:00
dwarning a850b2a070 VDMOS diode current op information 2020-03-15 11:00:34 +01:00
dwarning 793c82d384 VDMOS rise minimal diode resistance for better convergence 2020-03-15 11:00:23 +01:00
dwarning 5c5f43d122 VDMOS safe Temp init 2020-03-15 11:00:15 +01:00
dwarning 034f415621 VDMOS separate dc and thermal parts 2020-03-15 11:00:07 +01:00
dwarning 659ade6cf2 VDMOS few variable name changes 2020-03-15 10:59:59 +01:00
dwarning ce66266965 VDMOS remove drain resistance temperature derivation 2020-03-15 10:59:54 +01:00
dwarning ee7599b33f VDMOS few variable name changes 2020-03-15 10:59:49 +01:00
Holger Vogt 020c5578a1 remove unused code snippet 2020-03-15 10:59:27 +01: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 fbd17bc25a Imrove an error message: End-of-line delimiter $ is
not allowed when PSPICE compatibility is set. $ is
a standard character in PSPICE.
2020-03-15 10:58:30 +01:00
Holger Vogt 02cf88c119 correct the return values 2020-03-15 08:51:18 +01:00
dwarning ff07a21608 omit wanted fallthrough warnings with gcc 2020-03-15 08:51:18 +01:00
Holger Vogt d967e18632 compatibility to old vsnprintf() in MINGW is no longer needed.
Compiling with -D__USE_MINGW_ANSI_STDIO=1 enables C99 compatibility.
2020-03-15 08:51:18 +01:00
Holger Vogt 258c01d9bb Replace swprintf by MultiByteToWideChar to correctly
translate from utf-8 to wchar_t
2020-03-15 08:51:18 +01:00
Holger Vogt 50aa148bf9 Add compile flag -D__USE_MINGW_ANSI_STDIO=1 to enable
C99 compatibility (e.g. for vsnprintf() )
2020-03-15 08:51:18 +01:00
Holger Vogt b81953fafd enable true gmin stepping
The old behavior, stepping diagmin, is re-obtained by adding flag
set 'dyngmin'
to .spiceinit or spinit
This flag may also be set within a .control section (e.g. to
compare results)
2020-03-15 08:51:18 +01:00
Holger Vogt 4bcb38abb5 clean up winmain.c 2020-03-15 08:51:18 +01:00
Holger Vogt 8d9d40d621 enable compiling wide char with MINGW 2020-03-15 08:51:18 +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 249304a06f Instantiations of string and dstring functions as inline
This will remove the redundant-decls warning
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 3f34036e4d compile oinstruction for MINGW
UNICODE is not yet working, only extended ASCII
2020-03-15 08:51:17 +01:00
Holger Vogt 08a2f04e8d make code compile with MINGW (preliminary) 2020-03-15 08:51:17 +01:00
Holger Vogt bcfdc806a5 work around a bug in MINGW
Reported in
https://github.com/msys2/MINGW-packages/issues/6254
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 1c50aeae0f remove xgraph in ngspice shared lib 2020-03-15 08:51:16 +01:00
Holger Vogt e7837b1808 measure compile time elapsed 2020-03-15 08:51:16 +01:00
Holger Vogt ded6bbbe34 make declaration inline 2020-03-15 08:51:16 +01:00
Holger Vogt cab9cbdddf re-enable making old apps with --enable-oldapps 2020-03-15 08:51:16 +01:00
Holger Vogt 2ff0e3b1b7 ngsconvert.c: add const to cp_enqvar 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 06239e567f plug a memory leak (in case of failing op for tran calculation) 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