Commit Graph

5432 Commits

Author SHA1 Message Date
pnenzi dc6340f8bc Bsim 3v1 (Alan Gillespie version). Import. 2003-08-11 19:54:07 +00:00
pnenzi 57f8eed5db bsim 3v0 model. Import. 2003-08-11 19:53:13 +00:00
pnenzi 7f26f46d77 Cider simulator (scripts) Import. 2003-08-11 19:40:31 +00:00
pnenzi 63d16b9f2e Cider simulator (math support routines) Import. 2003-08-11 19:38:20 +00:00
pnenzi 89317d34e8 Cider simulator (numerical devices) Import. 2003-08-11 19:35:20 +00:00
pnenzi f5f8602d3a Cider simulator (simulator routines) Import. 2003-08-11 19:25:28 +00:00
pnenzi dd8929457e Code cleaning. 2003-08-06 18:37:51 +00:00
pnenzi d154d16449 Corrected errors I made in adding tclspice code. 2003-08-06 10:53:38 +00:00
pnenzi b15349b847 REmoved compiled codemodel 2003-08-05 17:30:34 +00:00
pnenzi dd49ea7eaa Added changes from tclspice 0.2.13 2003-08-05 17:20:17 +00:00
pnenzi 531d3a1fc6 Removed poly directory (and its content). 2003-08-05 15:37:48 +00:00
pnenzi 98f7c6c9cd *** empty log message *** 2003-08-05 15:32:25 +00:00
pnenzi ca37aa0858 Removed dlinfo.h 2003-08-05 15:24:27 +00:00
pnenzi b459529ca0 Removed icm_spice2poly directory (and contained files) and committed
changes to dlmain.c.
2003-08-05 15:23:27 +00:00
pnenzi b273847454 Added TransImpedanceAmp example. 2003-07-31 17:24:41 +00:00
pnenzi d381bf8026 BSIM3SOI{DD,FD,PD}owner and BSIM3SOI{DD,FD,PD}states where swapped in the
structure. Corrected and updated changelog. Thanks to Jon.
2003-07-25 20:26:25 +00:00
pnenzi 78ad27c858 Applied vera patches and updated Changelog. 2003-07-25 19:57:34 +00:00
pnenzi 4a82e1adbb Term of use common to Bsim SOI models. 2003-07-23 20:10:45 +00:00
pnenzi f1c81d40f7 Third batch of added files. 2003-07-23 20:08:35 +00:00
pnenzi 758bedc716 Second batch of added files. 2003-07-23 20:06:10 +00:00
pnenzi 9317355c0c First batch of added file. 2003-07-23 19:59:53 +00:00
pnenzi 8362dec274 Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
Robert Larice 0a0b64d23f tclspice 0.2.7 import (hand craftet 2012) 2012-02-20 18:53:44 +01:00
stefanjones add5a573f2 rming 2002-11-26 11:31:39 +00:00
stefanjones ab9ab1640d Remove rubbish from import 2002-11-26 11:27:28 +00:00
stefanjones d2ae47441b Initial revision 2002-11-26 10:11:59 +00:00
pnenzi a7e1405208 Windows port of Ngspice (Holger Vogt) (part 2) 2002-01-03 22:47:29 +00:00
pnenzi 937e3db647 Holger Vogt Windows port for Ngspice. 2002-01-03 22:44:21 +00:00
pnenzi 6696aac9e6 Updated changelogs 2001-12-14 18:42:56 +00:00
pnenzi 7583d1849e Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches
are aimed to close some leaks in the parser.
2001-12-14 18:29:08 +00:00
pnenzi df54ab497e Fixed a bug that added a spurios character to vector names like in vxxxx#branch when
HAVE_ASPRINTF is not defined.
2001-12-07 21:08:53 +00:00
rouat d55d6bbc04 misc updates 2001-12-06 19:15:50 +00:00
pnenzi 5347790036 Renamed conflicting functions min,max and d as vecmin, vecmax and vecd 2001-12-06 12:38:10 +00:00
rouat 8385b33bea Removed useless GNU getopt handlinf in autoconf 2001-12-05 21:33:25 +00:00
rouat 45e21263c1 Fixed bug in gnu getopt handling
Made doc more readable
2001-12-04 19:37:56 +00:00
pnenzi dee7afbfcc Added --enable-ftedebug option to configure, fixed a bug in configure.in, now HAVE_ASPRINTF
gets defined when the function exists, added a comment in postcoms.c
2001-12-02 20:12:56 +00:00
pnenzi 65392b77ff Modified printnum function to avoid printing bugs and memory leaks. 2001-12-02 10:03:11 +00:00
pnenzi 8fa2d2f361 Cleaned up the code (no more parentheses warning). 2001-12-01 15:14:41 +00:00
pnenzi 6013fda3ba Fixed a typo. Thanks Charles. 2001-11-27 10:29:51 +00:00
pnenzi e2e71a7e4d Applied patches from Charles Williams. The patched code makes error reporting
more verbose. In inperror.c makes use of errMsg.
2001-11-27 10:26:25 +00:00
pnenzi 633f489e4c Update of Changelog file to reflect bsim4 code cleanups. 2001-11-26 16:22:52 +00:00
pnenzi 7fae91cd5f Some code cleanups and conformed to ngspice device interface. 2001-11-26 16:17:31 +00:00
pnenzi 402eff28a2 Removed EXPERIMENTAL_CODE #define. The code masked by the define was what spice33 manual reproduces what spice3 manual says about TMAX. The old code was simply wrong. 2001-11-25 19:19:05 +00:00
pnenzi 4baa8b0dcf Applied patch from Richard McRoberts: A bug that most users probably wouldn't
encounter occurs in an ac analysis using a linear sweep with only one point.
A rather pathological case.) The original code in acan.c uses a frequency
ncrement of "HUGE" (infinity) which causes a crash when stepping to the second
point. Fixed by making the increment zero, which is tested for in the sweep,
ausing it to terminate correctly after the first point.
2001-11-25 18:28:20 +00:00
rouat c6d2a20b8f Changed handling of GNU getopt 2001-11-25 18:11:44 +00:00
pnenzi 7a57ec7b4a Applied patch: http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/patches10.txt
This patch fix a bug that make spice crash if the "where" command is issued
when there are no unconvered nodes to report. While I never had such problem in ngspice,I have applied this, because this version of the function make the output of "where" better.
2001-11-25 17:57:58 +00:00
rouat 84c3d3fbc0 Updated BSIM4 model to latest version (BSIM4.2.1) 2001-11-25 17:56:26 +00:00
pnenzi fc8956b08c Added min, max and d(iff) to vectors from code submitted by Routoure. 2001-11-23 18:01:38 +00:00
pnenzi 5cc15682eb Removed some garbage introduced by CVS. 2001-11-23 08:13:58 +00:00
pnenzi 79bc909c05 Added patch to avoid segfault. 2001-11-22 20:50:14 +00:00
pnenzi 9f2d0d2324 Added patches to fix segfaults 2001-11-22 20:43:36 +00:00
pnenzi 29f5d62f0a Added patches to fix inital segfault. 2001-11-22 20:25:09 +00:00
pnenzi 4eeeed70fc Changed seconds unit from S to s (to lower case). Patch from Steven Borley. 2001-06-05 18:02:49 +00:00
pnenzi 609f57ba00 Applied first patch from Steven Borley that fixes memory leaks and errors while reading input decks. 2001-06-05 18:00:28 +00:00
pnenzi 08deeb54f5 Bug fix: braces around wrong subexpression 2001-05-26 14:47:44 +00:00
pnenzi 5ccc72f182 Added Steven patch which consists of a bug fix (= instead of ==) and a new feature (substring search). 2001-05-21 11:33:19 +00:00
pnenzi 0685cf4bb8 EKV support: added a line I forgot in the previous commits. 2001-05-17 20:15:17 +00:00
pnenzi b8393421a6 Added reference to the www site for ekv model 2001-05-13 18:01:30 +00:00
pnenzi 3d557b762b First commit for EKV model support (as a not source model). 2001-05-13 13:24:12 +00:00
pnenzi c099f63794 CKThead structure now allocated dynamically. 2001-05-05 09:54:41 +00:00
pnenzi e96628b7bd Linked stag model to the simulator 2001-05-02 20:33:10 +00:00
pnenzi 9332fc213f Added stag 26 model (as level 62 and M type) 2001-05-02 20:31:09 +00:00
pnenzi 0dae4607a0 Added a patch to csw and sw from Jon Engelbert dealing with negative histeresys 2001-04-25 18:28:20 +00:00
pnenzi 07b5fae7d8 PREDICTOR code works after addeing a varialbe previously removed during code cleaning. 2001-04-25 18:22:20 +00:00
pnenzi 8401f16c5a Now PREDICTOR code works again, two variables were removed but they were needed for PREDICTOR code. 2001-04-25 18:19:03 +00:00
pnenzi dff063fd56 Corrected an error in instance structure. Now should work. 2001-04-25 18:15:17 +00:00
pnenzi 01186f3556 Reimported mos9 after running dos2unix, there were some ^M inherited
from dos.
2001-04-25 18:01:55 +00:00
pnenzi b07e35d150 Linked the new devices (mesa hfet1 hfet2) into the ngspice simulator 2001-04-25 17:58:59 +00:00
pnenzi a2ba74bcac Added three new devices from macspice3f4 (A. Wilson). These devices are not yet in a usable state. They seems to be partial porting. 2001-04-25 17:50:50 +00:00
pnenzi 913b715c51 This damn dependence hidden in the source. Have modifed the max number of devices 2001-04-22 12:31:57 +00:00
pnenzi 1b7c9386fe Bug fixes from previous commit. 2001-04-22 10:08:46 +00:00
pnenzi 8551caa8e9 Code to link mos9 and bjt2 and some fixes from last Alan's code. 2001-04-20 07:31:30 +00:00
pnenzi 34d9855db1 bjt2 model import (bjt2 is bjt Modified by Alan Gillespie) 2001-04-20 07:14:04 +00:00
pnenzi dba228e7dc Imported mo9 (mos3 modified by Alan Gillespie) 2001-04-20 07:08:08 +00:00
pnenzi e515e01ede Second step of the solaris/sparc patch. Added support for getopt function.
Automake and Autoconf recognizes if getopt is missing and add the provided code.
2001-04-17 13:35:52 +00:00
pnenzi 87f6f0673b Applied Dan patches for Solaris. Asprintf is masked by HAVE_ASPRINTF. The check
is done by autoconf. getopt path not yet applied.
2001-04-16 09:58:25 +00:00
pnenzi 22acf4b96a Simple changes from patches to spice 3f4 (G. Roehrich) that restored the drawing of lines and boxes in plot windows in truecolor displays. 2001-04-15 19:32:25 +00:00
pnenzi 72a751f567 Various bug fixes 2001-04-15 10:11:04 +00:00
pnenzi 860df0844a Fixed a bug left forn Alan's code import. 2001-04-15 10:10:25 +00:00
pnenzi 95fc4b7184 A quick and dirty hack to solve the spice options bug. Will be changed in
the future.
2001-04-15 10:09:22 +00:00
pnenzi fd6d0b0723 Fixed stringutil missing bug. 2001-02-11 20:13:45 +00:00
pnenzi 317c6a2415 Appiled some of dan's patches. 2001-02-11 00:47:21 +00:00
pnenzi 8aa1dc20a8 Bug fix: incorrect definition of CALLOC ifndef HAVE_LIBGC 2001-02-09 23:17:27 +00:00
pnenzi c68f3470e4 Code cleanup. 2001-02-09 19:46:36 +00:00
pnenzi 6f55975cc0 Code clean up (removed some warning) 2001-02-09 13:27:21 +00:00
pnenzi d735c9a871 Some code cleanup 2001-02-09 08:18:35 +00:00
pnenzi f928b61bea Corrected makefile EXTRA_DIST 2001-02-08 09:39:13 +00:00
pnenzi 9b2a31494a Documentation update (Alan mail) 2001-02-07 21:38:01 +00:00
pnenzi 1a821f5e9a Added Alan changes. Reference value plotted in interactive mode. 2001-02-07 15:24:51 +00:00
pnenzi d0c681c741 spiceif.c contained some garbage from cvs conflict, resnoise.c did not clean INNOIZ
and two consecutive noise analyses gave different results.
2001-02-07 15:20:26 +00:00
pnenzi 8b7f406003 Modified CALLOC macro. Now uses calloc if LIBGC is not installed and malloc otherwise.
LIBGC provides a malloc that clean the allocated memory.
2001-02-06 18:29:13 +00:00
pnenzi ef0b33fdde Removed a bug in the model that caused different results in repeated analyses. 2001-02-06 18:05:18 +00:00
pnenzi 7ec1d5d3d1 Some bux fixes: in ASRC device (B) ASRC ask was not included in interface structure. 2001-01-30 08:43:38 +00:00
pnenzi 507d961b10 Some bug fixes (removed memcpy) 2001-01-30 08:41:18 +00:00
pnenzi bb56feceff b4ld.c: some var were declared twice. spiceif.c: bug fix 2001-01-24 17:24:32 +00:00
pnenzi d5ee2ae512 Removed #ifndef'd (NEWCONV) code 2001-01-24 11:22:13 +00:00
pnenzi 848065cc61 Removed #ifndef'd (NEWCONV) code. 2001-01-24 11:21:36 +00:00
pnenzi 1a1fad9023 Modified handling of MOS number of nodes. BSIMSOI model can have up to 7 nodes.
This code is very experimental.
2001-01-24 11:19:39 +00:00
pnenzi 57d805cbf6 Modified noisean.c with the one found into the bsim4 (version 4.1.0) model,
hope thet this version does not break anything. Changelog updated.
2001-01-24 11:16:32 +00:00
pnenzi 777a922fd8 Updated model to 4.1.0 2001-01-24 11:11:56 +00:00
pnenzi 27d63941cd Modified WAT_GC in HAVE_LIBGC 2001-01-23 15:01:58 +00:00
pnenzi d1d4832b65 odification to parsing function for new device model (BSIM3SOIDD). Prepended
ng to binaries and manpages. Online help works again (at least!). Corrected
a bug in cktsgen.
2001-01-21 17:24:23 +00:00
pnenzi 4ce592331e Applied Alan Gillespie patch. The ngspice output format for raw file is now
the original one (spice3) but with some enhancement made by Alan.
2001-01-21 17:18:20 +00:00
pnenzi 504ab3b0f9 Added support fot bsim3soi dynamic depletion device (initial commit) 2001-01-21 17:07:40 +00:00
pnenzi 5496e592ce Added bsim3soi FD (Fully Depleted) model and added test files 2000-12-09 18:18:43 +00:00
pnenzi 97e77a523e Added support for bsim3soi fd devices (fully depleted). 2000-12-08 16:58:47 +00:00
pnenzi cdae0ed0b5 Fixed a couple of bugs in the files 2000-11-21 21:44:33 +00:00
pnenzi 4764a45ddf Cleaning commit. Added tests for PD SOI device. 2000-11-21 20:12:35 +00:00
pnenzi 9606b353db Added support for BSIM3SOI_PD 2.2.1 and changed configuration scripts, makefiles and support routines. 2000-11-21 07:38:51 +00:00
pnenzi ccfdf80c2e Applied patches for BSD OSes 2000-11-13 19:30:00 +00:00
arno 9dd92c7315 * com_history, com_alias, parser/cshpar.c, parser/complete.c:
Applied patch by Michael Widlok.  It fixes command completion and
	history list.  In the process, Michael also fixed a memory leak.
