Commit Graph

6372 Commits

Author SHA1 Message Date
Jim Monte 6b6281d888 [PATCH] Changed prototypes of some functions having parameters that
should not be changed to const and added assorted comments. Also two very
 minor efficiency improvements.
2019-05-01 16:35:59 +02:00
Jim Monte d524105d26 [PATCH #43] Added patterns ignore Visual Studio user options files, Vim
swap files, and patch files.
2019-05-01 16:25:01 +02:00
Jim Monte f015789454 [PATCH #41] Made constants agree across ngspice simulator. File const.h
is the source of the values with all other files referencing it.
2019-05-01 16:20:06 +02:00
Jim Monte c8c56f7fb8 [PATCH #40] Fixed memory leaks under 3 different conditions when the
deftype command is used. Added more argument validation. Enhanced error
 reporting. Implemented facility to free allocations associated with
 user-defined types
2019-05-01 13:17:20 +02:00
Jim Monte 7d611252ac [PATCH #38] Fixed crash when composing a complex vector from a mix of
real and complex values. Also eliminated unnecessary test for element being
 real when composed vector is real.
2019-05-01 12:43:51 +02:00
Jim Monte 7887be31ff [PATCH #37] Fixed crash when composing a complex scalar 2019-05-01 11:57:16 +02:00
Jim Monte 97854d6ba1 [PATCH 36] Initial creation of a clang-format style file 2019-05-01 11:48:09 +02:00
Holger Vogt d9800a79f2 [PATCH 35] Fixed values of physical constants such as the speed of light 2019-05-01 11:42:55 +02:00
Jim Monte 60700890d4 [PATCH 6/6] Fixed Visual Studio C4456 compiler warnings related to
variable name hiding another variable and reduced scopes of arg and sarg
 variables in the process
2019-05-01 11:34:13 +02:00
Jim Monte 92f512894f [PATCH 5/6] Fixed formatting for consistent nesting level indentation 2019-05-01 11:28:27 +02:00
Jim Monte fdc1e32164 [PATCH 4/6] Fixed Visual Studio C4456 compiler warning related to
variable name hiding another variable
2019-05-01 11:21:16 +02:00
Jim Monte caa932eb1f [PATCH 3/6] Fixed Visual Studio C4389 compiler warnings related to
signed/unsigned mismatch
2019-05-01 11:10:21 +02:00
Jim Monte c6d6aa60fa Fixed Visual Studio C4334 compiler warnings related to
32-bit vs 64-bit shifts
2019-05-01 10:57:26 +02:00
dwarning 6098a7f62b update to hicum version 2.40 2019-04-24 10:11:53 +02:00
Holger Vogt 00b9fd1ced remove the token mfg=nfgname from each .model statement 2019-04-14 16:29:59 +02:00
Holger Vogt 32d6519f09 add a new function gettok_model to consider {...} expressions
in VDMOS .model statements
2019-04-13 12:42:55 +02:00
Holger Vogt 263ea850ad correct the temperature replacement in ps
TEMPER is in degrees °C
2019-04-13 12:41:15 +02:00
Kevin Zheng 5b28b4a8a8 Fix a build error on FreeBSD 12, bison 3.3.2, automake 1.16.1 and BSD make
by dropping the rules to run bison and use automake's built-in rules instead
2019-04-09 14:36:11 +02:00
Holger Vogt 0149e6af3a If a in command set name="value" value is encapsulated in double quotes, it is always treated as a string variable. 2019-03-31 14:41:14 +02:00
Holger Vogt a67560b6cc remove warnings 2019-03-30 17:22:12 +01:00
Jim Monte 176017b464 Remove memory leak: If the check of the data fails, the data itself is leaked.
Signed-off-by: Holger Vogt <holger.vogt@uni-due.de>
2019-03-30 09:57:37 +01:00
Jim Monte d90b8a7f2d One of the links provided when the help command is executed returned a 404 not found error. This patch replaces that link with an HTML version of the ngspice manual.
Signed-off-by: Holger Vogt <holger.vogt@uni-due.de>
2019-03-30 09:30:41 +01:00
dwarning a934322dc3 no fall-through by asking m value 2019-03-28 06:18:32 +01:00
Jim Monte e04c64aa82 [PATCH 33 1/6] Fixed Visual Studio C4028 compiler warnings related to
mismatches between prototypes and function definitions

Signed-off-by: Holger Vogt <holger.vogt@uni-due.de>
2019-03-26 22:57:42 +01:00
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