Commit Graph

1465 Commits

Author SHA1 Message Date
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
arno 7fec58d953 * devlist.c, test_devlist.c: Further tests revealed a bug,
corrected.
2000-07-08 08:23:17 +00:00
arno 3194808fbe * TODO: Updates. 2000-07-07 14:26:09 +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 4d97a24aa2 * tests/Makefile.am: Update for make distcheck target. 2000-06-28 17:50:33 +00:00
arno 94a6eb5533 * doc/.cvsignore: Added TeX processing artifacts to the list. 2000-06-27 16:28:32 +00:00
arno a78d4c7340 * doc/ngspice.texi: Commented out an @include that broke the
make distcheck target.  I replaced with the actual file.
2000-06-27 16:18:17 +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 dd8b8c6c7c * AUTHORS: Small update. 2000-06-17 23:24:40 +00:00
arno e61ba3bcf0 * AUTHORS doc/ngspice.texi: Included an acknowledgements section. 2000-06-17 23:10:21 +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 5cb17f3efc * tests/polezero/Makefile.am tests/polezero/filt_bridge_t.cir:
New test.

	* tests/polezero/filt_multistage.out
	tests/polezero/filt_rc.out tests/polezero/filt_bridge_t.out:
	Prototype output as a starting point.
2000-06-17 22:47:14 +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 9827360a33 * TODO: Updated 2000-06-16 21:53:35 +00:00
arno a17990bddf * src/Makefile.am: Removed some duplicate entries.
* TODO: Updated.
2000-06-16 21:31:57 +00:00
arno 17a59c4fb8 * configure.in: Small update. 2000-06-16 21:12:45 +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