2000-11-07 17:49:18 +00:00
pnenzi 8669c613b2 Corrected path for gc include file. 2000-11-05 16:02:46 +00:00
pnenzi a718fb27f5 Fixed an error in variable.c that caused a segmentation fault and updated files for rework-13 2000-11-01 21:21:21 +00:00
pnenzi b2c1e70401 variable.c : a variable was not declared; fixed
NEWS: updating (in progress)
2000-10-26 20:33:11 +00:00
pnenzi 19129762ad Added Glao Dezai's patches (some memory leaks fixes) 2000-10-26 17:02:12 +00:00
arno 86f326d11e * NEWS TODO acconfig.h configure.in src/ngspice.idx
src/frontend/inpcom.c src/include/complex.h
	src/include/macros.h src/include/memory.h
	src/include/ngspice.h src/maths/cmaths/Makefile.am
	src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c
	src/maths/cmaths/test_cx_j.c src/maths/cmaths/test_cx_mag.c
	src/maths/cmaths/test_cx_ph.c src/misc/alloc.c
	src/misc/alloc.h: Added support for the Boehm-Weiser
	conservative garbage collector.

	* NOTES src/maths/cmaths/cmath.h: Added.

	* notes/Linux.changes notes/dbx notes/internal notes/mac_port
	notes/porting notes/spice2: Removed or incorporated into
	NOTES.
