Commit Graph

157 Commits

Author SHA1 Message Date
dwarning 1ae055dfad hate c++ comments in c files 2008-11-28 20:10:25 +00:00
h_vogt 75f68291aa various compiler warnings removed 2008-11-26 20:33:20 +00:00
saintel 6fe0cebe58 *** empty log message *** 2008-11-22 10:31:46 +00:00
dwarning b32feaa18d hopefull better scalb handling 2008-11-19 19:57:27 +00:00
dwarning 040c48feb2 polishing 2008-11-19 19:52:28 +00:00
h_vogt 3dc3d42553 Small changes, e.g. _MS_VER macro, added to allow compilation of tclspice with MS VC++ 2008 2008-10-04 22:44:52 +00:00
h_vogt 73e581f015 VC++ 2008 compatibility 2008-09-23 22:10:56 +00:00
h_vogt 4b055a4ca8 Small changes to allow compilation with MS Visual C++ 2008 2008-09-21 22:18:06 +00:00
pnenzi fa549df82a TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00
h_vogt 655d8aea02 Fast fourier transform for transient data analysis 2008-05-24 18:06:33 +00:00
dwarning 6bd5f8470b Changes to compile under Sun Studio 11 for Solaris 2008-05-18 19:25:17 +00:00
dwarning a28ad1a197 math functions in one central place maths/misc 2008-05-11 20:27:28 +00:00
dwarning 5159eac292 srandom has a macro in ngspice.h 2008-05-03 16:05:47 +00:00
dwarning 0e52a0fcc2 backup NEWCONV because of using original BSIM code 2008-04-16 20:20:49 +00:00
h_vogt 8ed853345e BOOLEAN definition 2008-04-13 12:46:36 +00:00
dwarning 0f5618619c removing BOOLEAN definition (checked under mingw) 2008-04-06 19:33:38 +00:00
dwarning b84cbc7127 xspice ipc is possible 2008-01-12 16:24:22 +00:00
dwarning 28e90e6330 Using a real double compare to equal. 2008-01-02 18:52:04 +00:00
dwarning 6464cf535d backup - no unique long long function 2007-12-27 22:02:06 +00:00
dwarning b22a7666c1 AlmostEqualUlps in double is needed 2007-12-27 17:02:22 +00:00
dwarning d07cc28819 polishing 2007-11-28 17:43:53 +00:00
dwarning b7e71db2ad AlmostEqualUlps on central place 2007-11-21 17:05:51 +00:00
dwarning b20af86749 without stddef.h types like size_t are not defined on some systems 2007-10-27 20:00:22 +00:00
dwarning 41325622fd some clean-up's to come through MSC 2007-10-18 19:34:30 +00:00
pnenzi 6f3f195158 Additions from Phil Barker (subckt nodeset and ic, simvars, mosfet binning, various fixes) 2007-10-09 07:19:45 +00:00
pnenzi 53e52f4a59 Model improvements from Phil Barker 2007-10-08 21:45:00 +00:00
pnenzi 936cd7a4fc Improvements in frontend by Phil Barker 2007-10-08 21:10:34 +00:00
pnenzi 56626999fc Improved current vectors output and added element for last analysis run 2007-10-08 20:18:38 +00:00
pnenzi 363ffb85e0 Fixed bug in memory management when xspice codemodels are used. 2005-08-04 08:23:32 +00:00
sjborley e4fdd6719c Added a CIDER dpendent reference 2005-05-30 20:30:09 +00:00
sjborley 304049224a Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:49:50 +00:00
sjborley cbdd811aa5 Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:29:52 +00:00
sjborley c61b756ea2 Replace C++ style comment with C style comment 2005-05-22 20:37:06 +00:00
sjborley fd7d4001f6 Removed the files src/misc/terminal.h/.c and src/include/terminal.h The first two were empty and the last just included the second. The relavent makefile.am files have been updated 2005-05-21 13:37:31 +00:00
sjborley 5c08bf1576 Fixed a structure initailisation problem in the VBIC device that occurs when cider is enabled. Also fixed lots of warning within ciderlib related to unused variables. 2005-05-21 12:37:23 +00:00
sjborley 368f6b0699 Changes to allow compile with MinGW. Macros JMP_BUF, LONGJMP, and SETJMP 2005-05-17 21:52:14 +00:00
sjborley 7376fa66e5 Fixed line-endings (DOS to UNIX)
and translated German to English in comments.
2005-05-11 21:37:24 +00:00
sjborley 1facfd764d Added new syntax to the the resistor card to support HSpice style temperature dependence (from Hitoshi Tanaka <HDA01055@nifty.com>) 2005-05-09 20:20:18 +00:00
sjborley a1991eee19 Fixed issues with the alternate prompt 2005-05-04 01:26:53 +00:00
pnenzi 261778cec4 Code cleaning 2005-04-26 19:44:38 +00:00
pnenzi b3e47fbbd3 New logis in initialization files for ngspice. 2005-04-26 19:42:41 +00:00
pnenzi 742186b44f Trimmed include file and removed some warnings. 2004-08-20 09:44:08 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 9066452b23 Trimmed Makefiles.am for "make dist" and added tests placeholders. 2004-02-14 19:19:23 +00:00
pnenzi 4b6bef82fe Option management patch. CDHW 2004-01-21 19:15:48 +00:00
pnenzi 5708a54ce4 Applied CDHW patch for options management. 2004-01-21 18:27:57 +00:00
pnenzi b03a70760b Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y). 2004-01-10 21:39:36 +00:00
pnenzi a872f83194 Added prototype. 2004-01-10 12:07:03 +00:00
pnenzi 9c26e40abc Added constants needed for new inductor model. 2003-09-27 17:27:47 +00:00
pnenzi 488e1cf2b3 Added a couple of constants: epsilon0 and epsilonSiO2. 2003-09-25 06:53:41 +00:00
pnenzi 6242054c2a Code Cleaning. 2003-08-23 19:54:52 +00:00
pnenzi 8686a73047 Added readline patch (support for command history). 2003-08-14 19:21:10 +00:00
pnenzi 63c93eca79 Modified sparse include files to obtain better separation from rest of the code.
(added spFindElement in spbuild.c needed by cider).
2003-08-13 23:27:17 +00:00
pnenzi 9ee4064c46 Added more separation between sparse and the rest of the package. 2003-08-13 13:00:12 +00:00
pnenzi 88b8906c9a Removed multiple definition of CMPLX_MUL macro. 2003-08-12 11:45:39 +00:00
pnenzi 8d893d890a CIDER integration. Code updated for cider support. 2003-08-11 20:53:33 +00:00
pnenzi 33c3e863b8 Cider simulator (Include files). Import. 2003-08-11 20:25:19 +00:00
pnenzi 758bedc716 Second batch of added files. 2003-07-23 20:06:10 +00:00
pnenzi 8362dec274 Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
stefanjones add5a573f2 rming 2002-11-26 11:31:39 +00:00
stefanjones ab9ab1640d Remove rubbish from import 2002-11-26 11:27:28 +00:00
stefanjones d2ae47441b Initial revision 2002-11-26 10:11:59 +00:00
pnenzi a7e1405208 Windows port of Ngspice (Holger Vogt) (part 2) 2002-01-03 22:47:29 +00:00
pnenzi 937e3db647 Holger Vogt Windows port for Ngspice. 2002-01-03 22:44:21 +00:00
pnenzi 6696aac9e6 Updated changelogs 2001-12-14 18:42:56 +00:00
pnenzi 65392b77ff Modified printnum function to avoid printing bugs and memory leaks. 2001-12-02 10:03:11 +00:00
rouat 84c3d3fbc0 Updated BSIM4 model to latest version (BSIM4.2.1) 2001-11-25 17:56:26 +00:00
pnenzi fc8956b08c Added min, max and d(iff) to vectors from code submitted by Routoure. 2001-11-23 18:01:38 +00:00
pnenzi c099f63794 CKThead structure now allocated dynamically. 2001-05-05 09:54:41 +00:00
pnenzi e96628b7bd Linked stag model to the simulator 2001-05-02 20:33:10 +00:00
pnenzi b07e35d150 Linked the new devices (mesa hfet1 hfet2) into the ngspice simulator 2001-04-25 17:58:59 +00:00
pnenzi 913b715c51 This damn dependence hidden in the source. Have modifed the max number of devices 2001-04-22 12:31:57 +00:00
pnenzi fd6d0b0723 Fixed stringutil missing bug. 2001-02-11 20:13:45 +00:00
pnenzi c68f3470e4 Code cleanup. 2001-02-09 19:46:36 +00:00
pnenzi 6f55975cc0 Code clean up (removed some warning) 2001-02-09 13:27:21 +00:00
pnenzi d735c9a871 Some code cleanup 2001-02-09 08:18:35 +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 97e77a523e Added support for bsim3soi fd devices (fully depleted). 2000-12-08 16:58:47 +00:00
pnenzi cdae0ed0b5 Fixed a couple of bugs in the files 2000-11-21 21:44:33 +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
pnenzi ccfdf80c2e Applied patches for BSD OSes 2000-11-13 19:30:00 +00:00
pnenzi 8669c613b2 Corrected path for gc include file. 2000-11-05 16:02:46 +00:00
arno 86f326d11e * NEWS TODO acconfig.h configure.in src/ngspice.idx
src/frontend/inpcom.c src/include/complex.h
	src/include/macros.h src/include/memory.h
	src/include/ngspice.h src/maths/cmaths/Makefile.am
	src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c
	src/maths/cmaths/test_cx_j.c src/maths/cmaths/test_cx_mag.c
	src/maths/cmaths/test_cx_ph.c src/misc/alloc.c
	src/misc/alloc.h: Added support for the Boehm-Weiser
	conservative garbage collector.

	* NOTES src/maths/cmaths/cmath.h: Added.

	* notes/Linux.changes notes/dbx notes/internal notes/mac_port
	notes/porting notes/spice2: Removed or incorporated into
	NOTES.
