Commit Graph

1485 Commits

Author SHA1 Message Date
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 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 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 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 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 7fec58d953 * devlist.c, test_devlist.c: Further tests revealed a bug,
corrected.
2000-07-08 08:23:17 +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 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 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 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
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
pnenzi 491883fe33 Small bug fix in the code 2000-05-23 20:19:19 +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 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 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