Commit Graph

6781 Commits

Author SHA1 Message Date
Holger Vogt 699fd20fe2 syntax check for vdmos instances with 'thermal' flag 2020-03-21 11:22:25 +01:00
Holger Vogt a20dcf253f 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-03-20 19:59:21 +01:00
dwarning 1bb891a43c VDMOS prevent fault if thermal switch is given but thermal nodes are not 2020-03-16 11:25:35 +01:00
dwarning a49a05ec0d VDMOS include thermal components into convtest 2020-03-15 09:47:58 +01:00
dwarning a0f168e72e VDMOS return if NIintegrate fails 2020-03-15 09:45:50 +01:00
Holger Vogt f429e0466d Allow 3-terminal MOS devices (e.g. VDMOS),
prevent crash upon user error
2020-03-14 10:44:32 +01:00
dwarning 3180eacc53 VDMOS diode current op information 2020-03-13 19:27:41 +01:00
dwarning 7e962c65f8 VDMOS rise minimal diode resistance for better convergence 2020-03-13 19:22:28 +01:00
dwarning 402f99bbe3 VDMOS safe Temp init 2020-03-13 19:16:57 +01:00
dwarning e6b9995990 VDMOS separate dc and thermal parts 2020-03-13 19:13:01 +01:00
dwarning ee5eea2241 VDMOS few variable name changes 2020-03-13 19:00:21 +01:00
dwarning 6668297a27 VDMOS remove drain resistance temperature derivation 2020-03-13 18:59:09 +01:00
dwarning 3735426987 VDMOS few variable name changes 2020-03-13 18:55:47 +01:00
Holger Vogt 2350398fa5 remove unused code snippet 2020-03-08 20:00:15 +01:00
Holger Vogt a3917f49ec 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-08 19:59:09 +01:00
Holger Vogt 7fcc65f22a Revert "translate i(vxx) to vxx#branch. Doing it here"
This reverts commit aa99acf513.
2020-03-08 19:47:18 +01:00
Holger Vogt aa99acf513 translate i(vxx) to vxx#branch. Doing it here
prevents PPparse from creating a spurious vector
named vxx that will leak memory.
Doing it in inpcom.c would be less efficient,
and vector names in plots etc would have been modified.
2020-03-08 11:36:10 +01:00
Holger Vogt a0666bb849 Revert "Add afuction to transform i(vxx) to vxx#branch"
This reverts commit 88e6ec2f70.
2020-03-08 11:12:39 +01:00
Holger Vogt a463d0563f Revert "re-write inp_rep_ixx(), catch all known cases,"
This reverts commit 55c4f16134.
2020-03-08 11:12:24 +01:00
Holger Vogt 55c4f16134 re-write inp_rep_ixx(), catch all known cases,
paranoia examples are o.k.
2020-03-07 23:31:47 +01:00
Holger Vogt 4c44244444 Imrove an error message: End-of-line delimiter $ is
not allowed when PSPICE compatibility is set. $ is
a standard character in PSPICE.
2020-03-07 19:51:17 +01:00
Holger Vogt 88e6ec2f70 Add afuction to transform i(vxx) to vxx#branch
in .control sections.
This is to avoid memory leaks (see bug 478).
A better fix may be probably available by adapting
parse-bison.y.
2020-03-07 19:49:36 +01:00
Holger Vogt 13d8a7f515 correct the return values 2020-03-07 19:46:54 +01:00
dwarning a129f863ca omit wanted fallthrough warnings with gcc 2020-03-07 14:22:20 +01:00
Holger Vogt 698f62fc8f compatibility to old vsnprintf() in MINGW is no longer needed.
Compiling with -D__USE_MINGW_ANSI_STDIO=1 enables C99 compatibility.
2020-03-06 20:49:00 +01:00
Holger Vogt b6aeaf914b Replace swprintf by MultiByteToWideChar to correctly
translate from utf-8 to wchar_t
2020-03-06 20:43:18 +01:00
Holger Vogt 48b00980ef Add compile flag -D__USE_MINGW_ANSI_STDIO=1 to enable
C99 compatibility (e.g. for vsnprintf() )
2020-03-06 20:41:26 +01:00
Holger Vogt 6750628c72 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-06 14:59:02 +01:00
Holger Vogt fdcfa929b5 clean up winmain.c 2020-03-06 14:55:32 +01:00
Holger Vogt 196f629d8c enable compiling wide char with MINGW 2020-03-06 14:53:27 +01:00
Holger Vogt 2b905607c3 make flag 'nolegend' localfor each plot 2020-03-06 14:51:39 +01:00
Holger Vogt 1a407f9b67 set the proper preprocessor flag __MINGW32__ 2020-03-05 22:51:29 +01:00
Holger Vogt 7bee475de1 Instantiations of string and dstring functions as inline
This will remove the redundant-decls warning
2020-03-05 13:15:52 +01:00
Holger Vogt b1116283c8 remove outdated function GlobalMemoryStatus(&ms) 2020-03-04 22:51:59 +01:00
Holger Vogt 506098b10c compile oinstruction for MINGW
UNICODE is not yet working, only extended ASCII
2020-03-04 22:46:19 +01:00
Holger Vogt ac8eab8e8c make code compile with MINGW (preliminary) 2020-03-04 22:45:30 +01:00
Holger Vogt bc3fe34781 work around a bug in MINGW
Reported in
https://github.com/msys2/MINGW-packages/issues/6254
2020-03-04 22:44:20 +01:00
Holger Vogt 3012f09623 remove false bracket in EXT_ASC 2020-03-04 14:47:31 +01:00
Holger Vogt 4dff827763 prevent crash if premature exit (without ckt) 2020-03-04 14:46:35 +01:00
Holger Vogt ab12ad574e remove xgraph in ngspice shared lib 2020-03-02 18:13:35 +01:00
Holger Vogt 262d74bb4d measure compile time elapsed 2020-02-29 18:13:05 +01:00
Holger Vogt a7f6379677 make declaration inline 2020-02-29 18:11:03 +01:00
Holger Vogt 7a372437a2 re-enable making old apps with --enable-oldapps 2020-02-28 23:29:19 +01:00
Holger Vogt d8af86117f ngsconvert.c: add const to cp_enqvar 2020-02-28 19:55:25 +01:00
Holger Vogt 69ec5e46af re-enable making nutmeg 2020-02-28 19:44:32 +01:00
Holger Vogt f7705de2c7 plug a memory leak (in case of failing op for tran calculation) 2020-02-28 18:12:55 +01:00
Holger Vogt e3aa834bd4 plug a memory leak (pll-xspice.cir) 2020-02-28 18:11:58 +01:00
Holger Vogt 8c9c1230fe plug a memory leak (IXTH80N20L-IXTH48P20P-quasisat.sp) 2020-02-28 18:10:31 +01:00
Holger Vogt 4e1fd88466 some tiny updates to the plot commands 2020-02-28 18:08:44 +01:00
dwarning 2a7f186c0a add aliases for temp coeffs 2020-02-28 10:05:34 +01:00