2000-10-14 21:49:25 +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 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 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 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 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 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 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
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 1025e978bc * src/include/complex.h, src/include/macros.h,
src/include/memory.h, src/maths/sparse/spdefs.h: Moved definitions
        of complex into complex.h.  There are three different ways to
        declare a complex number in Spice.  We need further work to reduce
        this to only one.

        * src/maths/cmaths/Makefile.am, src/maths/cmaths/.cvsignore,
        src/maths/cmaths/test_cx_ph.c:  Added a new test and updated the
        corresponding support files.
2000-06-03 12:08:35 +00:00
arno 1dcc3ea6ff * inpdefs.h sperror.h: Removed/updated SPerror() function
declaration.

	* cktdefs.h spmatrix.h: Removed non ANSI function declarations.
2000-05-25 19:46:56 +00:00
pnenzi fbfd009182 Introduced Widlok u2 function 2000-05-23 19:59:13 +00:00
pnenzi 270ac06e6b Removed reference to fteconst.h in Makefile.am 2000-05-22 05:17:17 +00:00
arno 3d4cf4d86c * src/include/Makefile.am src/include/cpstd.h
src/include/dvec.h src/include/fteinput.h
	src/include/ifsim.h src/include/wordlist.h
	src/frontend/arg.c src/frontend/display.c
	src/frontend/doplot.c src/frontend/graphdb.c
	src/frontend/plotcurv.c src/frontend/points.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/plotting/graf.c src/frontend/plotting/grid.c
	src/frontend/plotting/plot5.c src/frontend/plotting/x11.c
	src/include/graph.h: Reduced dependency on header files
	(avoid unneccessary recompilation on changes)

	* src/include/fteconst.h src/include/ftedata.h
	src/include/ftegraph.h: Removed unneeded header files.
2000-05-13 17:28:16 +00:00
arno 353282b3ef * src/frontend/diff.c src/frontend/diff.h
src/frontend/evaluate.c src/frontend/evaluate.h
	src/frontend/parse.c src/frontend/parse.h: Trimmed down the
	amount of included files.

	* src/include/macros.h: Removed complex functionality
	duplicated from src/include/complex.h

	src/include/Makefile.am src/include/ftecmath.h: Removed header
	file and adjusted Makefile.am
2000-05-13 16:22:16 +00:00
arno be76b6dd44 * src/include/bool.h src/include/cpextern.h
src/include/fteext.h: Added proper prototypes to avoid compile
	errors.
2000-05-13 10:43:15 +00:00
arno 1840e80330 * src/include/Makefile.am: Update for removed header files. 2000-05-13 10:42:04 +00:00