Commit Graph

7977 Commits

Author SHA1 Message Date
rlar abb07c4306 devices/res/restemp.c, RESupdate_conduct(), avoid excess warnings
This function is invoked several times during initialisation,
  possibly with yet incomplete model and instance parameter settings.
And it might be invoked many times during dc sweep.
2017-10-21 19:05:28 +02:00
rlar cffab98882 devices/res/resparam.c, bug fix, alter resistance not honoured when resuming a transient simulation
When "alter" is invoked after a break-point stopped a transient simulation,
then it might be necessary to update RESconductance
before continuing the transient simulation.

Thanks for the bug report to An Zou
in message "alter resistor value" on the ngspice-users forum
https://sourceforge.net/p/ngspice/discussion/133842/thread/33ce6855/
2017-10-21 19:05:28 +02:00
rlar 480a3f6be1 tests/regression/misc/resume-1.cir, expose bug
alter "resistance" and "resistor coefficient"
  is not honoured when resuming a transient simulation.
2017-10-21 19:05:28 +02:00
rlar 0e1294b3b5 devices/res/resparam.c, whitespace and parenthesis 2017-10-21 19:05:27 +02:00
rlar 0a48e6f2a7 devices/res, introduce RESupdate_conduct()
which will be usefull later
2017-10-21 19:05:27 +02:00
rlar 0af576a7d8 devices/res/resask.c, bug fix, set and query of RESresist and RESacResist shall comute
Note:
  RESresist and RESacResist are device parameters
     they do not reflect effective resistance when "ask"'ed
     (don't reflect tc1, tc2, tce, m, scale, temp ...)
  RESconduct and RESacConduct are "query-only" parameters
     these report the effective conductance when "ask"'ed
     (including tc1, tc2, tce, m, scale, temp ...)
2017-10-21 19:05:27 +02:00
rlar 1c5e954b47 devices/res, bug fix, semantics of "short" and "narrow", aka "dlr" and "dw"
These need to be subtracted from both sides
2017-10-21 19:05:27 +02:00
rlar e0126a4947 tests/regression/misc, check resistor flicker noise 2017-10-21 19:05:27 +02:00
Fabio Rossi 4c503c1e47 src/tclspice.c, bug fix, broken trimming of the "spice::" namespace
Due to a missing break in the for(;;) loop,
  causing the loop to walk beyond end of string argv[0],
  causing random behaviour.
2017-10-19 17:58:02 +02:00
rlar 06f2ce9087 examples/tclspice, cleanup "wish" trampoline and add emacs mode specification 2017-10-19 17:57:37 +02:00
rlar fad7605c21 examples/tclspice, rename test bench scripts, .tcl --> .sh
Customers have been mislead to invoke them with tclsh or wish.
Actually some are indeed tcl scripts which could be invoked with "wish"
All these scripts include a #!/bin/sh trampoline to the proper interpreter.
No script was meant to be interpreted by tclsh
2017-10-19 17:57:03 +02:00
rlar f3fd53769c configure.ac, search for BLT library
search for three variants
  -lBLT       (for debian and gentoo)
  -lBLT24     (for redhat and centos)
  -lBLT25     (might be usefull for someone else)

The advertised configure incantation is now:
  configure --enable-shared=yes --with-tcl=/usr/lib/tcl8.6
In case you need a special "BLT" you can still use
  LIBS=-lBLTfoobar configure --enable-shared=yes --with-tcl=/usr/lib/tcl8.6
to override the automatic search
2017-10-19 17:55:43 +02:00
dwarning 22599ca096 examples/tclspice, explicit blt::vector create
in blt2.5 "create" is not the default vector operation anymore
2017-10-19 17:50:34 +02:00
dwarning 8539029e6d reduce simulation time for tcl examples 2017-10-12 11:22:17 +02:00
Francesco Lannutti af7ab797c2 build-for-mac-os.sh, script to build ngspice under MacOS 2017-09-17 08:48:28 +02:00
rlar 3f9e79925e tests/bin/check.sh, process MINGW and MSYS test results like Linux 2017-09-16 20:42:17 +02:00
rlar 91c60c28df whitespace change, avoid gcc warnings due to missleading indentation 2017-09-16 20:38:27 +02:00
h_vogt b3827f6488 gnuplot.c, correct the setting of limits in log plots 2017-09-16 20:37:24 +02:00
rlar e9a675efb6 regression/**/*.cir, hide printed numeric values in some test cases
these tests shall be decided by "exit" value,
not be "diffing" the printed numerical values
2017-09-16 20:32:05 +02:00
dwarning 9f931ad155 modelQaTestRoutines.om, avoid '(' ')' and '/' in the platform name
which will be used as a directory name
2017-09-16 20:30:42 +02:00
h_vogt 927f955156 run ./autogen.sh, if compiling shared ngspice 2017-09-11 00:23:58 +02:00
h_vogt 230bce05cf remove out-of-date comment. 2017-09-09 11:57:34 +02:00
h_vogt a3a0aa2338 add info for generating ngspice shared library 2017-09-09 11:22:24 +02:00
dwarning 2fd3c4d94f fix the still existing wrong array access in psd smooth routine 2017-09-05 11:28:14 +02:00
h_vogt 44efe91e07 compile_min.sh is now executable 2017-09-04 23:03:07 +02:00
dwarning 8316af27cf autosclae for psd plot 2017-09-02 10:25:31 +02:00
h_vogt ca3a9bb648 com_fft.c, correct scaling and filtering for PSD 2017-09-01 23:16:25 +02:00
dwarning 0ef666ea26 com_psd: Correct the special handling of dc and nyquist component in fftw branch 2017-08-26 17:20:19 +02:00
h_vogt 2c0081e5c0 tiny updates 2017-08-25 18:10:09 +02:00
h_vogt f2bb3be222 prepare for ngspice-27 2017-08-24 18:01:05 +02:00
h_vogt 2ea8efa3db Further clarification of the CIDER license status,
table.cm status added.
2017-08-24 17:45:23 +02:00
h_vogt b82401abca New BSD for CIDER 2017-08-24 17:34:47 +02:00
h_vogt fbde62ad1e add info on cross compiling 2017-08-24 11:11:38 +02:00
h_vogt 5c88d3d7b3 prepare ngspice-27 2017-08-24 11:05:46 +02:00
h_vogt 5df712cd24 prepare ngspice-27 2017-08-23 23:48:28 +02:00
dwarning 2377d3a64f fix wrong write and read in not allocated memory 2017-08-22 11:53:20 +02:00
dwarning b8a9ca9df4 correct the fft scaling for real input and complex output vector 2017-08-16 21:35:41 +02:00
h_vogt 060e0037f8 main.c, add USERPROFILE to search path for .spiceinit
search sequence: current directory, HOME, USERPROFILE
2017-08-12 18:27:11 +02:00
h_vogt 3814201d13 Add function read_initialisation_file().
extend search path for .spiceinit, search sequence now is:
current directory, user HOME directory, user USERPROFILE directory
2017-08-12 18:03:54 +02:00
h_vogt 07ea6466ad configure option --enable-relpath
add relative path ../lib to spinit for codemodels
and search path in ivars.c, independently from
install path which has to be an absolute path
2017-08-12 17:37:19 +02:00
dwarning a1d27b4257 dio, introduce qd as an alias for diode charge to get the right unit in plotting 2017-08-03 17:03:10 +02:00
dwarning 458be1a82e bjt and diode: examples for plotting small signal parameters in a dc sweep 2017-08-03 17:03:07 +02:00
dwarning 14fc59b83d bjt, jfet, vbic, dio: allow plotting of small signal parameter like charges, capacitances and conductances in dc sweeps 2017-08-03 17:03:01 +02:00
rlar 98c0e4bdae qa tests, avoid repeated exection of ngspice for version detection 2017-08-03 17:02:57 +02:00
dwarning 104d65bebe compareSimulationResults.pl, debug printout improvements 2017-08-03 17:02:21 +02:00
dwarning 72531c955d charge check added by Colin McAndrew 2017-08-03 17:02:00 +02:00
dwarning 118026cfb9 ngspice version detection implemented 2017-08-03 17:01:49 +02:00
dwarning eacbc3702d fix ac-analysis check and overall improvements 2017-08-03 17:01:40 +02:00
dwarning 5214bd4b96 run_cmc_check, make shell string compare safe 2017-08-03 17:01:17 +02:00
rlar 0db861e4a6 device.c, bug fix commit "device.c, #8/19, use parent wordlist ..."
This commit did rely on the existence of a parent 'wordlist' element,
  usually guranteed by a leading "alter" or "altermod" command word.
But 'inp_evaluate_temper()' passes a wordlist without any parent word
  when invoking 'com_altermod()'
2017-07-30 12:17:43 +02:00