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.
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.
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.
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.
* 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.
* 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.
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.
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.
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 *
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.
* 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.
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.
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.