Commit Graph

9247 Commits

Author SHA1 Message Date
arno 06fa9efbc2 * mslib, spiceprm: Michael Widlok released new version of his
programs.
2000-10-10 12:11:56 +00:00
arno a6d0a5cdca * AUTHORS: Added Alan Gillespie as a contributor. 2000-10-03 16:30:50 +00:00
pnenzi ac84baab65 Alan fixed some typo introduced in the last commits. 2000-10-03 05:22:07 +00:00
arno 19f387a1c6 * diffpair.out, filters/lowpass.out, polezero/filt_bridge_t.out,
polezero/filt_multistage.out, polezero/filt_rc.out,
        resistance/res_array.out, resistance/res_partition.out: Updated
        for new spice output.
2000-09-14 18:36:16 +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 394c92c2a6 * fourbitadder.out, resistance/res_simple.out: Updated to
correspond to the new output from ngspice.
2000-09-09 12:08:13 +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
arno f2c0cec4c4 * Makefile.am: test outputs were not put in distribution. 2000-08-27 20:10:16 +00:00
pnenzi 5840529985 Modified for rework 12 2000-08-26 11:20:14 +00:00
arno 94162c3fee * autogen.sh: no longer call configure. 2000-08-25 18:32:50 +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 7cbae7037a * TODO: Updates. 2000-07-28 18:18:51 +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 17f5745b4e Oops, forgot to insert a line in the previous commit 2000-07-23 09:23:34 +00:00
pnenzi 4c2458eae3 Makefile fo the directory 2000-07-23 09:21:07 +00:00
pnenzi 6502ea714b Updated for new tree layout 2000-07-23 09:17:22 +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