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
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
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
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
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
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
dwarning
15b8e0ba7f
add aliases for temp coeffs
2020-03-15 08:51:15 +01:00
dwarning
5e4c7a255e
update .gitignore and make clean
2020-03-15 08:51:15 +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
dwarning
59bb80f3d3
free errMsg only if available
2020-03-15 08:51:14 +01:00
dwarning
f632f79056
use errMsg under ngdebug condition and prevent memory leak
2020-03-15 08:51:14 +01:00
Holger Vogt
eab10ee065
prevent double closing of file (Linux does not NULL fp during fclose)
2020-03-15 08:51:14 +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
Holger Vogt
14b154f5f3
Copy the scale vector as well and attach it to the data vector.
...
Remove it again when the graph is destroyed.
2020-03-15 08:51:14 +01:00
Holger Vogt
f518766c66
add a slight offset between y axis labels and grid
2020-03-15 08:51:14 +01:00
Holger Vogt
1919cf5c94
replace variable 'gridwidth' by 'xgridwidth'
2020-03-15 08:51:13 +01:00
Holger Vogt
c2cf4d7eda
required for reliable re-plotting, however still has the
...
return line bug no #472
2020-03-15 08:51:13 +01:00
Holger Vogt
57e647c704
enable "null allowed" for reset input
2020-03-15 08:51:13 +01:00
Holger Vogt
acbec3ae81
Preliminary 'fix' to a plotting bug (visible return line in an array of curves):
...
Partially undo code added in commit 10415875f4 /
This will need further discussion or updates
2020-03-15 08:51:13 +01:00
Holger Vogt
71ad2903ff
plug a memory leak in inpcom.c vdmos code
2020-03-15 08:51:13 +01:00
Holger Vogt
4ddcff55e7
add const declaration to newfopen
2020-03-15 08:51:13 +01:00
Holger Vogt
c4045d371d
single space indent in analysis window
2020-03-15 08:51:13 +01:00
Holger Vogt
8ff4c7cd3b
just another remains of quote
2020-03-15 08:51:12 +01:00
Holger Vogt
7f085144a9
remove all the remains of quote() and strip() that had been
...
used to modify the eigths bit of a character or string.
The functions had been switched off some time ago.
We now need all bits of a char for extended ascii or utf8
2020-03-15 08:51:12 +01:00
Holger Vogt
8d986e50cc
remove the remains of the old xgraph program
...
that has not been supported for many years
2020-03-15 08:51:12 +01:00
Holger Vogt
32722ecc57
some missing brackets, typos
2020-03-15 08:51:12 +01:00
Holger Vogt
93a408598a
switch to colorarray in graph to string all color data,
...
one set per each graph.
If we are zooming or selecting a cutout, copy the
source graph's colors to the new graph. Transfer the
old graphs id to the new graph via graph->graphid.
2020-03-15 08:51:12 +01:00
Vogt
728ddae41e
Set the color tables and linewidths personal for each graph,
...
added to strucht graph
Use only these data for plotting.
If zooming a plot windows, set as an extra parameter the graph id
of the 'mother graph'. Copy its color and line data to the new graph.
This is done by an extra parameter sgraphid to the internal plot
command that is issued in fcn PlotWindowProc().
Thus zooming will keep the background, text/line and graph colors.
Function setcolor() will always look into the colorarray of the
current graph.
2020-03-15 08:51:12 +01:00
Holger Vogt
a7aaac854f
enable color and font selection for X11:
...
Add graphics context gridgc for plotting the grids.
Enable rgbd:, input of color by RGB 0 ... 255
If no color1 (text/grid) is given,
select black or white according to backgrund color.
Error message, but no crash if font cannot be selected.
Enable separate linewidth selection for grid and graph.
2020-03-15 08:51:11 +01:00
Holger Vogt
800cd05f3d
new variable nolegend: with 'set nolegend' plotting of
...
the legend is suppressed.
2020-03-15 08:51:11 +01:00
Holger Vogt
fed7ef378f
add variable ticchar, allow an arbitrary character as ticmark
2020-03-15 08:51:11 +01:00
Holger Vogt
8639144093
cp_getvar: force a limit to a string entered
...
Issue a warning, truncate the string
2020-03-15 08:51:11 +01:00
Holger Vogt
1fda03382e
color input for text/grids (color1), background (color0)
...
and graphs (color2-22) on Windows via
set color2=red
set color2=rgb:ff/0/0
set color2=rgbd:255,0,0
several examples given in the example files
2020-03-15 08:51:11 +01:00
Holger Vogt
86917e3d36
enclose in WinGUI #ifdef
2020-03-15 08:51:11 +01:00
Holger Vogt
6094769fda
Restore original 'green', slight update on
...
auto color selection vs. background
2020-03-15 08:51:11 +01:00
Holger Vogt
cb38e7a367
enable using setting colors by colornn with 0<=nn<=22
...
The name list of colors is given by
https://www.codeproject.com/Articles/1276/Naming-Common-Colors
2020-03-15 08:51:10 +01:00
Holger Vogt
54778527c4
list of colors used
2020-03-15 08:51:10 +01:00
Holger Vogt
167bd9b433
enable color selection, if compiled with MINGW
2020-03-15 08:51:10 +01:00
Holger Vogt
3701ca0364
add color selection to WinGui plots
2020-03-15 08:51:10 +01:00
Holger Vogt
ef95ff7edc
generate variable oscompiled
...
test for variable
2020-03-15 08:51:10 +01:00
Holger Vogt
38bb89663d
replace old_x11 by HAVE_LIBXFT defined in configure
2020-03-15 08:51:09 +01:00
Holger Vogt
921058cb39
fix remaining bugs when EXT_ASC is defined
2020-03-15 08:51:09 +01:00
Holger Vogt
6e0b631492
Regain static behaviour, keep removing compiler warning
2020-03-15 08:51:09 +01:00
Holger Vogt
3a8e3d130c
update and unify font handling
2020-03-15 08:51:08 +01:00
Holger Vogt
bef9c70e71
Prepare font selection and rotation only once per graph
...
in func X11_DefineXft().
Only 0 and 90 degree are supported.
2020-03-15 08:51:08 +01:00
Holger Vogt
8312a8ade2
Select suitable default text color
2020-03-15 08:51:08 +01:00
Holger Vogt
3eb04b2fdc
improve on memory leaks
...
(not yet completely satisfying)
2020-03-15 08:51:08 +01:00
Holger Vogt
8f42eae6ab
add empty line after error message
2020-03-15 08:51:08 +01:00
Holger Vogt
a23748cf8c
Don't call DestroyGraph if graf id is 0
2020-03-15 08:51:08 +01:00
Holger Vogt
673069f442
add to the source window after 'source' command
2020-03-15 08:51:08 +01:00
Holger Vogt
fd96983099
Reset DevSwitch before returning
2020-03-15 08:51:08 +01:00
Holger Vogt
e7022f7fae
utf-8 string length determined by strlen
2020-03-15 08:51:08 +01:00
Holger Vogt
ac1c8c4a96
return NULL upon NULL input
2020-03-15 08:51:07 +01:00
Holger Vogt
93be5bab0c
increase buffer size, send text to string window,
...
retrieve the correct number of byte after utf-8 conversion.
Answering to a promt (e.g. after command 'hardcopy') does not
yet do.
2020-03-15 08:51:07 +01:00
Holger Vogt
510b1865b4
Re-sort wide char variable definitions.
...
add utf-8 ... utf-16 conversion.
Strings in history buffer shall remain utf-8.
History buffering is not yet working.
2020-03-15 08:51:07 +01:00
Holger Vogt
7a41921035
prevent crash if 'hardcopy' is given without parameters
2020-03-15 08:51:07 +01:00
Holger Vogt
6edb0eea41
re-organize PS color selection
...
Improve settings for PS image
Improve error messages
2020-03-15 08:51:07 +01:00
Holger Vogt
18f1e896f8
allow independent linewidth and gridwidth settings from within the .control section
2020-03-15 08:51:07 +01:00
Holger Vogt
7c0b72c387
prevent compiler warnings
...
enable short GUI interaction from within spfactor.c
2020-03-15 08:51:06 +01:00
Holger Vogt
bd7b35541d
Lengthy op calculations make the Win GUI unresposive.
...
A macro adds a short travel to the GUI fro0m within
the matrix ordering and factoring. Time overhead
during op is less than 0.5%.
2020-03-15 08:51:06 +01:00
Holger Vogt
3d009fef22
Variables xbrushwidth and gridwidth (to be set e.g. in
...
.spiceinit) allow setting separately the linewidths of the
graph (xbrushwidth) and the grid (gridwidth).
2020-03-15 08:51:06 +01:00
Holger Vogt
c9edc6fcb3
Add function returning the true string length in pixels.
...
May be called from outside of x11.c.
2020-03-15 08:51:06 +01:00
Holger Vogt
10f0eea93e
add gridwidth, xbrushwidth to postscript output
2020-03-15 08:51:06 +01:00
Holger Vogt
ca7c77315a
add missing üarameter to DevDrawLine for X11 and HPGL
2020-03-15 08:51:06 +01:00
Holger Vogt
8751092812
Enable separate linewidths for grids and graphs.
...
New variable gridwidth overrides xbrushwidth for graphs.
Fcn DevDrawLine() with boolean flag if grid is plotted.
Postscript, Gnuplot and X11 not (yet) supported.
2020-03-15 08:51:05 +01:00
Holger Vogt
7690b64571
add missing declaration of old_x11
2020-03-15 08:51:05 +01:00
h_vogt
7c3a305d43
add wide char for string i/o under Windows
...
add utf-8 systax check
2020-03-15 08:51:05 +01:00
h_vogt
22f4e8f82d
return extended ascii as alpha
2020-03-15 08:51:05 +01:00
Holger Vogt
85142709fc
For UNICODE use char in comparison to ' '
...
only as unsigned char
2020-03-15 08:51:05 +01:00
h_vogt
531c229b0e
Add library xft for allowing text rotation.
...
Setting variabe 'old_x11' will retain previous behaviour.
2020-03-15 08:51:05 +01:00
h_vogt
0cdea87cb5
Add and ignore angle in fcn for text out
2020-03-15 08:51:05 +01:00
Holger Vogt
0dfe8a22ad
add angle to allow text rotation
2020-03-15 08:51:04 +01:00
h_vogt
697facdc30
#define fopen newfopen
...
and header for MINGW and MS VS
2020-03-15 08:51:04 +01:00
h_vogt
9f272ea8f6
function newfopen to replace fopen
...
by reading wide char strings
2020-03-15 08:51:04 +01:00
Holger Vogt
59adfc1d68
add extended ascii and its selection
...
converter UTF-8 to ISO-8859-1/ISO-8859-15
2020-03-15 08:51:04 +01:00
Holger Vogt
c4f641dad6
remove bracket left over from recent manual merge conflict resolution
2020-03-15 08:51:04 +01:00
h_vogt
dbd0a5743a
Enable utf-8 and UNICODE for string handling.
...
preprocessor flag EXT_ASC resets handling to old behaviour.
Add utf-16 wide char to all Windows string i/o.
Add translation between utf-8 and utf-16.
Add angle to fcn DevDrawText.
2020-03-15 08:51:04 +01:00
Holger Vogt
28c0fbf397
Zero fp, this fixes bug no #475
2020-03-15 08:51:04 +01:00
Jim Monte
93233fde2c
Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak
2020-03-15 08:51:04 +01:00
dwarning
740df722c7
partially revert commit b4bbcb149 for spec analysis functionality
2020-03-15 08:51:04 +01:00
dwarning
86d7963f32
more meaningful warning if vector can't interpolate
2020-03-15 08:51:03 +01:00
Holger Vogt
0ad7acadec
remove unreachable code warning, add const
2020-03-15 08:51:03 +01:00
Holger Vogt
c77da1870d
Fixed compiler warnings related to const, unreachable code, and an empty translation unit.
2020-03-15 08:51:03 +01:00
Jim Monte
7084274344
Fixed incorrect type of variable ch_cur. It was from const char * but should have been const char.
2020-03-15 08:51:03 +01:00
Holger Vogt
5bd45c0451
make path to dstring.c independent from build directory
2020-03-15 08:51:03 +01:00
Holger Vogt
5bc9a320eb
Revert "correct the path to dstring.c"
...
This reverts commit 28002be150 .
2020-03-15 08:51:03 +01:00
Holger Vogt
89ea46e39a
prevent false freeing of vector
2020-03-15 08:51:03 +01:00
dwarning
129b219ed2
correct the path to dstring.c
2020-03-15 08:51:03 +01:00
dwarning
4f75d56011
no wrapper cp_globmatch needed
2020-03-15 08:51:03 +01:00
Vogt
e628fd8977
just use strcmp instead of wrapper function
2020-03-15 08:51:02 +01:00
Holger Vogt
5e76758e57
update to cmpp by J. Monte
2020-03-15 08:51:02 +01:00
Jim Monte
955dda749d
Jim Monte's update to cmpp
2020-03-15 08:51:02 +01:00
Holger Vogt
375a92d788
Fix of buffer overrun in interpolation at endpoint of interval.
...
Made cfunc.mod for tables more modular.
Prevented buffer overrun when building file name.
Added error checking for allocation failures in many locations.
Made binary search for interpolation more efficient.
2020-03-15 08:51:02 +01:00
Jim Monte
92065ea41b
fixed singluar/plural agreement in an error message generated by the let command
2020-03-15 08:51:02 +01:00
Jim Monte
a53cd3a3e9
fixed path created by ngdirname in Windows. Also added const to parameters whose arguments do not change and fixed some potential buffer overruns.
2020-03-15 08:51:02 +01:00
Jim Monte
2d9110bf65
Add const to some parameters, made function static
2020-03-15 08:51:02 +01:00
Jim Monte
1867f5b727
Fix of buffer overrun in interpolation at endpoint of interval. Made cfunc.mod for tables more modular. Prevented buffer overrun when building file name. Added error checking for allocation failures in many locations. Made binary search for interpolation more efficient.
2020-03-15 08:51:02 +01:00
Jim Monte
b4757f934b
Added support for DSTRING in code modules with makefile builds
2020-03-15 08:51:02 +01:00
Jim Monte
190c7fb75c
Clarified error message
2020-03-15 08:51:01 +01:00
Jim Monte
ac49ccaf58
Fixed compile warning about signed/unsigned comparison.
2020-03-15 08:51:01 +01:00
Jim Monte
d254b6c97e
Gave structure defining Mif_Complex_t a name so that it could be forward referenced.
2020-03-15 08:51:01 +01:00
Jim Monte
bfe660e57b
Formatting and added comments
2020-03-15 08:51:01 +01:00
Jim Monte
082f36e794
Formatting
2020-03-15 08:51:01 +01:00
Jim Monte
2f8b7ab062
Minor fix to end-of-index processing of let command
2020-03-15 08:51:01 +01:00
Jim Monte
b967caaabb
File path built more efficiently and now allows an arbitrary length. Prevented strdup() of NULL if path too long. Similarly prevented fopen with a NULL file name. Added function to determine Windows absolute paths properly. Fixed numerous issues that were caused by including Windows system header due to conflicting names. Generally a CMPP_ prefix was added as a "namespace". Also used the standard C bool type instead of defining one.
2020-03-15 08:51:01 +01:00
Jim Monte
0c741bbde2
Rework of let command. Added support for slices as described in feature #69 and fixed several crashes and issues described in bugs #443 , #444 , #446 , #447 , and #448 .
2020-03-15 08:51:01 +01:00
Jim Monte
7990a82f02
Formatting and comments added
2020-03-15 08:51:01 +01:00
Jim Monte
3a2a05f7b0
Removed unnecessary comparisons when lowercasing a string.
2020-03-15 08:51:01 +01:00
Jim Monte
b767df3a7e
Modified calculation to determine when memory is nearly exhausted. Also changed prototypes of memory reporting functions to match their definitions.
2020-03-15 08:51:00 +01:00
dwarning
93317c87a9
simplify beta derivation
2020-03-15 08:51:00 +01:00
dwarning
e966ce5054
alternative temperature model for extrinsic resistances and subthreshold range
2020-03-15 08:51:00 +01:00
Holger Vogt
ec1d655289
In VDMOS device, if instance parameter tnodeout is set,
...
check for exactly five nodes
2020-03-15 08:51:00 +01:00
Holger Vogt
643b0edc26
enable local or global statistical values for B source
...
pre_set statlocal
(or set statlocal in spinit or .spiceinit) will be setting a
different random number for evaluating the value of fcn agauss
etc. in each B line, e.g. if this line appears in a subcircuit,
all expanded B lines will have different values. If not set,
each B line will use the same random number for agauss evaluation.
2020-03-15 08:51:00 +01:00
Holger Vogt
1353a5de77
allow again single letter vector names
2020-03-15 08:51:00 +01:00
dwarning
0fb1c6a000
prevent program crash by misusing thermal model
2020-03-15 08:50:59 +01:00
dwarning
7d17b8f082
vdmos have no Cgb
2020-03-15 08:50:59 +01:00
dwarning
0362d63094
update vdmos with self-heating network and tj and tcase terminal
2020-03-15 08:50:59 +01:00
Holger Vogt
f585807085
re-enable V source with parameter EXTERNAL
...
Fix bug #463
2020-03-15 08:50:59 +01:00
Holger Vogt
b699c7fad8
add the PSPICE vswitch S_ST variant,
...
which resolves to the classical ngspice sw switch
2020-03-15 08:50:59 +01:00
Holger Vogt
9d53780992
allow vec_get to verify vectors if their names are quoted by ""
2020-03-15 08:50:59 +01:00
Holger Vogt
987cc0aa86
another preliminary patch for macOS
2020-03-15 08:50:58 +01:00
Holger Vogt
7680be7312
stub to enable compilation on macOS,
...
memory info for macOS is currently not available.
2020-03-15 08:50:58 +01:00
dwarning
fa8a77343b
format line with LF
2020-03-15 08:50:58 +01:00
Holger Vogt
b7012065ae
remove compiler warning by setting variables to 0
2020-03-15 08:50:58 +01:00
Holger Vogt
a9f83f3445
remove two small memory leaks
2020-03-15 08:50:58 +01:00
Holger Vogt
58901fe898
remove spurious error message
2020-03-15 08:50:58 +01:00
Holger Vogt
7ae76f0f51
update to the .measure and meas error messages:
...
remove crash uipon buggy inputs
add buggy example input file
unify fcn returns: 0 is OK, 1 is bad
Improve on error message for bad syntax
2020-03-15 08:50:58 +01:00
Holger Vogt
e9603dcdeb
enable inp_dodeck() to return an error state,
...
if error, inp_spsource() will return error as well
2020-03-15 08:50:57 +01:00
Holger Vogt
651ba72344
return immediately if ckt is NULL
2020-03-15 08:50:57 +01:00
Holger Vogt
51f80abe00
if inp_spsource() returns with an error code, emit a message
2020-03-15 08:50:57 +01:00
Holger Vogt
f9307d0beb
enable returning inp_spsource() with an error code
2020-03-15 08:50:57 +01:00
Holger Vogt
0c74820821
enable PSPICE compatible ~(~v(9)&v(8))
2020-03-15 08:50:57 +01:00
Holger Vogt
46adeb5eaa
plug memory leaks for the 'plot' command
2020-03-15 08:50:57 +01:00
Holger Vogt
573b270b6d
Give a better, modern name for this type of display
2020-03-15 08:50:57 +01:00
Holger Vogt
b1be546939
User expects an empty input line, not a text that has to be deleted befopre writing
2020-03-15 08:50:57 +01:00
Holger Vogt
966b69090d
use only TMALLOC and TREALLOC for memory allocation
2020-03-15 08:50:56 +01:00
Holger Vogt
53613f4e69
deprecated gets() -> fgets()
2020-03-15 08:50:56 +01:00
Holger Vogt
85e0a08cff
error message even if pNAME is not defined
2020-03-15 08:50:56 +01:00
Holger Vogt
39ce1f77d2
patch provided by Vito (see
...
https://sourceforge.net/p/ngspice/discussion/133842/thread/31aa24261e/ )
2020-03-15 08:50:56 +01:00
Holger Vogt
09f829b863
Further improvement of error message im 'meas'
2020-03-15 08:50:56 +01:00
Holger Vogt
94d5ad312e
Improve error messages for the 'meas' command.
2020-03-15 08:50:56 +01:00
Jim Monte
d4088c896a
Restored command arguments accidentally deleted.
2020-03-15 08:50:56 +01:00
Jim Monte
4b145ddf5e
Added #include <stdio.h> to define FILE.
2020-03-15 08:50:55 +01:00
Jim Monte
06ebf80983
Modified search for init file so that it searches both <HOME> and <USERPROFILE> if both are defined.
2020-03-15 08:50:55 +01:00
Jim Monte
2068c4fffb
Added -D/--define option to define a variable from the command line.
2020-03-15 08:50:55 +01:00
Jim Monte
372fe2a5e7
Opened binary files for writing using "wb" in all cases
2020-03-15 08:50:55 +01:00
Jim Monte
21f3eb74b8
Added basic help messages in addtion to reference to web pages
2020-03-15 08:50:55 +01:00
Jim Monte
de4788cfe5
Added conjugate function conj().
2020-03-15 08:50:55 +01:00
Jim Monte
a7946474fa
Additional freeing of device-dependent information for bug #419 and related bugs.
2020-03-15 08:50:55 +01:00
Jim Monte
d3343b1791
Removed redundant macro
2020-03-15 08:50:55 +01:00
Jim Monte
0cf53a34b2
Fixed resolution of ~ to home directory. (Bug #405 ) Also fixed potential buffer overruns in glob expansion
2020-03-15 08:50:54 +01:00
Jim Monte
ce5410d33f
Fixed checking for redirection tokens
2020-03-15 08:50:54 +01:00
Jim Monte
cec6a8edd3
Fixed access of freed memory when reporting an error.
2020-03-15 08:50:54 +01:00
Jim Monte
8141a634d7
Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here.
2020-03-15 08:50:54 +01:00