2000-10-14 21:49:25 +00:00
arno cc51f0e8db * src/main.c, src/multidec.c, src/proc2mod.c,
src/frontend/display.c, src/frontend/outitf.c,
	src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
	src/frontend/parser/complete.c, src/frontend/parser/glob.c,
	src/frontend/plotting/graf.c,
	src/frontend/plotting/graphdb.c,
	src/frontend/plotting/x11.c, src/include/graph.h,
	src/include/iferrmsg.h, src/include/ifsim.h,
	src/include/macros.h, src/maths/poly/polyfit.c,
	src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
	src/misc/alloc.c, src/misc/mktemp.c,
	src/spicelib/analysis/cktpzstr.c,
	src/spicelib/devices/bsim2/b2temp.c,
	src/spicelib/devices/bsim3/b3temp.c,
	src/spicelib/devices/bsim3v1/b3v1temp.c,
	src/spicelib/devices/bsim3v2/b3v2temp.c,
	src/spicelib/devices/bsim4/b4temp.c: replaced malloc
	realloc and free calls to use tmalloc trealloc and txfree.

	* tests/diffpair.out, tests/fourbitadder.out,
	tests/resistance/res_partition.out: Updated.
2000-10-14 13:16:53 +00:00
arno 03cf985d1a *** empty log message *** 2000-10-13 16:25:00 +00:00
arno 70e2bc5b16 * polyfit.c: Input matrix got overwritten too soon, leading to NaN
results for Fourier Analysis.  Fix due to Daniele Gordini.
2000-10-13 16:24:31 +00:00
arno 0aabb5f1d0 *** empty log message *** 2000-10-12 22:20:47 +00:00
arno 526313390b * inpeval.c: Bugfix for subcircuits contributed by Michael
Widlok.
2000-10-12 21:39:18 +00:00
arno f237c66aee * graf.c: Removed need to press return after resizing the plot
window.
2000-10-10 12:20:57 +00:00
pnenzi ac84baab65 Alan fixed some typo introduced in the last commits. 2000-10-03 05:22:07 +00:00
pnenzi 1857890a08 Corrected a bug introdiced when patching the file with Alan's code.
Models in subcircuits are now handled correctly.
2000-09-14 05:51:50 +00:00
pnenzi ae8bcb42cf Restored Alan's patches. Now they works. 2000-09-12 22:00:57 +00:00
pnenzi c8e1e5c939 I have reverted to the old (non AlansFixes) version outif.c and changed
again (as Alan suggested) the if(FLASE) to if(terse). The problems with
vectors are now disappeared.
2000-09-12 19:02:26 +00:00
pnenzi 703b2337f5 Changed if(terse) into a if(FALSE) as in Alan's Code. 2000-09-10 20:00:55 +00:00
arno 67976b05dc * fteext.h: Removed prototype for com_fourier(). Use
src/frontend/fourier.h for the proper prototype.
2000-09-09 13:26:02 +00:00
arno 508fee7d4b * commands.c: Use fourier.h.
* dotcards.c: Update to prevent segfault.

	* fourier.c, fourier.h: com_fourier is now calling fourier(), a
	function with more parameters.

	* dotcards.c: Added assertions to guard a double indirection, now
	ngspice will bomb out on an assertion instead of a segfault.
2000-09-09 13:24:30 +00:00
arno 7a3a17a5b9 * dotcards.c: Added assertions to guard a double indirection, now
ngspice will bomb out on an assertion instead of a segfault.
2000-09-09 12:12:32 +00:00
arno 187600fe61 * inp2dot.c: Removed unused static functions dot_ic and
dot_nodeset.

	* inppas2.c: Added back parsing for dotlines.
2000-09-09 12:04:51 +00:00
arno 2680129539 * analysis.c: New file. 2000-09-07 18:14:25 +00:00
arno 5c77d40766 * analysis.h: New file. 2000-09-07 18:13:32 +00:00
arno 8dc5eac0ee * TODO, doc/ngspice.texi: Small updates
* configure.in: New --enable-smoketest.

	* src/main.c
	src/ngspice.c src/frontend/outitf.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/parser/numparse.c
	src/include/cktdefs.h src/include/fteext.h
	src/include/inpdefs.h src/include/jobdefs.h
	src/include/ngspice.h src/include/tskdefs.h
	src/spicelib/analysis/Makefile.am
	src/spicelib/analysis/acsetp.c
	src/spicelib/analysis/cktaskaq.c
	src/spicelib/analysis/cktdojob.c
	src/spicelib/analysis/cktnewan.c
	src/spicelib/analysis/cktsetap.c
	src/spicelib/analysis/cktsopt.c
	src/spicelib/analysis/ckttroub.c
	src/spicelib/analysis/dcosetp.c
	src/spicelib/analysis/dctsetp.c
	src/spicelib/analysis/dsetparm.c
	src/spicelib/analysis/nsetparm.c
	src/spicelib/analysis/pzsetp.c
	src/spicelib/analysis/senssetp.c
	src/spicelib/analysis/tfsetp.c
	src/spicelib/analysis/transetp.c
	src/spicelib/devices/bjt/bjtdset.h
	src/spicelib/devices/bjt/bjtext.h
	src/spicelib/devices/bjt/bjtsetup.c
	src/spicelib/devices/bsim2/b2set.c
	src/spicelib/devices/bsim3/b3acld.c
	src/spicelib/devices/bsim3/b3set.c
	src/spicelib/devices/bsim3/bsim3def.h
	src/spicelib/devices/csw/cswtrunc.c
	src/spicelib/devices/dio/diodset.c
	src/spicelib/devices/dio/dioinit.c
	src/spicelib/devices/jfet/jfetset.c
	src/spicelib/devices/mes/messetup.c
	src/spicelib/devices/mos1/mos1ask.c
	src/spicelib/devices/mos1/mos1set.c
	src/spicelib/devices/mos1/mos1temp.c
	src/spicelib/devices/mos3/mos3load.c
	src/spicelib/devices/mos6/mos6set.c
	src/spicelib/devices/sw/swtrunc.c
	src/spicelib/parser/inppas2.c src/spicelib/parser/inppas3.c
	src/spicelib/parser/inppas3.h: Paolo and I have integrated patches from Alan Gillespie
        <Alan.Gillespie@analog.com>.
2000-09-05 19:48:22 +00:00
pnenzi 34f9e54174 Corrected a bug 2000-09-05 16:51:55 +00:00
pnenzi b3c950634f Added some file I forgot to add in the previous commit (was rather big) 2000-09-04 05:53:10 +00:00
pnenzi 0875108157 Added patches extracted from Alan Gillespie's code. Documentation and
author's file not updated.
2000-09-03 09:00:08 +00:00
arno 37fe87bb96 * bjtdset.c: reformatted. 2000-09-01 23:17:27 +00:00
arno 2462eb7b01 * asrc/asrcset.c, bjt/bjtsetup.c, bsim1/b1set.c, bsim2/b2set.c,
bsim3/b3set.c, bsim3v2/b3v2set.c, bsim4/b4set.c, ccvs/ccvsset.c,
        dio/diosetup.c, ind/indsetup.c, jfet/jfetset.c, jfet2/jfet2set.c,
        ltra/ltraset.c, mes/messetup.c, mos1/mos1set.c, mos2/mos2set.c,
        mos3/mos3set.c, mos6/mos6set.c, tra/trasetup.c, urc/urcsetup.c,
        vcvs/vcvsset.c, vsrc/vsrcset.c: Removed HAS_BATCHSIM preprocessor
        checks.
