Commit Graph

6348 Commits

Author SHA1 Message Date
Jim Monte 3d5b6918ca Fixed excess buffer allocation and converted wordlist to string more efficiently
Signed-off-by: Holger Vogt <holger.vogt@uni-due.de>
2019-03-26 22:34:55 +01:00
Holger Vogt 1b5e950d10 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-23 17:34:50 +01:00
Holger Vogt 400d0c0cee Revert "creating a linearized cutout of the original vector"
This reverts commit 29f364d475.
2019-03-23 17:33:09 +01:00
dwarning d8f1c463fa Tnom is not a instance parameter 2019-03-21 11:27:09 +01:00
dwarning 7049d932e5 Tnom default inline with model specification 2019-03-21 11:03:35 +01:00
dwarning 7405ff8e9e use a better place for model parameter defaulting 2019-03-21 11:02:08 +01:00
dwarning 0678f15dbe remove unused conductance variables 2019-03-21 10:54:52 +01:00
dwarning 10539c20a8 correct current contribution by gmin 2019-03-20 16:04:59 +01:00
dwarning 6241f52e6b remove unused variables 2019-03-09 22:19:29 +01:00
dwarning 56035f1964 remove last remainder of unused sensitivity analysis 2019-03-09 19:15:12 +01:00
dwarning e5a2ff5ff4 remove ancient, unused and untested sensitivity code 2019-03-08 13:02:16 +01:00
dwarning 5868124b1f correct init for convergence test 2019-03-07 23:29:09 +01:00
Holger Vogt 9e920b4281 prevent crash
bug-395 reported by Bohdan Tkhir
2019-03-02 21:07:26 +01:00
Holger Vogt 303f64c0d3 fix bug no. 394, reported by Yurii Demchyna 2019-02-26 20:21:38 +01:00
Holger Vogt fb89f692e9 ngspice version is now 30+ 2019-02-26 20:20:17 +01:00
dwarning 2c5fd154d7 Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2019-02-26 08:00:52 +01:00
dwarning 70012d997a high current devices need lower limit of resistances - set to 10mOhm 2019-02-26 07:59:13 +01:00
Holger Vogt 759afd1f84 fix a typo, correct writing to files under Linux 2019-02-24 19:39:54 +01:00
Holger Vogt 39ae596053 delete the plt and data files after writing eps or png
(only if gnuplot_terminal is set to eps/quit of png/quit)
2019-02-24 01:00:06 +01:00
Holger Vogt b2b86f2011 no plotting, only saving to file
if gnuplot_terminal is eps/quit or png/quit
2019-02-23 23:36:47 +01:00
Holger Vogt b6d0cf3bc6 sprintf -> snprintf: prevent buffer overflow 2019-02-23 23:08:35 +01:00
Holger Vogt 6952c4fb7e 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
2019-02-23 22:57:34 +01:00
Holger Vogt b2aaa44bb4 patch no. 30 by astx:
don't show command window if gnuplot_terminal is set to png/quit
2019-02-23 21:55:59 +01:00
Holger Vogt 91e40f1ecb remove bug 388: enable plot unit W for plotting @q1[p] 2019-02-22 22:36:44 +01:00
dwarning 5fe1dca57a add resource file for fftw build 2019-02-16 19:05:29 +01:00
Holger Vogt 02bc314a54 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-02-11 23:11:08 +01:00
Holger Vogt 6a86e3347e correct the command name to 'setcs' 2019-02-06 23:11:48 +01:00
h_vogt 15542990bb 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-02-06 22:31:05 +01:00
Holger Vogt 23402a01cc Add 'set stepsizelimit' also to spinit in 'make check' 2019-02-06 21:57:49 +01:00
dwarning e8ee1169b0 correct entry for vdmos bulk diode in acload 2019-02-06 18:31:12 +01:00
Holger Vogt daa5bdf203 -rm -> rm, re-enable 'make uninstall' 2019-02-04 20:53:25 +01:00
Holger Vogt ccb0319022 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-02-02 09:46:07 +01:00
Holger Vogt c86f6265db 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-02-02 09:46:00 +01:00
dwarning 6a14271894 prevent crash if mos instance has too few nodes - bug #391 2019-01-30 15:44:36 +01:00
dwarning 1c0890794b remove double mos instantiation 2019-01-30 14:57:33 +01:00
Holger Vogt 03396aff6b do not use the current plot, but try to get the plot set in arg... 2019-01-27 22:48:04 +01:00
Holger Vogt 21ef095b4e Revert "take the plot data vector from the node selected - not the current plot"
This reverts commit 125600db9f.
2019-01-27 22:33:24 +01:00
Holger Vogt 125600db9f take the plot data vector from the node selected - not the current plot
This is safe against plots or vectors that are not available.
Patch provided by Toni (astx)
2019-01-27 14:23:32 +01:00
Holger Vogt 90767c5bb8 beautify code with astyle 2019-01-27 12:42:56 +01:00
Holger Vogt 4bea0aadcf use fcn plot_get 2019-01-27 12:41:53 +01:00
Holger Vogt a3ead0bec5 return vector located in plot type given by 'name',
not just from the current plot
2019-01-27 12:41:08 +01:00
Holger Vogt 872ec89692 add function get_plot(name) to return address of named plot 2019-01-27 12:39:32 +01:00
Holger Vogt 29f364d475 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-01-26 09:48:30 +01:00
Holger Vogt 210dc1122f new examples: inverters and ring oscillator using SOI 2019-01-19 14:11:45 +01:00
Holger Vogt 43e185a3cc enable node names containing '-' in .ic and .nodeset statements 2019-01-19 11:04:03 +01:00
Holger Vogt c6fae9ccfd clarify estmation of memeory size for output vectors 2019-01-19 10:20:05 +01:00
Holger Vogt 151ddf141f don't print status output in dcpss.c, if norefvalue is set 2019-01-13 20:04:09 +01:00
Holger Vogt a16e2d7f6c 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-01-13 10:35:46 +01:00
Holger Vogt 06d34379fb add 'option norefvalue' to suppress printing the reference value. 2019-01-12 13:26:03 +01:00
Holger Vogt 50045f00af add a variable 'nosavecurrents'.
If set by 'set nosavecurrents' and followed by 'reset',
the setting of internal current vectors is suppressed.
This is useful in ac simulation which does not support
'options savecurrents' and you have a mix of several
simulations in a script.
2019-01-10 07:52:11 +01:00