Commit Graph

6799 Commits

Author SHA1 Message Date
dwarning fa5f20ea96 VDMOS include body diode into power calculation 2020-04-01 16:42:57 +02:00
dwarning 0b51477b80 VDMOS change default value for Rthca 2020-04-01 16:41:46 +02:00
dwarning d597dc1c45 case correction for library name 2020-03-30 13:15:32 +02:00
dwarning cc44616192 omit function search in configure phase 2020-03-30 13:13:09 +02:00
Holger Vogt bbaf092256 enable MINGW linking to -lShlwapi,
which failed during making 32 bit shared lib
2020-03-29 16:07:32 +02:00
dwarning cd137b4d74 example default to available models 2020-03-28 18:55:02 +01:00
dwarning f92c350f95 w and l must be exact altermod parameter for MOS binning 2020-03-28 18:31:45 +01:00
dwarning 76d2b80953 VDMOS consider body diode thermal contribution for self-heatine effect 2020-03-28 17:57:09 +01:00
Holger Vogt 97ea05f4cb fix a bug: re-enable reading vecs with length 1
Bug reported by LM
2020-03-27 11:32:42 +01:00
Holger Vogt 6d1092e69c If ngSpice_Command(NULL) is sent to shared ngspice,
the internal control structure memory is freed.
2020-03-27 11:18:02 +01:00
dwarning ba589fe95f revert commit 194bb and let configure do the job 2020-03-26 12:20:41 +01:00
dwarning 8317dcdafe add sharedspice.sln for VisualStudio 2020-03-25 20:57:14 +01:00
dwarning 194bbd00ca add missing libraries for msys/mingw 2020-03-25 20:54:29 +01:00
Holger Vogt f617e31fa2 restrict removal of arg only to comma operator,
otherwise functions with a single variable may fail
2020-03-22 11:59:28 +01:00
Holger Vogt b598bba6e5 remove memory leak in function parser (bug. no 478),
second case
2020-03-22 00:17:58 +01:00
Holger Vogt efb036ef68 prevent non-English characters (e.g. Umlaute),
which gtkwave does not understand
2020-03-22 00:15:59 +01:00
Holger Vogt 5b535a7ceb rcheck -> rcheckn in cmath1.c
delete alloced memory in case of check failure
2020-03-21 13:47:58 +01:00
Holger Vogt 512385b69f rcheckn: rcheck plus freeing allocated memory 2020-03-21 11:51:18 +01:00
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