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")
2019-08-13 22:52:08 +02:00
Holger Vogt
5b21caae98
correct the command name to 'setcs'
2019-08-13 22:51:48 +02:00
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.
2019-08-13 22:51:36 +02:00
dwarning
d03df9d326
correct entry for vdmos bulk diode in acload
2019-08-13 22:49:39 +02:00
Holger Vogt
9dec5f5f1e
An example for non-convergence of the pll if the stepszelimit is removed.
...
Adding a somewhat relaxed limit by TMAX in the tran command will speed
up the simulation by a factor of 1.5 without compromising the result.
2019-03-21 20:26:24 +01:00
Holger Vogt
883bccad7a
Add 'set stepsizelimit' also to spinit in 'make check'
2019-03-21 20:24:44 +01:00
Holger Vogt
198fea0db4
-rm -> rm, re-enable 'make uninstall'
2019-03-21 20:24:18 +01:00
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.
2019-03-21 20:22:42 +01:00
dwarning
9e70329dd3
remove double mos instantiation
2019-03-21 20:21:32 +01:00
Holger Vogt
b4559327de
do not use the current plot, but try to get the plot set in arg...
2019-03-21 20:20:56 +01:00
Holger Vogt
9ee359b1e9
beautify code with astyle
2019-03-21 20:20:37 +01:00
Holger Vogt
1fb2a04f79
use fcn plot_get
2019-03-21 20:20:28 +01:00
Holger Vogt
c1b54a5978
return vector located in plot type given by 'name',
...
not just from the current plot
2019-03-21 20:20:00 +01:00
Holger Vogt
40411197e0
add function get_plot(name) to return address of named plot
2019-03-21 20:17:21 +01:00
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
2019-03-21 20:13:27 +01:00
Holger Vogt
b985472ac1
new examples: inverters and ring oscillator using SOI
2019-03-21 16:13:54 +01:00
Holger Vogt
2d8b30aebe
enable node names containing '-' in .ic and .nodeset statements
2019-03-21 16:13:43 +01:00
Holger Vogt
0bd3bbd333
clarify estmation of memeory size for output vectors
2019-03-21 16:13:24 +01:00
Holger Vogt
b771ee9c60
don't print status output in dcpss.c, if norefvalue is set
2019-03-21 16:12:47 +01:00
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
2019-03-21 16:12:36 +01:00
Holger Vogt
be6eca1dbb
add 'option norefvalue' to suppress printing the reference value.
2019-03-21 16:07:12 +01:00
Holger Vogt
5cd23fae72
move adding 1 to meminit to the right place (needed only once)
2019-03-21 15:52:23 +01:00
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
2019-03-21 15:51:19 +01:00
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.
2019-03-21 15:50:05 +01:00
Holger Vogt
d6f5a32c93
Add a comment to the editline #ifdef
2018-12-31 12:03:19 +01:00
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.
2018-12-31 12:02:52 +01:00
dwarning
d2f9da64bc
bring current summation inline with rhs
2018-12-24 09:34:06 +01:00
dwarning
d9247cc322
white spaces
2018-12-24 09:30:55 +01:00
Holger Vogt
61ba54de8d
NEWS update for ngspice-30
2018-12-23 14:44:00 +01:00
Holger Vogt
828393c86c
prepare ngspice-30
2018-12-23 14:37:32 +01:00
Holger Vogt
a054bb7cca
install man pages according to ngspice package
...
Patch provided by Fabio Rossi
2018-12-23 14:07:13 +01:00
Holger Vogt
c35879d3cf
prepare ngspice-30
2018-12-23 13:55:45 +01:00
Holger Vogt
e18598520e
Prepare ngspice-30
2018-12-23 13:43:08 +01:00
dwarning
73bf1b279a
Demonstration of mobility reduction and weak-inversion model.
2018-12-22 22:44:03 +01:00
dwarning
7615206238
Few corrections.
2018-12-22 22:43:53 +01:00
Holger Vogt
5298cd56c7
Few cleanings
2018-12-22 22:43:45 +01:00
dwarning
25b13d9dde
Fix VDMOSmode dependency.
2018-12-22 22:43:37 +01:00
dwarning
3d72931125
spice like derivative style - more compact
2018-12-22 22:43:17 +01:00
dwarning
71524f6060
Implementing mobility mudulation (theta).Analytical derivatives for weak-inversion branch.
2018-12-22 22:43:05 +01:00
dwarning
8b424dd3d3
Introducing mobility reduction over Vgs. Model parameter: theta
2018-12-22 22:42:54 +01:00
dwarning
96a5ea0353
Allow 3 terminal vdmos in subckt.
2018-12-22 22:42:46 +01:00
dwarning
1363b7a6b2
Reduce vdmos to a native 3 terminal version.
2018-12-22 22:42:31 +01:00
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.
2018-12-22 18:08:58 +01:00
Holger Vogt
2c7860361d
Prevent segfault if SendStat is NULL and HAVE_FTIME is undefined.
...
Patch no. 28 offered by Liang Chang
2018-12-17 23:07:41 +01:00
Holger Vogt
db13f66519
typo
2018-12-17 23:07:34 +01:00
Holger Vogt
ebc39c941e
fix typos
...
reported by Carsten Schoenert
2018-12-17 23:07:27 +01:00
Holger Vogt
3f816d7f1b
add comment
2018-12-17 23:07:19 +01:00
Holger Vogt
feaebe6bd9
spelling
...
reported by Carsten Schoenert
2018-12-17 23:07:10 +01:00
Holger Vogt
a98f6ac69b
proper initialization of OldAn, callback only
...
if output has changed
2018-12-17 23:07:00 +01:00
Holger Vogt
0f552fc4f8
sharedspice.c, prevent crash, if controlswait is set
...
and a next bg_run before controls are ready.
2018-12-17 23:06:49 +01:00