Commit Graph

70 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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
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 526313390b * inpeval.c: Bugfix for subcircuits contributed by Michael
Widlok.
2000-10-12 21:39:18 +00:00
pnenzi ac84baab65 Alan fixed some typo introduced in the last commits. 2000-10-03 05:22:07 +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 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 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