Holger Vogt
3494e6b390
prevent crash
bug-395 reported by Bohdan Tkhir
7 years ago
Holger Vogt
7bb8049d2a
fix bug no. 394, reported by Yurii Demchyna
7 years ago
dwarning
a549776972
high current devices need lower limit of resistances - set to 10mOhm
7 years ago
Holger Vogt
31db4228f5
fix a typo, correct writing to files under Linux
7 years ago
Holger Vogt
52584312c3
delete the plt and data files after writing eps or png
(only if gnuplot_terminal is set to eps/quit of png/quit)
7 years ago
Holger Vogt
8efa08602a
no plotting, only saving to file
if gnuplot_terminal is eps/quit or png/quit
7 years ago
Holger Vogt
601dfbd781
sprintf -> snprintf: prevent buffer overflow
7 years ago
Holger Vogt
ec4625eda6
redo gnuplot_terminal: Do not save eps/png automatically
none 1: do not print an eps or png file (default)
png 2: print png file, keep command window open
png/quit 3: print png file, quit command window
eps 4: print eps file, keep command window open
eps/quit 5: print eps file, quit command window
7 years ago
Holger Vogt
2344e3d012
patch no. 30 by astx:
don't show command window if gnuplot_terminal is set to png/quit
7 years ago
Holger Vogt
e937adc372
remove bug 388: enable plot unit W for plotting @q1[p]
7 years ago
Holger Vogt
4f8fd19309
Allow " around netnames for .plot and .print commands.
This enables characters like - / + in netnames, e.g.
.print tran v("/jk-flip-flop-1/q")
7 years ago
Holger Vogt
5b21caae98
correct the command name to 'setcs'
7 years ago
h_vogt
a0d87048e6
command.c, inpcom.c, add command 'setcs': like command 'set',
but case sensitive, and thus keeping upper or lower case
of subsequently following variable name and other letters.
9 years ago
dwarning
d03df9d326
correct entry for vdmos bulk diode in acload
7 years ago
Holger Vogt
198fea0db4
-rm -> rm, re-enable 'make uninstall'
7 years ago
Holger Vogt
d4c3d9ceb2
relieve the step size limitation (formerly set to TSTEP in tran simulation).
However not all examples will do without, thus the variable 'stepsizelimit'
is set in spinit. Unset it in .spiceinit to get the new behavior.
Of course then you might add the limit by setting TMAX in the tran command.
7 years ago
Holger Vogt
b4559327de
do not use the current plot, but try to get the plot set in arg...
7 years ago
Holger Vogt
9ee359b1e9
beautify code with astyle
7 years ago
Holger Vogt
1fb2a04f79
use fcn plot_get
7 years ago
Holger Vogt
c1b54a5978
return vector located in plot type given by 'name',
not just from the current plot
7 years ago
Holger Vogt
40411197e0
add function get_plot(name) to return address of named plot
7 years ago
Holger Vogt
a89e5db571
creating a linearized cutout of the original vector
by defining the vectors lin-tstart, lin-tstop, and lin-tstep
before issuing the 'linearize' command
7 years ago
Holger Vogt
2d8b30aebe
enable node names containing '-' in .ic and .nodeset statements
7 years ago
Holger Vogt
0bd3bbd333
clarify estmation of memeory size for output vectors
7 years ago
Holger Vogt
b771ee9c60
don't print status output in dcpss.c, if norefvalue is set
7 years ago
Holger Vogt
9dd47e3029
Remove memory warning message in shared lib
False warning on some OSs, especially on Linux when loaded during runtime.
The caller then has to take care of memory available
7 years ago
Holger Vogt
be6eca1dbb
add 'option norefvalue' to suppress printing the reference value.
7 years ago
Holger Vogt
5cd23fae72
move adding 1 to meminit to the right place (needed only once)
7 years ago
Holger Vogt
764542e5b1
Set up all memory in a single step for vector list in a plot.
This is to avoid multiple calls to time consuming TREALLOC
7 years ago
Holger Vogt
4062d51f9b
prevent crash, instead issue an error message
if first coefficient cannot be parsed, e.g. of a line
V1 1 0 DC 0 trnoise(NoiseVoltage fs 0 0 0 0 0 )
(with missing {}).
Code truncates evaluating further coefficients,
if an error is detected. This now results in a warning
message, if ngdebug is set. The warning may be a
false positive though.
7 years ago
Holger Vogt
d6f5a32c93
Add a comment to the editline #ifdef
7 years ago
Holger Vogt
a3f2c38eb6
upstream editline development at
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/readline/readline.h?sortby=date#rev1.42.2.1
have added two lines to readline.h:
typedef int rl_hook_func_t(void);
extern rl_hook_func_t *rl_event_hook;
ngspice rl_event_hook had originally been defined of type void. The patch
redefines the return type to be int.
7 years ago
dwarning
d2f9da64bc
bring current summation inline with rhs
7 years ago
dwarning
d9247cc322
white spaces
7 years ago
Holger Vogt
c35879d3cf
prepare ngspice-30
7 years ago
dwarning
25b13d9dde
Fix VDMOSmode dependency.
7 years ago
dwarning
3d72931125
spice like derivative style - more compact
7 years ago
dwarning
71524f6060
Implementing mobility mudulation (theta).Analytical derivatives for weak-inversion branch.
7 years ago
dwarning
8b424dd3d3
Introducing mobility reduction over Vgs. Model parameter: theta
7 years ago
dwarning
96a5ea0353
Allow 3 terminal vdmos in subckt.
7 years ago
dwarning
1363b7a6b2
Reduce vdmos to a native 3 terminal version.
7 years ago
Holger Vogt
f021424041
dev.c, add model size for XSPICE models, preventing heap corruption.
Ocurred with dll under Windows 10 only.
Detected with crtdbg.h, and _CrtSetDbgFlag(_CrtSetDbgFlag(0) || _CRTDBG_CHECK_ALWAYS_DF)
in ngSpiceInit() and {char *test = TMALLOC(char, 1);} as test vehicle.
7 years ago
Holger Vogt
2c7860361d
Prevent segfault if SendStat is NULL and HAVE_FTIME is undefined.
Patch no. 28 offered by Liang Chang
7 years ago
Holger Vogt
db13f66519
typo
7 years ago
Holger Vogt
ebc39c941e
fix typos
reported by Carsten Schoenert
7 years ago
Holger Vogt
3f816d7f1b
add comment
7 years ago
Holger Vogt
feaebe6bd9
spelling
reported by Carsten Schoenert
7 years ago
Holger Vogt
a98f6ac69b
proper initialization of OldAn, callback only
if output has changed
7 years ago
Holger Vogt
0f552fc4f8
sharedspice.c, prevent crash, if controlswait is set
and a next bg_run before controls are ready.
7 years ago
Holger Vogt
f9f28f7679
MS Windows: Use only POSIX compliant snprintf
7 years ago