2000-08-28 20:07:03 +00:00
pnenzi ae5950eea8 I have added some code from macspice3f4 (from A. Wilson). To enable it, compile with --enable-experimental. 2000-08-22 13:28:56 +00:00
arno 9b7d4b3187 * src/spicelib/analysis/cktpzstr.c: Reversed a patch that went
in between ng-spice-0.2 and ng-spice-0.3 that eliminated the
        following warnings: 'suggest parentheses around && within
        ||'.  The parenthesis were not placed correctly, leading to
        incorrect behaviour of the pole-zero analysis.

        * tests/polezero/*.out: Changed the content of these files because
        the bug that caused the incorrect pole-zero results have been
        traced to src/spicelib/analysis/cktpzstr.c.
2000-07-27 22:57:36 +00:00
arno d902e99d6d * src/spicelib/devices/README: Moved to src/spicelib/README.
* src/spicelib/Makefile.am, src/spicelib/devices/Makefile.am:
	Files affected by the move.
2000-07-25 06:07:11 +00:00
arno b3a9a784f6 * src/spicelib/devices/parser/*: Moved all files to
src/spicelib/parser.

        * configure.in, src/Makefile.am, src/spicelib/Makefile.am,
        src/spicelib/devices/Makefile.am: Files affected by the move.
2000-07-25 06:03:06 +00:00
arno a4acd552c4 * .cvsignore: Added. 2000-07-24 21:09:24 +00:00
arno e3c077ea1c * src/spicelib/devices/analysis/*: Moved all files to
src/spicelib/analysis.

        * configure.in, src/Makefile.am, src/spicelib/Makefile.am,
        src/spicelib/devices/Makefile.am: Files affected by the move.
2000-07-24 21:06:46 +00:00
pnenzi 4bdc626574 Another correction to the makefile (hlp->help) 2000-07-23 18:46:48 +00:00
pnenzi 6b26ddc539 File changed to relect the new layout (spicelib/...). Something reamins to be done. Wait for the next commit. 2000-07-23 18:35:45 +00:00
pnenzi 4c2458eae3 Makefile fo the directory 2000-07-23 09:21:07 +00:00
arno 5455e51390 * src/analysis/*: Moved these files into src/devices/analysis.
The files in this directory implement the analysis and simulation
        for electrical circuits.

        This is the final step to separating the Spice sources into a
        library part and a frontend part.  Now, the devices subdirectory
        has to be renamed to spicelib and the devices that are now
        scattered in that directory should be moved into a new devices
        directory.

        * configure.in, src/Makefile.am, src/devices/Makefile.am: Files
        affected by the move.
2000-07-21 21:27:56 +00:00
arno b04989d760 * src/hlp/*: moved these files into src/frontend/help. The files
in this directory implement the help system for the frontend.

        * configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
        affected by the move.
2000-07-21 18:25:47 +00:00
arno 63b283f982 * src/hlp/*: moved these files into src/frontend/help. The files
in this directory implement the help system for the frontend.

	* configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
	affected by the move.
2000-07-20 20:33:26 +00:00
arno df3cc8983d * src/circuit/*: moved these files into src/devices/parser. The
files in this directory take a model line from the input file and
	add the corresponding element to the representation of
	the circuit in memory.

	* configure.in, src/Makefile.am, src/devices/Makefile.am: Files
	affected by the move.
2000-07-20 16:26:14 +00:00
arno 57dfb0f945 * main.c frontend/com_ahelp.c frontend/com_asciiplot.c
frontend/com_help.c frontend/com_plot.c frontend/com_set.c
	frontend/com_unset.c frontend/quote.c include/cpdefs.h
	include/defines.h include/wordlist.h maths/ni/niconv.c
	misc/Makefile.am parser/Makefile.am parser/numparse.c
	misc/wlist.c parser/wlist.c parser/wlist.h: Sorry for the big
	commit, I screwed up the last one.  See the ChangeLogs for an
	account of what changed.
2000-07-18 18:07:16 +00:00
arno 88adbcab30 * asrc/asrcinit.h bjt/bjtinit.h cap/capinit.h cccs/cccsinit.h
ccvs/ccvsinit.h csw/cswinit.h dio/dioinit.h ind/indinit.h
	isrc/isrcinit.h jfet/jfetinit.h jfet2/jfet2init.h
	ltra/ltrainit.h mes/mesinit.h mos1/mos1init.h mos2/mos2init.h
	mos3/mos3init.h mos6/mos6init.h res/resinit.h sw/swinit.h
	tra/trainit.h urc/urcinit.h vccs/vccsinit.h vcvs/vcvsinit.h
	vsrc/vsrcinit.h: These files contain the external defines for
	the *init.c files.
2000-07-18 17:43:25 +00:00
arno 01df1be0cc * Makefile.am: Added com_dump.[ch] to sources list. 2000-07-16 13:30:55 +00:00
arno 64dea8e888 * Makefile.am: Removed debugcom.[ch] from the sources list. 2000-07-16 13:26:01 +00:00
arno 53260d50f9 * com_set.h: New header file.
* com_state.c, com_state.h: Separated from debugcom.c.

        * com_dump.c, com_dump.h: Separated from debugcom.c.

        * debugcom.c, debugcom.h: Removed.

        * Makefile.am: Updates for added/removed files.
2000-07-16 13:24:58 +00:00
arno 66b72bbf4b * trainit.c: Added missing #include. 2000-07-11 15:17:57 +00:00
arno 931ffc9795 * asrc/asrcinit.c asrc/asrcitf.h bjt/bjtinit.c bjt/bjtitf.h
bsim1/bsim1init.c bsim1/bsim1init.h bsim1/bsim1itf.h
	bsim2/bsim2init.c bsim2/bsim2init.h bsim2/bsim2itf.h
	bsim3/bsim3init.c bsim3/bsim3init.h bsim3/bsim3itf.h
	bsim3v1/bsim3v1init.c bsim3v1/bsim3v1init.h
	bsim3v1/bsim3v1itf.h bsim3v2/bsim3v2init.c
	bsim3v2/bsim3v2init.h bsim3v2/bsim3v2itf.h bsim4/bsim4init.c
	bsim4/bsim4init.h bsim4/bsim4itf.h cap/capinit.c
	cap/capitf.h cccs/cccsinit.c cccs/cccsitf.h ccvs/ccvsinit.c
	ccvs/ccvsitf.h csw/cswinit.c csw/cswitf.h dio/dioinit.c
	dio/dioitf.h ind/indext.h ind/indinit.c ind/inditf.h
	isrc/isrcinit.c isrc/isrcitf.h jfet/jfetinit.c
	jfet/jfetitf.h jfet2/jfet2init.c jfet2/jfet2itf.h
	ltra/ltrainit.c ltra/ltraitf.h mes/mesinit.c mes/mesitf.h
	mos1/mos1init.c mos1/mos1itf.h mos2/mos2init.c
	mos2/mos2itf.h mos3/mos3init.c mos3/mos3itf.h
	mos6/mos6init.c mos6/mos6itf.h res/resinit.c res/resitf.h
	sw/swinit.c sw/switf.h tra/trainit.c tra/traitf.h
	urc/urcext.h urc/urcinit.c urc/urcitf.h vccs/vccsinit.c
	vccs/vccsitf.h vcvs/vcvsinit.c vcvs/vcvsitf.h
	vsrc/vsrcinit.c vsrc/vsrcitf.h dev.c dev.h: Moved the device
	info structure from every devices' *itf.h file into a new
	*init.c file.  Moved external declaration of addresses into
	*init.h file.  Removed conditional compilation based on the
	AN_* defines as they were by default defined.  The calling
	code will only get a pointer to a SPICEdev structure.  This
	takes us another step closer to loadable devices.
2000-07-11 14:19:27 +00:00
arno 9819983733 * Removed unnecessary 'register' keywords. 2000-07-11 13:39:04 +00:00
arno c166320d43 * Makefile.am: Update for removed files.
* devlist.c, devlist.h, test_devlist.c: Removed.  This idea is not
	yet ready to be implemented.  The dependency of the analysis code
	on CKThead for storing the device parameters at the same index as
	the device model in the DEVices variable caused trouble.

	* res/resload.c: Formatting changes.
2000-07-08 23:07:36 +00:00
arno decb1e68b6 * sconvert.c: Input routine moved here from parser/input.c. 2000-07-08 12:54:27 +00:00
arno 7fec58d953 * devlist.c, test_devlist.c: Further tests revealed a bug,
corrected.
2000-07-08 08:23:17 +00:00
arno ba4457cddb *** empty log message *** 2000-07-07 14:11:03 +00:00
arno f3ae54bea6 * circuit/inp2b.c, circuit/inp2c.c, circuit/inp2d.c,
circuit/inp2dot.c, circuit/inp2e.c, circuit/inp2f.c,
        circuit/inp2g.c, circuit/inp2h.c, circuit/inp2i.c,
        circuit/inp2j.c, circuit/inp2k.c, circuit/inp2l.c,
        circuit/inp2m.c, circuit/inp2o.c, circuit/inp2q.c,
        circuit/inp2r.c, circuit/inp2s.c, circuit/inp2t.c,
        circuit/inp2u.c, circuit/inp2v.c, circuit/inp2w.c,
        circuit/inp2z.c: Added ; after macros.
2000-07-07 14:10:30 +00:00
arno f85551ea17 * frontend/Makefile.am: Updates for new files.
* frontend/breakp2.c, frontend/newcoms.c, frontend/postcoms.c,
	frontend/resource.c, frontend/terminal.h, frontend/variable.c,
	frontend/variable.h, frontend/com_compose.c,
	frontend/com_display.c, frontend/com_setscale.c,
	frontend/com_strcmp.c: Include files update.

	* parser/var2.c, parser/var2.h: Empty files, removed.

	* parser/Makefile.am: Updates for removed files.

	* parser/lexical.c: Small adjustments

	* parser/input.c, parser/input.h: Input, output and error streams
	handled in the frontend.  Moved to the frontend directory.

	* frontend/streams.c: Its new home.
2000-07-07 14:09:06 +00:00
arno 8d342f4295 * parser/quote.c, parser/quote.h: The quote/unquote functions are
used exclusively in the frontend, moved them there.

	* frontend/quote.c, frontend/quote.h: Their new location.
2000-07-07 14:07:22 +00:00
arno 1f3603d5d9 * parser/cshpar.c: Separated out com_chdir(), com_echo(),
com_rehash() and com_shell() and moved them into frontend
	directory.

	* frontend/com_chdir.c, frontend/com_echo.c, frontend/com_rehash.c,
	frontend/com_shell.c: Their new homes.
2000-07-07 14:06:33 +00:00
arno 14acefd969 * dev.c dev.h: Moved defunct first_device() and next_device()
to devlist.c

	* devlist.c, devlist.h: Another step towards
	dynamically loadable devices.  The first_device() and
	next_device() functions abstract away the actual
	implementation of the devices list.  Currently it is a fixed
	length array, when we start supporting dynamically loaded devices,
	this is no longer true.

	* test_devlist.c: Checks the implementation of first_device()
        and next_device().

	* Makefile.am, .cvsignore: Updates for new files.
2000-07-07 12:33:24 +00:00
arno f1953e2885 * src/devices/dev.c, src/devices/dev.h: Added first_device()
and next_device() to abstract manipulations to the devices
	list.  Now change all the code that uses direct access to
	these functions...
2000-07-05 13:10:16 +00:00
arno fe8d08d0a9 * ChangeLog: Summarize recents changes.
* src/devices/Makefile.am: Updates to EXTRA_DIST.

	* src/misc/misc_time.c, src/misc/printnum.c, src/misc/tilde.c:
	Code formatting updates.

	* tests/fourbitadder.out: Updates.
2000-07-03 15:32:29 +00:00
arno 478ee433ae * src/analysis/cktsens.c: Matrixes cannot be created non-complex.
Also added a check to detect an error condition on delta_Y =
	spCreate(...).

	* src/analysis/cktpzld.c: Formatting updates.
2000-07-03 15:30:05 +00:00
arno 7ac9278389 * src/include/spconfig.h: Removed spCOMPLEX,
spSEPARATED_COMPLEX_VECTORS and spCOMPATIBILITY defines.  This
	made including this file from src/include/spmatrix.h unnecessary.
	Moved this file to src/maths/sparse/spconfig.h.

	* src/include/spmatrix.h: Removed include of
	src/include/spconfig.h.

	* src/maths/sparse/spalloc.c, src/maths/sparse/spbuild.c,
	src/maths/sparse/spcombin.c, src/maths/sparse/spdefs.h,
	src/maths/sparse/spfactor.c, src/maths/sparse/spoutput.c,
	src/maths/sparse/spsmp.c, src/maths/sparse/spsolve.c,
	src/maths/sparse/sputils.c: The other files affected by the
	removal of spCOMPLEX, spSEPARATED_COMPLEX_VECTORS and
	spCOMPATIBILITY defines.  Also: assertions are enabled by
	default.

	* src/include/smpdefs.h, src/maths/sparse/spsmp.c: SMPmatrix is
	now a typedef for void, instead of char.  Updated all function
	declarations to match this.  Also added function prototypes not
	previously mentioned in src/include/smpdefs.h.

	* src/include/complex.h: Updates of cast from char * to void *
2000-07-03 15:28:50 +00:00
arno 8aa1ceead5 * src/parser/alias.c, src/parser/alias.h: contain frontend alias
command.  Moved them to src/frontend/com_alias.c and
	src/frontend/com_alias.h.  Updated Makefile.am's as appropreate.

	* src/parser/front.c, src/parser/front.h, src/parser/history.c,
	src/parser/history.h, src/parser/modify.c, src/parser/modify.h,
	src/parser/variable.c, src/parser/variable.h: Empty files.
2000-07-03 15:27:34 +00:00
arno 839ade8236 * src/frontend/com_ahelp.c src/frontend/com_ahelp.h
src/frontend/com_cdump.c src/frontend/com_cdump.h
	src/frontend/com_ghelp.c src/frontend/com_ghelp.h
	src/frontend/com_help.c src/frontend/com_help.h
	src/frontend/com_history.c src/frontend/com_history.h
	src/frontend/com_set.c src/frontend/com_shift.c
	src/frontend/com_strcmp.c src/frontend/com_strcmp.h
	src/frontend/com_unset.c src/frontend/control.c
	src/frontend/control.h src/frontend/ftehelp.h
	src/frontend/hcomp.c src/frontend/hcomp.h src/frontend/init.c
	src/frontend/init.h src/frontend/terminal.c
	src/frontend/terminal.h src/frontend/variable.c
	src/frontend/variable.h: New additions from the refactoring of
	the parser directory.
2000-06-27 16:15:43 +00:00
arno 489fc66afd src/Makefile.am src/help.c src/main.c
src/circuit/Makefile.am src/circuit/ifnewuid.c
	src/frontend/Makefile.am src/frontend/aspice.c
	src/frontend/circuits.h src/frontend/com_display.c
	src/frontend/com_hardcopy.c src/frontend/commands.c
	src/frontend/commands.h src/frontend/cpitf.c
	src/frontend/debugcom.c src/frontend/device.c
	src/frontend/diff.c src/frontend/display.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/inp.c src/frontend/inpcom.c src/frontend/linear.c
	src/frontend/misccoms.c src/frontend/mw_coms.c
	src/frontend/nutinp.c src/frontend/options.c
	src/frontend/outitf.c src/frontend/parse.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/rawfile.c src/frontend/resource.c
	src/frontend/runcoms.c src/frontend/runcoms2.c
	src/frontend/shyu.c src/frontend/spec.c src/frontend/spiceif.c
	src/frontend/subckt.c src/frontend/vectors.c
	src/frontend/where.c src/frontend/plotting/Makefile.am
	src/frontend/plotting/agraf.c src/frontend/plotting/graf.c
	src/frontend/plotting/plotcurv.c
	src/frontend/plotting/plotit.c src/frontend/plotting/x11.c
	src/frontend/plotting/xgraph.c src/include/Makefile.am
	src/maths/cmaths/cmath4.c src/misc/terminal.c
	src/misc/terminal.h src/parser/cshpar.c src/parser/front.c
	src/parser/front.h src/parser/history.c src/parser/history.h
	src/parser/modify.c src/parser/var2.c src/parser/var2.h
	src/parser/variable.c: Refactoring of frontend code.

	* src/include/ftehelp.h src/include/variable.h: Moved into
	frontend directory.

	* src/include/cpdefs.h src/include/cpextern.h
	src/include/ftedefs.h src/include/plot.h: Updates.
2000-06-27 16:09:02 +00:00
pnenzi 96da984f7a Removed line for cktbindn.c which is no more in this directory 2000-06-20 19:18:05 +00:00
arno 6f81cb9446 * src/analysis/cktask.c: moved to src/devices.
* src/analysis/cktbindn.c: moved, renamed to
	src/devices/cktbindnode.c.

	* src/analysis/cktfdev.c: moved, renamed to
	src/devices/cktfinddev.c.

	* TODO: Updates

	* src/analysis/Makefile.am src/devices/Makefile.am: Updates.
2000-06-19 19:03:54 +00:00
arno d7ad0ee10c * AUTHORS TODO: Small updates.
* src/devices/dev.c src/devices/dev.h: Small updates.

	* src/devices/README: Short description of the purpose of the
	devices directory.

	* src/analysis/cktaccpt.c src/analysis/cktcrte.c
	src/analysis/cktinit.c: Moved these files into src/devices.

	* src/analysis/dctran.c: Updates to ease the move.

	* src/analysis/Makefile.am src/devices/Makefile.am: Updates

	* src/Makefile.am: Library loading reordered.

	* src/main.c: Small updates.

	* src/devices/devsup/devsup.c: Moved this file into src/devices.

	* src/devices/devsup/.cvsignore
	src/devices/devsup/Makefile.am: Superfluous files, removed

	* configure.in: Removed src/devices/devsup/Makefile.
2000-06-17 22:54:26 +00:00
arno b15a1f0d93 * cktpzstr.c: Enabling PZDEBUG lead to a segfault, added
checks to prevent this.
2000-06-17 15:20:46 +00:00
arno 4df9e9a410 * src/analysis/*.c: Removed register keywords, as they are
useless with the current compilers.
2000-06-17 14:42:03 +00:00
arno a17990bddf * src/Makefile.am: Removed some duplicate entries.
* TODO: Updated.
2000-06-16 21:31:57 +00:00
arno 1f82eccd29 * src/devices/disto/*: Moved all files to src/maths/deriv/
* configure.in src/Makefile.am src/devices/Makefile.am
	src/include/ngspice.h src/maths/Makefile.am: Necessary updates
	to get it to compile again.
2000-06-16 21:11:59 +00:00
arno 130ced1ffb * src/frontend/Makefile.am: Minor update. 2000-06-16 19:09:04 +00:00
arno d1cbcf5052 src/frontend/doplot.c: refactored into the following files:
src/frontend/com_asciiplot.c src/frontend/com_asciiplot.h
	src/frontend/com_hardcopy.c src/frontend/com_hardcopy.h
	src/frontend/com_plot.c src/frontend/com_plot.h
	src/frontend/com_xgraph.c src/frontend/com_xgraph.h
	src/frontend/plotting/plotit.c src/frontend/plotting/plotit.h

	src/frontend/doplot.h: Removed.

	src/frontend/Makefile.am src/frontend/plotting/Makefile.am:
	Updated for the new files.
2000-06-16 19:04:15 +00:00
arno bf66221efc * src/frontend/Makefile.am src/frontend/plotting/Makefile.am
src/frontend/plotting/plotcurv.c
	src/frontend/plotting/plotcurv.h
	src/frontend/plotcurv.c src/frontend/plotcurv.h: Moved
	plotting related files into plotting subdirectory.
2000-06-15 21:42:01 +00:00
arno 0951379198 * src/frontend/Makefile.am
src/frontend/plotting/Makefile.am
	src/frontend/plotting/graphdb.c
	src/frontend/plotting/graphdb.h
	src/frontend/graphdb.c src/frontend/graphdb.h: Moved plotting
	related files into plotting directory.
2000-06-15 21:37:33 +00:00
arno 9d2cbb06b7 * src/ngspice.c src/devices/dev.c: Moved AN_* defines to
dev.c.

	* src/analysis/cktpzset.c: Removed unused code.

	* tests/polezero/.cvsignore tests/polezero/Makefile.am
	tests/polezero/filt_multistage.cir
	tests/polezero/filt_multistage.out tests/polezero/filt_rc.cir
	tests/polezero/filt_rc.out: New files to test pole zero
	operations.

	* configure.in tests/Makefile.am: Updated for new files.
2000-06-11 10:32:50 +00:00
arno e563776de8 * TODO src/circuit/inp2dot.c: Refactoring of the function
completed.
2000-06-11 10:10:45 +00:00
pnenzi 4ca742ec74 Added RES_SCALE "question". This fix the sensitivity analysis error 2000-06-05 19:03:44 +00:00
pnenzi 9136267560 Added scale parameter to resistor model. Updated documentation and tests 2000-06-04 11:37:29 +00:00
pnenzi 090c6b6d6f Added multiplicity parameter m to resistors and updated tests 2000-06-04 09:02:39 +00:00
arno 1025e978bc * src/include/complex.h, src/include/macros.h,
src/include/memory.h, src/maths/sparse/spdefs.h: Moved definitions
        of complex into complex.h.  There are three different ways to
        declare a complex number in Spice.  We need further work to reduce
        this to only one.

        * src/maths/cmaths/Makefile.am, src/maths/cmaths/.cvsignore,
        src/maths/cmaths/test_cx_ph.c:  Added a new test and updated the
        corresponding support files.
2000-06-03 12:08:35 +00:00
arno 7e88315320 * src/circuit/inp2dot.c: Refactoring introduced a bug in the
line parsing.  Adding line as an extra variable to the
	refactored functions, fixed it.
2000-06-02 18:49:38 +00:00
arno b426eaf349 * src/circuit/inp2dot.c: Integrated patch from Manfred
Metzger.  Circuit cards got parsed wrongly.
2000-06-01 11:08:12 +00:00
arno 5b7863e305 * src/maths/cmaths/Makefile.am, src/maths/cmaths/test_cx_mag.c,
src/maths/cmaths/test_cx_j.c: Added first testcases for complex
	math library.
2000-05-30 19:36:33 +00:00
arno ded99cd9e9 * inperror.c: Dynamic allocation through asprintf. 2000-05-29 19:42:43 +00:00
pnenzi d6cfb4b626 Corrected errors I made during last commit. Paolo
Arno, sorry for the notdef.
2000-05-26 08:35:05 +00:00
arno 2395c7bc99 * src/circuit/inp2dot.c: First refactoring of INP2dot into smaller
functions.  Still needs work.
2000-05-25 22:01:44 +00:00
arno c4e2e82d42 * ifeval.c ifnewuid.c inp.h inp2b.c inp2c.c inp2d.c
inp2e.c inp2f.c inp2g.c inp2h.c inp2i.c inp2j.c
	inp2k.c inp2l.c inp2m.c inp2o.c inp2q.c inp2r.c inp2s.c
	inp2t.c inp2u.c inp2v.c inp2w.c inp2z.c inpaname.c inpapnam.c
	inpcfix.c inpdomod.c inpdpar.c inperrc.c inperror.c inpeval.c
	inpfindl.c inpgmod.c inpgstr.c inpgtitl.c inpgtok.c inpgval.c
	inpkmods.c inplist.c inplkmod.c inpmkmod.c inpmktmp.c
	inppas1.c inppas2.c inppname.c inpptree.c inpsymt.c inptyplk.c
	ptfuncs.c: Cosmetic updates.

	* sperror.c: Removed clutter and MALLOC() call.

	* Makefile.am inp2dot.c inpdoopt.c: Paolo commented out all of
	inpdoopt.c, I removed it from the repository.  Updated
	inp2dot.c and Makefile.am as well.
2000-05-25 20:25:40 +00:00
arno 1dcc3ea6ff * inpdefs.h sperror.h: Removed/updated SPerror() function
declaration.

	* cktdefs.h spmatrix.h: Removed non ANSI function declarations.
2000-05-25 19:46:56 +00:00
pnenzi 491883fe33 Small bug fix in the code 2000-05-23 20:19:19 +00:00
pnenzi f9144f90b3 Applied Widlok patch 2000-05-23 20:04:32 +00:00
pnenzi 808021fef2 Applied Widlok patch (inp2dot.c and inpdoopt.c) and support for u2 function 2000-05-23 20:02:29 +00:00
pnenzi fbfd009182 Introduced Widlok u2 function 2000-05-23 19:59:13 +00:00
pnenzi 26d5bdd223 Modified the parsing of ac parameter. Now it reflects the spice parsing
standard
2000-05-22 05:18:58 +00:00
pnenzi 270ac06e6b Removed reference to fteconst.h in Makefile.am 2000-05-22 05:17:17 +00:00
arno 3d4cf4d86c * src/include/Makefile.am src/include/cpstd.h
src/include/dvec.h src/include/fteinput.h
	src/include/ifsim.h src/include/wordlist.h
	src/frontend/arg.c src/frontend/display.c
	src/frontend/doplot.c src/frontend/graphdb.c
	src/frontend/plotcurv.c src/frontend/points.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/plotting/graf.c src/frontend/plotting/grid.c
	src/frontend/plotting/plot5.c src/frontend/plotting/x11.c
	src/include/graph.h: Reduced dependency on header files
	(avoid unneccessary recompilation on changes)

	* src/include/fteconst.h src/include/ftedata.h
	src/include/ftegraph.h: Removed unneeded header files.
2000-05-13 17:28:16 +00:00
arno 353282b3ef * src/frontend/diff.c src/frontend/diff.h
src/frontend/evaluate.c src/frontend/evaluate.h
	src/frontend/parse.c src/frontend/parse.h: Trimmed down the
	amount of included files.

	* src/include/macros.h: Removed complex functionality
	duplicated from src/include/complex.h

	src/include/Makefile.am src/include/ftecmath.h: Removed header
	file and adjusted Makefile.am
2000-05-13 16:22:16 +00:00
arno b4b54b3aa5 * src/circuit/inptyplk.c: Trimmed unneeded header files and
improved formatting a bit.

	* src/circuit/Makefile.am src/circuit/inppas1.h
	src/circuit/inppas1.c src/circuit/inppas2.h
	src/circuit/inppas2.c: Added header files and cut down
	unneeded include files.
2000-05-13 15:56:47 +00:00
arno 6886b8793b * configure.in src/main.c src/frontend/com_let.c: Updates. 2000-05-13 11:02:40 +00:00
arno 1662ce6e11 * src/hlp/readhelp.c src/parser/var2.c: reordered comparison
functions and adjusted their prototypes to remove a compiler
	warning about qsort.
2000-05-13 11:02:04 +00:00
arno 60a224ee0e * src/frontend/com_compose.c src/frontend/com_display.c
src/frontend/com_setscale.c src/frontend/cpitf.c
	src/frontend/doplot.c: Update for header files.
2000-05-13 11:00:43 +00:00
arno 5492f4cb89 * src/frontend/interp.c: Broken up into individual files and
moved into their own subdirectory: src/maths/poly.

	* src/maths/poly/.cvsignore src/maths/poly/Makefile.am
	src/maths/poly/interpolate.c src/maths/poly/interpolate.h
	src/maths/poly/poly.h src/maths/poly/polyderiv.c
	src/maths/poly/polyderiv.h src/maths/poly/polyeval.c
	src/maths/poly/polyeval.h src/maths/poly/polyfit.c
	src/maths/poly/polyfit.h: The resulting files.

	* src/Makefile.am src/maths/Makefile.am: Updates for the new
	library.
2000-05-13 10:56:58 +00:00
arno be76b6dd44 * src/include/bool.h src/include/cpextern.h
src/include/fteext.h: Added proper prototypes to avoid compile
	errors.
2000-05-13 10:43:15 +00:00
arno 1840e80330 * src/include/Makefile.am: Update for removed header files. 2000-05-13 10:42:04 +00:00
arno b6879a3bcb * src/include/arch.h src/include/ftegraf.h
src/include/struct.h: These include files never got used;
	removed.
2000-05-13 10:41:13 +00:00
arno f476a1ea98 * src/maths/cmaths/Makefile.am src/maths/cmaths/cmath1.c
src/maths/cmaths/cmath2.c src/maths/cmaths/cmath3.c
	src/maths/cmaths/cmath4.c: Removed some unused includes.
2000-05-13 10:36:41 +00:00
arno 2507d4c7bf * src/frontend/graf.c src/frontend/graf.h: Moved these
files...

	* src/frontend/plotting/graf.c src/frontend/plotting/graf.h:
	... here.
2000-05-13 10:31:55 +00:00
arno 4d26c7626b * src/frontend/agraf.c src/frontend/agraf.h
src/frontend/grid.c src/frontend/grid.h src/frontend/clip.c
	src/frontend/clip.h: Moved these files...

	* src/frontend/plotting/agraf.c src/frontend/plotting/agraf.h
	src/frontend/plotting/clip.c src/frontend/plotting/clip.h
	src/frontend/plotting/grid.c src/frontend/plotting/grid.h:
	... here

	* src/frontend/Makefile.am src/frontend/plotting/Makefile.am:
	Updates for new locations.
2000-05-13 10:29:25 +00:00
arno ceef3b5e8a * src/devices/bsim3v1/b3v1ld.c src/devices/bsim3v1/b3v1noi.c
src/devices/bsim3v1/b3v1temp.c
	src/devices/bsim3v2/b3v2acld.c src/devices/bsim3v2/b3v2ld.c
	src/devices/bsim4/b4acld.c src/devices/bsim4/b4ld.c
	src/devices/bsim4/b4noi.c src/devices/bsim4/b4pzld.c
	src/devices/bsim4/b4set.c src/devices/bsim4/b4temp.c: Removed
	unused variables.
2000-05-13 10:23:17 +00:00
arno 1a7a7f48e0 * src/devices/Makefile.am: Included dev.h. 2000-05-13 10:20:36 +00:00
arno 1820d1a249 * src/parser/output.c src/parser/output.h: Moved these files
to src/misc directory.

	* src/include/terminal.h src/misc/terminal.c
	src/misc/terminal.h: new home to output.[ch] files.

	* src/parser/Makefile.am src/misc/Makefile.am: Updated for move.
2000-05-13 10:15:32 +00:00
arno 6269d030f0 * src/parser/wlist.c: Updates to remove compiler warnings. 2000-05-13 10:07:05 +00:00
arno 8696a52e89 * src/Makefile.am src/main.c src/sconvert.c
src/analysis/cktdisto.c src/analysis/cktnoise.c
	src/analysis/noisean.c: Updates for the
	new header files.

	* src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c: Updates
	for the new header files.

	* src/frontend/.cvsignore src/frontend/Makefile.am: Updates
	for the new files.

	* src/frontend/agraf.c src/frontend/aspice.c
	src/frontend/breakp.c src/frontend/breakp2.c
	src/frontend/circuits.c src/frontend/cpitf.c
	src/frontend/debugcom.c src/frontend/define.c
	src/frontend/diff.c src/frontend/dimens.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/evaluate.c
	src/frontend/fourier.c src/frontend/graf.c
	src/frontend/grid.c src/frontend/inp.c src/frontend/inpcom.c
	src/frontend/interp.c src/frontend/linear.c
	src/frontend/misccoms.c src/frontend/misccoms.h
	src/frontend/miscvars.c src/frontend/mw_coms.c
	src/frontend/newcoms.c src/frontend/nutinp.c
	src/frontend/options.c src/frontend/outitf.c
	src/frontend/parse.c src/frontend/plotcurv.c
	src/frontend/points.c src/frontend/postcoms.c
	src/frontend/rawfile.c src/frontend/runcoms.c
	src/frontend/runcoms2.c src/frontend/shyu.c
	src/frontend/spec.c src/frontend/spiceif.c
	src/frontend/typesdef.c src/frontend/vectors.c
	src/frontend/where.c src/frontend/postcoms.c: Updates for the
	new header files.  Some commands have moved into the new files
	below.

	* src/frontend/README src/frontend/com_compose.c
	src/frontend/com_compose.h src/frontend/com_display.c
	src/frontend/com_display.h src/frontend/com_let.c
	src/frontend/com_let.h src/frontend/com_setscale.c
	src/frontend/com_setscale.h src/frontend/commands.c
	src/frontend/commands.h src/frontend/completion.h
	src/frontend/streams.h src/frontend/testcommands.c:
	Separation into different com_* commands.  This is a start.
	The rest of the subdirectory needs doing.

	* src/include/complex.h src/include/cpdefs.h
	src/include/cpextern.h src/include/cpstd.h
	src/include/fteconst.h src/include/ftedata.h
	src/include/ftedev.h src/include/fteext.h
	src/include/ftegraph.h src/include/fteparse.h
	src/include/dvec.h src/include/grid.h src/include/plot.h
	src/include/pnode.h src/include/sim.h src/include/variable.h
	src/include/wordlist.h src/include/bool.h: Separation of
	header files into smaller pieces.  This limits recompilation
	to only the affected source files.  The original header
	files have a warning message embedded to flag obsoleted use.

	* src/frontend/compose.c src/frontend/compose.h
	src/frontend/nutctab.c src/frontend/nutctab.h
	src/frontend/plot5.c src/frontend/plot5.h
	src/frontend/spcmdtab.c src/frontend/x11.c
	src/frontend/x11.h src/frontend/xgraph.c
	src/frontend/xgraph.h: Moved these files into
	src/frontend/plotting subdirectory.

	* src/frontend/plotting/.cvsignore
	src/frontend/plotting/Makefile.am
	src/frontend/plotting/plot5.c src/frontend/plotting/plot5.h
	src/frontend/plotting/plotting.c
	src/frontend/plotting/plotting.h
	src/frontend/plotting/pvec.c src/frontend/plotting/pvec.h
	src/frontend/plotting/x11.c src/frontend/plotting/x11.h
	src/frontend/plotting/xgraph.c
	src/frontend/plotting/xgraph.h: The new libplotting library
	with automake and CVS infrastructure.
2000-05-06 14:12:51 +00:00
arno ebaafe3ca5 ----------------------------------------------------------------------
* src/devices/dev.c src/devices/bjt/bjtnoise.c
	src/devices/bsim3/b3.c src/devices/bsim3/b3acld.c
	src/devices/bsim3/b3ask.c src/devices/bsim3/b3check.c
	src/devices/bsim3/b3cvtest.c src/devices/bsim3/b3del.c
	src/devices/bsim3/b3dest.c src/devices/bsim3/b3getic.c
	src/devices/bsim3/b3ld.c src/devices/bsim3/b3mask.c
	src/devices/bsim3/b3mdel.c src/devices/bsim3/b3mpar.c
	src/devices/bsim3/b3noi.c src/devices/bsim3/b3par.c
	src/devices/bsim3/b3pzld.c src/devices/bsim3/b3set.c
	src/devices/bsim3/b3temp.c src/devices/bsim3/b3trunc.c
	src/devices/bsim3v1/b3v1.c src/devices/bsim3v1/b3v1acld.c
	src/devices/bsim3v1/b3v1ask.c
	src/devices/bsim3v1/b3v1check.c
	src/devices/bsim3v1/b3v1cvtest.c
	src/devices/bsim3v1/b3v1del.c src/devices/bsim3v1/b3v1dest.c
	src/devices/bsim3v1/b3v1getic.c src/devices/bsim3v1/b3v1ld.c
	src/devices/bsim3v1/b3v1mask.c
	src/devices/bsim3v1/b3v1mdel.c
	src/devices/bsim3v1/b3v1mpar.c src/devices/bsim3v1/b3v1noi.c
	src/devices/bsim3v1/b3v1par.c src/devices/bsim3v1/b3v1pzld.c
	src/devices/bsim3v1/b3v1set.c src/devices/bsim3v1/b3v1temp.c
	src/devices/bsim3v1/b3v1trunc.c src/devices/bsim3v2/b3v2.c
	src/devices/bsim3v2/b3v2acld.c src/devices/bsim3v2/b3v2ask.c
	src/devices/bsim3v2/b3v2check.c
	src/devices/bsim3v2/b3v2cvtest.c
	src/devices/bsim3v2/b3v2del.c src/devices/bsim3v2/b3v2dest.c
	src/devices/bsim3v2/b3v2getic.c src/devices/bsim3v2/b3v2ld.c
	src/devices/bsim3v2/b3v2mask.c
	src/devices/bsim3v2/b3v2mdel.c
	src/devices/bsim3v2/b3v2mpar.c src/devices/bsim3v2/b3v2noi.c
	src/devices/bsim3v2/b3v2par.c src/devices/bsim3v2/b3v2pzld.c
	src/devices/bsim3v2/b3v2set.c src/devices/bsim3v2/b3v2temp.c
	src/devices/bsim3v2/b3v2trunc.c src/devices/bsim4/b4noi.c
	src/devices/csw/cswnoise.c src/devices/dio/dionoise.c
	src/devices/jfet/jfetnoi.c src/devices/jfet2/jfet2noi.c
	src/devices/mes/mesnoise.c src/devices/mos1/mos1noi.c
	src/devices/mos2/mos2noi.c src/devices/mos3/mos3noi.c
	src/devices/res/resnoise.c src/devices/sw/swnoise.c :
	Removed all RCS log and rcsid from the devices source files.
	They only give extra clutter and all the information you
	need is available through CVS.  Also removed unnecessary
	inclusion of fteconst.h header file.

	* src/devices/asrc/ChangeLog src/devices/bsim2/ChangeLog
	src/devices/cap/ChangeLog src/devices/cccs/ChangeLog
	src/devices/ccvs/ChangeLog src/devices/csw/ChangeLog
	src/devices/devsup/ChangeLog src/devices/dio/ChangeLog
	src/devices/ind/ChangeLog src/devices/isrc/ChangeLog
	src/devices/jfet/ChangeLog src/devices/ltra/ChangeLog
	src/devices/mes/ChangeLog src/devices/mos1/ChangeLog
	src/devices/mos2/ChangeLog src/devices/mos3/ChangeLog
	src/devices/res/ChangeLog src/devices/sw/ChangeLog
	src/devices/tra/ChangeLog src/devices/urc/ChangeLog
	src/devices/vccs/ChangeLog src/devices/vcvs/ChangeLog
	src/devices/vsrc/ChangeLog: Removed.  Use toplevel ChangeLog.
2000-05-06 14:01:13 +00:00
arno 4e605553de * src/sconvert.c src/frontend/circuits.c src/frontend/circuits.h
src/frontend/inp.c src/frontend/inpcom.c src/include/fteext.h
	src/parser/front.c: ANSIfication, removed some empty functions.
2000-05-05 11:07:10 +00:00
arno b824ff0bf4 * src/maths/ni/nipzmeth.c: Corrected an overeager deletion. 2000-05-04 19:33:52 +00:00
arno 0fb8f339b8 * man/man1/nutmeg.1 man/man1/spice.1 src/multidec.c
src/analysis/cktinit.c src/analysis/cktpzld.c
	src/analysis/cktpzstr.c src/analysis/cktsens.c
	src/analysis/sensaskq.c src/analysis/senssetp.c
	src/analysis/tfanal.c src/circuit/inpgtok.c
	src/circuit/inpptree.c src/circuit/sperror.c src/devices/dev.c
	src/devices/asrc/asrcacld.c src/devices/devsup/devsup.c
	src/devices/jfet/jfetload.c src/devices/ltra/ltra.c
	src/devices/ltra/ltraset.c src/devices/mos6/mos6ext.h
	src/frontend/aspice.c src/frontend/device.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/gens.c src/frontend/graf.c src/frontend/grid.c
	src/frontend/inp.c src/frontend/interp.c
	src/frontend/nutctab.c src/frontend/plotcurv.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/resource.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/typesdef.c
	src/frontend/x11.c src/hlp/readhelp.c src/hlp/x11disp.c
	src/include/complex.h src/include/devdefs.h
	src/include/fteconst.h src/maths/ni/nipzmeth.c
	src/maths/sparse/spalloc.c src/maths/sparse/spbuild.c
	src/maths/sparse/spcombin.c src/maths/sparse/spextra.c
	src/maths/sparse/spfactor.c src/maths/sparse/spoutput.c
	src/maths/sparse/spsmp.c src/maths/sparse/spsolve.c
	src/maths/sparse/sputils.c src/parser/lexical.c
	src/parser/unixcom.c: removed most `#ifdef notdef', converted
	some function calls from K&R to ANSI.
2000-05-03 20:01:30 +00:00
arno e92356e43c * DEVICES: Adjusted spacing.
* doc/.cvsignore man/.cvsignore man/man1/.cvsignore
	src/.cvsignore src/analysis/.cvsignore src/circuit/.cvsignore
	src/devices/.cvsignore src/devices/asrc/.cvsignore
	src/devices/bjt/.cvsignore src/devices/bsim1/.cvsignore
	src/devices/bsim2/.cvsignore src/devices/bsim3/.cvsignore
	src/devices/bsim3soi_dd/.cvsignore
	src/devices/bsim3soi_fd/.cvsignore
	src/devices/bsim3soi_pd/.cvsignore
	src/devices/bsim3v1/.cvsignore src/devices/bsim3v2/.cvsignore
	src/devices/bsim4/.cvsignore src/devices/cap/.cvsignore
	src/devices/cccs/.cvsignore src/devices/ccvs/.cvsignore
	src/devices/csw/.cvsignore src/devices/devsup/.cvsignore
	src/devices/dio/.cvsignore src/devices/disto/.cvsignore
	src/devices/ind/.cvsignore src/devices/isrc/.cvsignore
	src/devices/jfet/.cvsignore src/devices/jfet2/.cvsignore
	src/devices/ltra/.cvsignore src/devices/mes/.cvsignore
	src/devices/mos1/.cvsignore src/devices/mos2/.cvsignore
	src/devices/mos3/.cvsignore src/devices/mos6/.cvsignore
	src/devices/res/.cvsignore src/devices/sw/.cvsignore
	src/devices/tra/.cvsignore src/devices/urc/.cvsignore
	src/devices/vccs/.cvsignore src/devices/vcvs/.cvsignore
	src/devices/vsrc/.cvsignore src/frontend/.cvsignore
	src/hlp/.cvsignore src/include/.cvsignore src/maths/.cvsignore
	src/maths/cmaths/.cvsignore src/maths/ni/.cvsignore
	src/maths/sparse/.cvsignore src/misc/.cvsignore
	src/parser/.cvsignore tests/.cvsignore: Help CVS ignore
	automatically regenerated files.
2000-05-01 18:23:50 +00:00
arno 7472642832 * src/Makefile.am src/main.c src/ngspice.c
src/devices/Makefile.am, src/devices/dev.c src/devices/dev.h:
	Refactored devices initialization code into the devices dir.
2000-05-01 17:43:38 +00:00
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00