ngspice/ChangeLog

8511 lines
299 KiB
Plaintext
Raw Normal View History

2011-06-25 22:34:28 +02:00
2011-06-25 Holger Vogt
2011-06-26 01:07:13 +02:00
* ivars.c, ivars.h, inpcom.c, inp.c, util.c, util.h:
rename internal fcn dirname() to ngdirname() because it is different
from LINUX dirnam().
2011-06-26 01:25:23 +02:00
* analog/file_source/cfunc.mod: remove implicit char to char* conversion
2011-06-25 22:34:28 +02:00
2011-06-25 Robert Larice
* src/ngsconvert.c :
ngsconvert.c, swallow type conversion warnings
this case
(tp == VF_REAL) && iscomplex(v)
was actually buggy, but couldn't ever happen
2011-06-25 Robert Larice
* src/xspice/ipc/ipc.c ,
* src/xspice/ipc/ipcsockets.c :
ipc.c and ipcsockets.c, swallow type conversion warnings
2011-06-25 Robert Larice
* src/frontend/plotting/graf.c :
graf.c, swallow type conversion warnings
2011-06-25 12:18:40 +02:00
2011-06-25 Holger Vogt
* main.c, defines.h: improved shutdown message for Windows GUI
* cpitf.c, ngspice.h, ivars.c, ivars.h, analog/file_source/cfunc.mod:
Add reading an environmental variable NGSPICE_INPUT to hold a path
where input files are searched for (in addition to existing search paths),
e.g. *.cir in -b and interactive mode, include and library files,
filesource input file.
2011-06-24 17:26:52 +02:00
2011-06-24 Robert Larice
* src/main.c ,
* src/frontend/com_ahelp.c ,
* src/frontend/inpcom.c ,
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/xpressn.c ,
* src/frontend/trannoise/wallace.c ,
* src/spicelib/parser/inp2r.c ,
* src/xspice/icm/analog/file_source/cfunc.mod :
swallow type conversion warnings
2011-06-24 Robert Larice
* src/ciderlib/oned/oneprint.c ,
* src/ciderlib/twod/twoprint.c :
tiny rewrite, swallow type conversion warnings
2011-06-24 Robert Larice
* src/frontend/com_sysinfo.c :
tiny rewrite, swallow type conversion warnings
2011-06-23 Robert Larice
* src/xspice/mif/mifgetvalue.c :
tiny rewrite, round to nearest integer and reset errno for strtol()
2011-06-23 Holger Vogt
2011-06-24 17:26:52 +02:00
* src/xspice/icm/analog/modpath.lst ,
* src/xspice/icm/analog/file_source/cfunc.mod ,
* src/xspice/icm/analog/file_source/ifspec.ifs :
code model with input from file added (T. Sailer)
2011-06-24 17:26:52 +02:00
* examples/xspice/fstest.sp ,
* examples/xspice/sine.m :
test of 'filesource'
* inpcom.c: bug no. 3317928, patched by Robert
2011-06-23 Robert Larice
* src/frontend/options.c ,
* src/frontend/spiceif.c ,
* src/frontend/variable.c :
round to nearest integer, `rawfileprec' `numdgt' `history' if_option() doset()
2011-06-23 Robert Larice
* src/frontend/evaluate.c :
`[]' indexing operator, round index to nearest integer
2011-06-23 18:55:33 +02:00
2011-06-23 Robert Larice
* src/xspice/icm/spice2poly/icm_spice2poly/cfunc.mod :
malloc return value cast
2011-06-23 18:52:34 +02:00
2011-06-23 Robert Larice
* src/ciderlib/oned/onemesh.c ,
* src/spicelib/devices/nbjt/nbjttemp.c :
tiny rewrite, (integer + integer)/2
2011-06-23 Robert Larice
* src/frontend/evaluate.c ,
* src/misc/hash.c ,
* src/spicelib/devices/ltra/ltraset.c ,
* src/xspice/evt/evtdump.c :
function pointer invocation, (*p)(...) ---> p(...)
2011-06-23 Robert Larice
* src/main.c :
tiny fix, reoccuring option `h' in the getopt_long() option string
2011-06-23 Robert Larice
* src/frontend/com_sysinfo.c :
tiny rewrite, typefix, don't compare EOF with a char
2011-06-23 12:02:05 +02:00
2011-06-23 Holger Vogt
* measure.c: another try to obtain correct vector handling
2011-06-22 19:17:40 +02:00
2011-06-22 Robert Larice
* src/ngsconvert.c ,
* src/frontend/outitf.c ,
* src/frontend/rawfile.c ,
* src/frontend/help/readhelp.c ,
* src/misc/dstring.c ,
* src/misc/hash.c :
remove some useless casts
2011-06-22 19:08:24 +02:00
2011-06-22 Robert Larice
* src/spicelib/devices/bsim4/b4geo.c ,
* src/spicelib/devices/bsim4/b4noi.c ,
* src/spicelib/devices/bsim4/b4temp.c :
cleanup bsim4 prototypes
2011-06-22 Robert Larice
* src/frontend/commands.c ,
* src/frontend/misccoms.h ,
* src/frontend/rawfile.c ,
* src/frontend/vectors.c ,
* src/frontend/plotting/pvec.c ,
* src/include/fteext.h :
cleanup some reoccuring function prototypes
2011-06-22 19:03:54 +02:00
2011-06-22 Robert Larice
* src/spicelib/analysis/Makefile.am ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktdelt.c ,
* visualc/vngspice.vcproj :
remove ancient artifact "ckt.h"
2011-06-19 16:21:24 +02:00
2011-06-19 Dietmar Warning
* Code merged into bsim4v4: Code diff's from formerly version 4v2 and 4v3 merged into
4v4, selectable by "version=4.x.0" model parameter (x=2,3 ... 4)
2011-06-22 19:03:54 +02:00
* Update to version 4.7.0: new code into bsim4 folder, Version 6 is now in
2011-06-19 16:21:24 +02:00
new folder bsim4v6, OpenMP implemented, Update of tests/bsim4 to new version
2011-06-22 19:03:54 +02:00
* res/resnoise.c, analysis/nevalsrc.c: Name changed NevalSrc2 to NevalSrcInstanceTemp and
2011-06-19 16:21:24 +02:00
include new bsim4 function NevalSrc2
2011-06-18 Holger Vogt
* measure.c: revert a change from Feb. 19th, 2011 to reinstate from=dfall
inpcom.c, defines.h: allow / and \ in file paths under MS Windows
inp.c: some comment added
/examples/measure/simple-meas-tran.sp: another .measure example
2011-06-22 19:03:54 +02:00
2011-06-11 19:07:38 +02:00
2011-06-11 Holger Vogt
* onemesh.c misc.c com_compose.c com_fft.c evaluate.c
hpgl.c linear.c misccoms.c options.c points.c rawfile.c
spec.c spiceif.c variable.c complete.c clip.c graf.c
plot5.c plotit.c spbuild.c dctrcurv.c distoan.c
2011-06-11 20:38:38 +02:00
noisean.c nbjttemp.c urcsetup.c ipc.c ipcstdio.c mifgetvalue.c
postsc.c grid.c hash.c cktsens.c:
2011-06-11 19:07:38 +02:00
remove compiler warnings by explicit casting double -> int etc.
2011-06-05 09:01:37 +02:00
============================ ngspice-23 ==================================
2011-06-04 15:22:40 +02:00
2011-06-04 Holger Vogt
* tests/bin/ngspice.pm: version 23
2011-06-02 Robert Larice
* src/frontend/com_let.c :
bug fix, avoid segfault when indexing a vector with a nonexistant variable
let foo = thing[nonsuchthing]
2011-06-02 Robert Larice
* src/frontend/postcoms.c :
bug fix, avoid $curplot (plot_names) being assembled from negative numbers
The variable `plot_num' is exclusively used to build plotnames,
via sprintf(plot_name, "dc%d", plot_num) expressions
Thus plot_num may never be decremented.
Otherwise expressions of sort
dc-2.var
can't be parsed
2011-06-02 Robert Larice
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/x11.c :
fix a segfault, when invoking `destroy' while running in batch mode on unix
2011-06-02 Robert Larice
* src/frontend/evaluate.c :
fix a segfault, incorrect invocation of free()
seen with expressions like v(node)[0]
2011-06-02 08:26:18 +02:00
2011-06-02 Holger Vogt
* tests/hisim/makefile.am: no more test1.cir in EXTRA_DIST
2011-06-02 10:58:30 +02:00
* INSTALL, compile_min.sh: new instructions for mingw compilation
2011-06-01 22:06:29 +02:00
2011-06-01 Dietmar Warning
* devices/bjt/bjt.c: introduce ccs as an alias for the
2011-06-01 22:06:29 +02:00
zero bias substrate junction capacitance cjs
2011-06-01 Robert Larice
* src/Makefile.am :
update tclspice to support build in a sparate directory
2011-05-31 Robert Larice
* tests/bin/check_cmc.sh ,
* tests/bin/runQaTests.pl ,
* tests/bin/run_cmc_check ,
* tests/hisim/Makefile.am ,
* tests/hisimhv/Makefile.am :
CMC test suite, fix choice of results subdirectory
2011-05-31 20:34:22 +02:00
2011-05-31 Robert Larice
* tests/bsim3soifd/RampVg2.out ,
* tests/bsim3soifd/inv2.out ,
* tests/bsim3soifd/t3.out ,
* tests/bsim3soifd/t4.out ,
* tests/bsim3soifd/t5.out ,
* tests/filters/lowpass.out ,
* tests/general/mosmem.out ,
* tests/mesa/mesa11.out ,
* tests/polezero/filt_bridge_t.out :
massage some tests/* reference files
2011-05-31 17:52:52 +02:00
2011-05-31 Robert Larice
* src/Makefile.am ,
* tests/Makefile.am ,
* tests/hisim/Makefile.am ,
* tests/hisimhv/Makefile.am :
updates for `make dist'
2011-05-30 Robert Larice
* tests/bin/check_cmc.sh :
incorporate CMC test suite into make target 'check'
2011-05-30 Robert Larice
* configure.ac ,
* tests/bin/modelQaTestRoutines.pm ,
* tests/bin/ngspice.pm ,
* tests/bin/runQaTests.pl ,
* tests/bin/run_cmc_check ,
* tests/hisim/Makefile.am ,
* tests/hisimhv/.cvsignore ,
* tests/hisimhv/Makefile.am :
incorporate CMC test suite into make target 'check'
2011-05-29 13:13:04 +02:00
2011-05-29 Holger Vogt
* winmain.c, winmain.h: prototypes and forwards
2011-05-29 12:43:20 +02:00
2011-05-29 Robert Larice
* Removed tests/hisimhv/nmos/Makefile ,
* Removed tests/hisimhv/pmos/Makefile ,
* Removed tests/hisim/nmos/Makefile ,
* Removed tests/hisim/pmos/Makefile ,
* Added tests/bin/run_cmc_check ,
* Modified tests/hisimhv/nmos/run ,
* Modified tests/hisimhv/pmos/run ,
* Modified tests/hisim/nmos/run ,
* Modified tests/hisim/pmos/run :
CMC test suite, cleanup
use /bin/sh instead of /bin/csh
replace the makefiles with a single script
2011-05-29 12:07:10 +02:00
2011-05-29 Holger Vogt
* main.c, inpcom.c, numparam.h, spicenum.c, xpressn.c, compatmode.h, b3v1.c:
compatibility issues
2011-05-28 21:15:03 +02:00
2011-05-28 Dietmar Warning
2011-05-29 12:43:20 +02:00
* tests/hisim, tests/hisimhv: include the CMC test suite (Author: Colin McAndrew)
2011-05-28 21:15:03 +02:00
provided by the model developer - Hiroshima University
2011-05-29 12:43:20 +02:00
2011-05-28 19:35:56 +02:00
2011-05-28 Holger Vogt
2011-05-29 12:07:10 +02:00
* configure.ac, visualc/config.h, CPOYING, FAQ, INSTALL, NEWS:
update to prepare release 23
2011-05-28 19:35:56 +02:00
2011-05-28 Robert Larice
* src/ngsconvert.c :
bug fix, (#3188327), segfault in ngsconvert
thanks to Ed Spittles
http://sourceforge.net/tracker/?func=detail&aid=3188327&group_id=38962&atid=423915
2011-05-25 21:42:52 +02:00
2011-05-23 Holger Vogt
* configure.ac: remove reference to devices/hisim/makefile (line 1035)
2011-05-23 23:46:13 +02:00
2011-05-23 Holger Vogt
* windisp.c: bug no. 3263437 (fix thanks to Robert)
2011-05-24 06:34:33 +02:00
2011-05-23 Dietmar Warning
* src/spicelib/devices/hisim2/*.c, *.h: Some changes for MS visualc and suppr. warnings
* src/spicelib/parser/inpdomod.c: hisim is now level=61, compatible with STARC
* visualc/vngspice.vcproj: substitute hisim1 with hisim2
2011-05-22 12:29:24 +02:00
2011-05-22 Robert Larice
* configure.ac ,
* src/spicelib/devices/Makefile.am :
hisim2, add hisim2 to configure.ac etc
2011-05-22 12:27:08 +02:00
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2itf.h :
hisim2, fix hsm2itf.h
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/Makefile.am ,
* src/spicelib/devices/hisim2/hsm2init.c ,
* src/spicelib/devices/hisim2/hsm2init.h :
hisim2, add ngspice specific hsm2init.[ch]
2011-05-22 12:23:30 +02:00
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2set.c :
hisim2, add HSM2unsetup()
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2def.h :
hisim2, add ngspice specific GENinstance struct slot 'HSM2owner' aka `GENowner'
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2eval.c :
hisim2, drop unused static functions (swallow warnings)
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2eval.c ,
* src/spicelib/devices/hisim2/hsm2temp.c :
hisim2, drop unused vars (swallow warnings)
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2noi.c :
hisim2, fix NevalSrc(), Nintegrate() redeclaration
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2noi.c :
hisim2, drop (GENERIC **) NULL pointer casts
2011-05-22 12:12:01 +02:00
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2cvtest.c ,
* src/spicelib/devices/hisim2/hsm2ld.c :
hisim2, rename FABS() -> fabs()
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/* :
hisim2, convert K&R function definitions to ansi style
2011-05-22 12:06:29 +02:00
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2noi.c :
hisim2, remove #include "fteconst.h"
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/* :
hisim2, use NG_IGNORE() (swallow warnings)
2011-05-22 12:02:59 +02:00
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/* :
hisim2, remove #include "util.h"
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/* :
hisim2, #include "spice.h" --> "ngspice.h"
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/hsm2eval.c :
hisim2, remove unused labels (swallow warnings)
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/Makefile.am ,
* src/spicelib/devices/hisim2/.cvsignore :
hisim2, new files Makefile.am and .cvsignore
2011-05-22 11:51:52 +02:00
2011-05-22 Robert Larice
* src/spicelib/devices/hisim2/* :
hisim2, populate this new directory
with files from HiSIM_2.5.1_Release_20110407.zip
unchanged, from
HiSIM_2.5.1_Release_20110407/HiSIM_2.5.1_C-Code/hisim2/
2011-05-21 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvset.c :
extend HSMHVunsetup() to process some more CKTmkVolt() generated nodes
FIXME, there are still some more to fix
2011-05-21 14:44:27 +02:00
2011-05-21 Holger Vogt
* windisp.c, winprint.c, windisp.h, winprint.h, display.c xdisplay.c,
2011-05-22 11:51:52 +02:00
winmain.c: reduce compiler warnings
2011-05-21 14:44:27 +02:00
2011-05-20 18:15:03 +02:00
2011-05-20 Robert Larice
* src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml:
revert ngspiceMakfile.am.xml
2011-05-19 21:05:56 +02:00
2011-05-19 Dietmar Warning
* spicelib/devices/bsim3v32/b3v32temp.c: move the mulu0 entry outside
the size dependent section, like delvto
2011-05-19 20:19:48 +02:00
2011-05-19 Robert Larice
* autogen.sh :
update --adms3
2011-05-19 19:47:40 +02:00
2011-05-19 Robert Larice
* autogen.sh :
add --adms3 to autogen.sh
2011-05-19 Robert Larice
* src/spicelib/parser/inpptree-parser.c,
* src/spicelib/parser/inpptree-parser.h,
* src/frontend/parse-bison.c,
* src/frontend/parse-bison.h:
undo the accidental commit of intemediate files
2011-05-19 Laurent Lemaitre
remove usage of ngspiceVersion.xml in autogen.sh
2011-05-19 Laurent Lemaitre
all xml files are concatenated into one single file ngspice.xml - except ngspiceMakefile.am.xml
2011-05-15 Holger Vogt
* inp2z.c: remove checking for thismodel->INPmodType
because this might lead to segfault if the user supplies
a wrong ZXXXXX input
2011-05-08 14:52:58 +02:00
2011-05-08 Robert Larice
* src/frontend/shyu.c ,
* src/frontend/spiceif.c ,
* src/spicelib/analysis/cktdest.c ,
* src/spicelib/analysis/cktdltm.c ,
* src/spicelib/analysis/cktdltn.c ,
* src/spicelib/analysis/cktdojob.c ,
* src/spicelib/analysis/cktfnda.c ,
* src/spicelib/analysis/cktgrnd.c ,
* src/spicelib/analysis/cktneweq.c ,
* src/spicelib/analysis/cktnewn.c ,
* src/spicelib/analysis/cktparam.c ,
* src/spicelib/analysis/ckttroub.c ,
* src/spicelib/devices/cktask.c ,
* src/spicelib/devices/cktbindnode.c ,
* src/spicelib/devices/cktcrte.c ,
* src/spicelib/devices/cktfinddev.c ,
* src/xspice/ipc/ipctiein.c :
mop up some fixme comments
2011-05-08 11:04:04 +02:00
2011-05-08 Robert Larice
* src/frontend/help/x11disp.c :
cleanup Xt usage
2011-05-08 Robert Larice
* xgraph/alloc.c :
rename macros public and private --> PUBLIC and PRIVATE
2011-05-08 Robert Larice
* src/xspice/cmpp/mod_yacc.y ,
* src/xspice/icm/analog/multi_input_pwl/cfunc.mod :
rename variable private --> mif_private
2011-05-07 10:01:22 +02:00
2011-05-07 Dietmar Warning
* src/Makefile.am: change lib order for linking with gcc4 to prevent
2011-05-07 10:01:22 +02:00
unresolved symbols
* xspice/cmpp/Makefile.am: there are flex'es, which not accept "-o outfile"
but accept "-ooutfile"
2011-05-05 22:09:24 +02:00
2011-05-05 Dietmar Warning
* spicelib/devices/bsim3v32/*.c, *.h: allow delvto and mulu0 as instance
2011-05-05 22:09:24 +02:00
parameter, usefull for stress amn mismatch simulations
2011-05-04 23:00:13 +02:00
2011-05-04 Dietmar Warning
2011-05-05 22:01:48 +02:00
* spicelib/parser/inpdomod.c: vbic now accept level 4 and 9
2011-05-04 23:00:13 +02:00
* DEVICES: update and include HiSIM HV model.
2011-05-03 23:19:57 +02:00
2011-05-03 Holger Vogt
* x11.c, graph.h: move #define NUMCOLORS to x11.c to avoid redefinition
2011-05-28 19:35:56 +02:00
under MS Visual Studio
2011-05-03 23:19:57 +02:00
2011-05-01 Robert Larice
* src/frontend/outitf.c ,
* src/spicelib/analysis/cktpzstr.c ,
* src/spicelib/devices/hisim/hsm1eval1_1.c :
spelling fixes from debian, thank you !
2011-05-01 Robert Larice
* src/spicelib/parser/inpdomod.c :
mop up, in the shadow of the last commits
2011-05-01 21:51:59 +02:00
2011-05-01 Robert Larice
* src/spicelib/parser/inpdomod.c :
rename variable typename --> type_name
2011-05-01 21:46:53 +02:00
2011-05-01 Robert Larice
* src/xspice/cmpp/ifs_yacc.y :
rename variable class --> ctype_class
2011-05-01 21:45:12 +02:00
2011-05-01 Robert Larice
* src/frontend/parser/complete.c ,
* src/include/cpextern.h :
rename variable class --> kw_class
2011-05-01 Robert Larice
* src/spicelib/analysis/analysis.c ,
* src/spicelib/analysis/analysis.h ,
* src/spicelib/analysis/cktdojob.c ,
* src/spicelib/analysis/ckttroub.c :
rename struct member public --> if_analysis
2011-05-01 21:02:25 +02:00
2011-05-01 Robert Larice
* src/frontend/help/x11disp.c :
rename function delete --> delete_w
2011-05-01 Robert Larice
* src/spicelib/parser/inpaname.c ,
* src/spicelib/parser/inpdpar.c ,
* src/spicelib/parser/inppname.c ,
* src/xspice/mif/mifgetmod.c :
mop up, in the shadow of the last two commits
2011-05-01 19:29:21 +02:00
2011-05-01 Robert Larice
* src/spicelib/parser/inpgmod.c ,
* src/xspice/mif/mifgetmod.c :
cleanup, (modtmp) --> modtmp
2011-05-01 19:27:52 +02:00
2011-05-01 Robert Larice
* src/spicelib/parser/inpaname.c ,
* src/spicelib/parser/inpdpar.c ,
* src/spicelib/parser/inpgmod.c ,
* src/spicelib/parser/inppname.c ,
* src/spicelib/parser/inptyplk.c ,
* src/xspice/mif/mifgetmod.c :
cleanup, some more (*p).foo --> p->foo
2011-04-30 Robert Larice
* src/spicelib/devices/cktbindnode.c ,
* src/spicelib/devices/hisimhv/hsmhvmask.c ,
* src/spicelib/devices/hisimhv/hsmhvpzld.c :
c89 compatibility, move NG_IGNORE() after declarations
2011-04-30 15:10:51 +02:00
2011-04-30 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvask.c ,
* src/spicelib/devices/hisimhv/hsmhvld.c ,
* src/spicelib/devices/hisimhv/hsmhvmask.c ,
* src/spicelib/devices/hisimhv/hsmhvpar.c ,
* src/spicelib/devices/hisimhv/hsmhvpzld.c :
warnings, use NG_IGNORE()
2011-04-30 14:31:33 +02:00
2011-04-30 Robert Larice
* configure.ac :
re-enable unused-parameter Warnings
2011-04-30 14:29:19 +02:00
2011-04-30 Robert Larice
* **/* :
various cleanups
- usage of cp_getvar(), receives a void* in the third arg, thus remove casts
FIXME, this function signature is error prone
- use NG_IGNORE()
- casts and prototypes
2011-04-29 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvnoi.c ,
* src/spicelib/devices/hisimhv/hsmhvset.c :
minor bug fix (broken diagnostic printout) and swallow some warnings
2011-04-29 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvdef.h :
hisimhv implementation, ngspice has one more slot (GENowner) in GENinstance
2011-04-29 Dietmar Warning
* src/spicelib/devices/hisimhv/** :
* **/* :
add the HiSIM_HV model vers. 1.2.1
2011-04-28 21:27:45 +02:00
2011-04-28 Robert Larice
* src/frontend/inpcom.c ,
bug fix, (#329233)
http://sourceforge.net/tracker/?func=detail&atid=423915&aid=3292330&group_id=38962
this fix is for
E1 OUT 0 vol='V(IN)>1 && V(IN)>0 ? 1 : 0'
FIXME,
INPevaluate() should skip a trailing `unit' string
FIXME,
E1 OUT 0 vol='(V(IN)>1) and (V(IN)>0) ? 1 : 0'
this is simply incorrect syntax, but shoudn't segfault.
inp_chk_for_multi_in_vcvs()
is much to simple minded.
2011-04-28 Robert Larice
* src/main.c ,
* src/frontend/com_measure2.c ,
* src/frontend/inpcom.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/analysis/pzan.c ,
* src/spicelib/analysis/tfanal.c ,
* src/spicelib/devices/cpl/cplsetup.c ,
* src/spicelib/devices/isrc/isrcacct.c ,
* src/spicelib/devices/vsrc/vsrcacct.c :
code cleanup, some warnings, some casts, ...
2011-04-28 21:27:45 +02:00
2011-04-28 Robert Larice
2011-04-28 17:59:36 +02:00
* */** :
code cleanup, drop NULL pointer casts
2011-04-28 12:52:26 +02:00
2011-04-28 Robert Larice
* src/frontend/plotting/x11.c ,
* src/frontend/plotting/x11.h :
cleanup x11 code
2011-04-27 23:10:36 +02:00
2011-04-27 Dietmar Warning
* /devices/bjt2: removed - all GP extensions of this model are now in the bjt model, see
Changelog 2011-03-03 and 2011-03-10
2011-04-27 20:30:15 +02:00
2011-04-27 Robert Larice
* */** :
code cleanup
function pointer invocation, (*p)(...) ---> p(...)
structure access, (*p).foo ---> p->foo
some casts, etc
2011-04-17 22:14:10 +02:00
2011-04-17 Dietmar Warning
* /bsim3v2/b3v2set.c, /bsim3/b3set.c: allow multiple call to setup w/ correct node collapsing
2011-04-27 20:30:15 +02:00
2011-04-15 Robert Larice
* src/spicelib/analysis/cktsens.c :
fix allocation and ownership of auxiliary CKTmatrix CKTrhs etc objects
FIXME: invoke release_context() when returning due to errors
2011-04-13 21:52:27 +02:00
2011-04-12 Dietmar Warning
* devices: merged bsim3v1a code with bsim3v0
* devices: merged bsim3v1s code with bsim3v1
* update this situation to DEVICES, configure.ac, src/Makefile.am,
2011-04-13 21:52:27 +02:00
spicelib/parser/inpdomod.c, inp2m.c, devices/dev.c
2011-04-09 Robert Larice
* src/frontend/plotting/x11.c :
bugfix, segfault when closing a plot window
fix the fix from 2011-02-11
currentgraph is a dynamical scoped variable
in response to
http://sourceforge.net/tracker/?func=detail&atid=423915&aid=3263437&group_id=38962
FIXME/DONE, need to be fixed for ms-windows as well
2011-04-09 Robert Larice
* src/spicelib/analysis/cktsens.c :
bugfix, fix sensitvity calculation (for the dc-2+.cir testcase)
2011-04-02 Robert Larice
* src/frontend/plotting/x11.c :
extend the fix from 2011-02-11
for other ways of closing a plot window.
in response to
http://sourceforge.net/tracker/?func=detail&atid=423915&aid=3263437&group_id=38962
2011-03-24 22:08:46 +01:00
2011-03-24 Dietmar Warning
* xspice/icm/GNUmakefile.in: sun cc needs modified dependency flags (-xMD)
2011-03-18 21:15:10 +01:00
2011-03-18 Dietmar Warning
* frontend/typedefs.c, outitf.c: bug no. 3214252 fixed
2011-03-16 22:28:10 +01:00
2011-03-16 Dietmar Warning
* plotit.c: fix the wrong x-axis label for temp-sweep and res-sweep by
2011-03-16 22:28:10 +01:00
using macros SV_XXX for vector types
2011-03-13 18:59:30 +01:00
2011-03-13 Dietmar Warning
* analysis.h, typedefs.h, misc. bXtemp.c: skip printout in bsimtemp for
2011-03-16 22:28:10 +01:00
sens analysis
2011-03-13 18:59:30 +01:00
* bsim2/bsim2def.h: int for XPARTS flag in ancient debug usage
2011-03-10 23:24:17 +01:00
2011-03-10 Dietmar Warning
* src/spicelib/devices/bjt: nkf additional beta rolloff exponent parameter
2011-03-07 00:48:35 +01:00
2011-03-07 Holger Vogt
* inpcom.c: bug no. 3201331 fixed
2011-03-04 22:48:29 +01:00
2011-03-04 Robert Larice
* src/spicelib/devices/isrc/isrcdefs.h :
bug fix, isrc polarity inversion
my commit `vsrc, isrc, cleanup aiming for more similarity' from 2011-02-27
changed the polarity of the `isrc' current.
the structure definition somewhere has an `overlay', how *evil* !
2011-03-03 22:34:56 +01:00
2011-03-03 Dietmar Warning
* diode & bjt temperature model update tlev, tlevc
* cktsgen.c: segfault fix
2011-02-28 21:35:31 +01:00
2011-02-28 Robert Larice
* src/spicelib/devices/isrc/isrcacct.c ,
* src/spicelib/devices/isrc/isrcload.c :
merge vsrc PULSE -> isrc
to fix PHASE != 0, see commit from 2010-11-21
2011-02-28 21:32:34 +01:00
2011-02-28 Robert Larice
* src/spicelib/devices/isrc/isrc.c ,
* src/spicelib/devices/isrc/isrcacct.c ,
* src/spicelib/devices/isrc/isrcask.c ,
* src/spicelib/devices/isrc/isrcdefs.h ,
* src/spicelib/devices/isrc/isrcload.c ,
* src/spicelib/devices/isrc/isrcpar.c ,
* src/spicelib/devices/vsrc/vsrc.c ,
* src/spicelib/devices/vsrc/vsrcload.c :
merge TRRANDOM vsrc -> isrc
see commit from 11-01-16
2011-02-27 21:40:48 +01:00
2011-02-27 Robert Larice
* src/spicelib/devices/isrc/* ,
* src/spicelib/devices/vsrc/* :
vsrc, isrc, whitespace cleanup
2011-02-27 Robert Larice
* src/spicelib/devices/isrc/* ,
* src/spicelib/devices/vsrc/* :
vsrc, isrc, cleanup aiming for more similarity
2011-02-27 Robert Larice
* src/spicelib/devices/isrc/isrc.c ,
* src/spicelib/devices/vsrc/vsrc.c :
vsrc, isrc, parameter descriptors, synchronize to each other
2011-02-27 Robert Larice
* src/spicelib/devices/isrc/isrcpar.c ,
* src/spicelib/devices/vsrc/vsrcpar.c :
vsrc, isrc, merge checks for length of vector parameters
2011-02-27 21:05:32 +01:00
2011-02-27 Robert Larice
* src/spicelib/devices/isrc/isrcask.c ,
* src/spicelib/devices/vsrc/vsrcload.c ,
* src/spicelib/devices/vsrc/vsrcpar.c :
bug fix, three of them (vsrc, isrc)
2011-02-22 22:53:35 +01:00
2011-02-22 Dietmar Warning
* diode & bjt temperature model update, now it is possible to select the
temperature equations with tlev and tlevc in similar manner as in other well
known simulators
2011-02-21 20:37:07 +01:00
2011-02-21 Dietmar Warning
* inpcom.c: exclude appending m= to .model cards
2011-02-27 21:05:32 +01:00
* adms/admst/ngspiceMakefile.am.xml: rm some obsolete files
2011-02-21 20:41:13 +01:00
on maintainer-clean action
2011-02-21 20:37:07 +01:00
2011-02-19 23:11:45 +01:00
2011-02-19 Holger Vogt
* ngspice.h: _snprintf for MS Visual Studio
* measure.c, com_measure.c: update FIND .. WHEN measurements
2011-02-19 Robert Larice
* configure.ac ,
* examples/transient-noise/shot_ng.cir ,
* src/Makefile.am ,
* src/frontend/trannoise/FastNorm3.c :
cleanup some whitespace errors and prototypes
2011-02-19 16:11:53 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/Makefile.am ,
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/numparam.h ,
* src/frontend/numparam/xpressn.c ,
* Removed src/frontend/numparam/downgrad.txt ,
* Removed src/frontend/numparam/washprog.c :
numparm, remove unused artifacts
2011-02-19 16:08:20 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/nupatest.c ,
* src/frontend/numparam/spicenum.c ,
* src/frontend/numparam/xpressn.c :
numparm, un-pascal-ify, ws() wln()
2011-02-19 16:06:13 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/xpressn.c :
numparm, cleanup, (())
2011-02-19 16:04:09 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/xpressn.c :
numparm, cleanup, {}
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/xpressn.c :
numparm, rewrite some conditional expressions
2011-02-19 15:58:18 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c :
silence compiler warnings
2011-02-19 15:56:40 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/xpressn.c :
numparm, un-pascal-ify, use '\0'
2011-02-19 Robert Larice
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/nupatest.c :
numparm, un-pascal-ify, use '\r' '\n' '\t'
2011-02-19 15:51:01 +01:00
2011-02-19 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c :
numparm, cleanup some small functions
2011-02-19 Robert Larice
* src/frontend/numparam/spicenum.c ,
* src/frontend/numparam/xpressn.c :
numparm, 17 digit placeholders --> numparm__XXXXXXXX dummy symbols
2011-02-19 Robert Larice
* src/frontend/numparam/xpressn.c :
numparm, upgrade message() to accept format strings
2011-02-19 Robert Larice
* src/frontend/numparam/xpressn.c :
numparm, shrink scope for dstrings, mostly message() related
2011-02-19 Robert Larice
* src/frontend/numparam/xpressn.c :
numparm, cleanup parseunit() and fetchnumber()
2011-02-15 Holger Vogt
* spicelib/parser/inpfindl.c:41 with MINGW level=4.00000e000
returned 3 instead of 4 at INPevaluate() line 210
2011-02-13 Robert Larice
* src/frontend/numparam/spicenum.c ,
* src/frontend/numparam/xpressn.c :
reinstate a missing if(numerical), which got lost
and fix a few comments
2011-02-13 20:20:34 +01:00
2011-02-13 Robert Larice
part 2, the actual change
2011-02-13 Robert Larice
part 1, whitespace and indentation, nothing else
2011-02-13 Robert Larice
undo the last commit, with the sole purpose to seperate it into two commits
2011-02-13 09:47:34 +01:00
2011-02-13 Holger Vogt
* spicelib/analysis/acan.c: explicit type cast
2011-02-13 16:16:48 +01:00
* spicenum.c, mystring.c, xpressn.c: start cleanup, fix bug no. 3175568
2011-02-12 10:51:53 +01:00
2011-02-12 Holger Vogt
* src/makefile.am: enable tclspice again
2011-02-12 13:15:04 +01:00
* com_measure2.c fix bug no. 3165634
2011-02-12 10:51:53 +01:00
2011-02-11 Robert Larice
* src/spicelib/parser/inp2r.c :
bug fix, when rewriting a resistors tc = number number ==> tc=number tc2=number
2011-02-11 Robert Larice
* src/xspice/cmpp/mod_lex.l ,
* src/xspice/cmpp/mod_yacc.y ,
* src/xspice/icm/spice2poly/icm_spice2poly/cfunc.mod ,
* src/xspice/icm/spice2poly/icm_spice2poly/ifspec.ifs :
bug fix, when `show' a xspice spice2poly device (acgains)
2011-02-11 Robert Larice
* src/frontend/plotting/x11.c :
bug fix a segfault when closing a second x11-window, then resizing the first
copied a workaround from
2009-01-10 Holger Vogt
in windisp.c
FIXME, x11 structures and currentgraph ...
2011-02-11 18:20:48 +01:00
2011-02-11 Robert Larice
* src/frontend/parse-bison.c :
and update the parser output
2011-02-11 Robert Larice
* src/frontend/parse-bison.y :
silence a `bcheck' warning `read from uninitialized memory'
yylval in the bison generated parser is copied,
even when the value is actually unused
2011-02-11 Robert Larice
* src/spicelib/devices/vsrc/vsrcask.c :
add a missing `ask' function for VSRC_TRRANDOM
2011-02-11 Robert Larice
* src/spicelib/devices/cpl/cplmpar.c ,
* src/spicelib/devices/isrc/isrcpar.c ,
* src/spicelib/devices/vsrc/vsrcpar.c :
fix a bug when `alter' a vector parameter (VSRC PWL for example)
2011-01-25 Robert Larice
* Modified src/include/cmproto.h ,
* Modified src/xspice/icm/dlmain.c ,
* Modified src/xspice/icm/digital/d_source/cfunc.mod ,
* Modified src/xspice/icm/digital/d_state/cfunc.mod ,
* Modified tests/bin/check.sh ,
* Added tests/bin/spinit ,
* Modified tests/bsim3/dc_sim/Makefile.am ,
* Modified tests/bsim3soi/Makefile.am ,
* Modified tests/bsim3soidd/Makefile.am ,
* Modified tests/bsim3soifd/Makefile.am ,
* Modified tests/bsim3soipd/Makefile.am ,
* Modified tests/bsim4/Makefile.am ,
* Modified tests/xspice/digital/Makefile.am ,
* Modified tests/xspice/digital/spinit.in :
fix `make check' for build in a separate directory
2011-01-25 Robert Larice
* Modified configure.ac ,
* Modified src/xspice/Makefile.am ,
* Added src/xspice/icm/GNUmakefile.in ,
* Removed src/xspice/icm/Makefile ,
* Modified src/xspice/icm/makedefs.in ,
* Removed src/xspice/icm/modpath.lst ,
* Removed src/xspice/icm/objects.inc :
rework the xspice/icm Makefile for build in a separate directory
the new makefile requires GNU make
2011-01-25 Robert Larice
* src/xspice/cmpp/cmpp.h ,
* src/xspice/cmpp/pp_lst.c ,
* src/xspice/cmpp/pp_mod.c ,
* src/xspice/cmpp/read_ifs.c ,
* src/xspice/cmpp/util.c ,
* src/xspice/cmpp/writ_ifs.c :
prepare the xspice cmpp processor for build in a separate directory
Two environment variables are introduced to augment the the hardwired
filenames with directory names
2011-01-25 Robert Larice
* src/frontend/Makefile.am ,
* src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml
* src/spicelib/parser/Makefile.am
small fixes to make some `Makefiles' ready for build in a separate directory
2011-01-18 23:50:59 +01:00
11-01-18 Holger Vogt
* plotcurv.c: line 139 test for existance of v_plot before comparing
pl_scale
2011-01-16 20:19:42 +01:00
11-01-16 Holger Vogt
* com_cdump.c: remove compiler warnings
* 1-f-code.c, 1-f-code.h, vsrc.c, vsrcacct.c, vsrcdefs.h,
vsrcload.c, vsrcpar.c, examples/opwien.sp:
Add new random voltage generator option trrandom to vsrc
voltage source
2011-01-15 Robert Larice
* src/frontend/trannoise/Makefile.am ,
* src/include/Makefile.am ,
* src/maths/fft/Makefile.am ,
* tests/Makefile.am ,
* src/maths/fft/Read\ Me ,
* src/maths/fft/Read-Me :
updates for the make infrastructure (trannoise and tests/xspice)
renamed "Read Me" to avoid whitespace in the filename
2011-01-13 18:05:46 +01:00
11-01-13 Dietmar Warning
* devices/adms/admst/*.xml: set version parameter to 2.3.0 to come in line with admsXml
11-01-12 Dietmar Warning
* devices/adms/admst/ngspiceMODULEdefs.h.xml: allow gmin stepping by using ckt->CKTdiagGmin
2011-01-12 18:49:18 +01:00
11-01-11 Holger Vogt
* postcoms.c: dynamic memory allocation for buf and buf2 in fcn com_print()
2011-01-08 15:31:33 +01:00
11-01-08 Holger Vogt
* com_cdump.c: add #include "ngspice.h" to allow use of command 'cdump'
also under Windows
2011-01-06 20:15:20 +01:00
11-01-06 Holger Vogt
* inpcom.c: allow models like 2N2904 or 2SK136 also in subcircuits
* examples/Monte_Carlo/mc_ring.sp: reduce memory consumption by adding
'save' command, add jitter measurement
2011-01-03 21:37:36 +01:00
11-01-03 Holger Vogt
* spiceif.c: add error checking for 'altermod'
2011-01-02 17:17:57 +01:00
11-01-02 Dietmar Warning
* math/fft/fftlib.c: inline functions to static
* ngspice.h: __inline for _MSC_VER
2011-01-02 13:02:48 +01:00
11-01-02 Holger Vogt
* spiceif.c: recall yesterday's change due to errors, if reset was given before
2011-01-02 15:15:42 +01:00
install again, but only for CKTtime > 0
2011-01-02 13:02:48 +01:00
11-01-01 Holger Vogt
* breakp.c: update to multiple conditionals with '=' in stop command
dctran.c: set breakpoint upon startup from database dbs ('stop when time = xxx' command)
spiceif.c: additional call to CKTtemp(ckt) after 'altermod' command to set
device instance pParam for immediate use
2010-12-31 10:08:54 +01:00
10-12-31 Holger Vogt
* breakp.c: allow multiple conditionals with '=' in stop command
10-12-30 Holger Vogt
2010-12-30 15:49:35 +01:00
* aspice.c, inpcom.c, numparam/general.h, 1-f-code.h, equality.c
randnumb.c, spdefs.h, cktsens.c: remove compiler warnings
2010-12-30 20:32:24 +01:00
breakp.c: allow 'time = nnn' in stop command
2010-12-30 15:49:35 +01:00
2010-12-28 Holger Vogt
* xpressn.c, cmath2.c, cmath2.h, randnumb.c, parse.c,
examples/Monte_Carlo/MonteCarlo.sp:
add poisson and exponential distribution to nutmeg parser,
add gauss, aunif, unif, limit to numparam parser
* spiceif.c: remove bug in experimental_code
* control.c: no i/o redirection in define command
(so > or < may be used safely)
2010-12-27 10:45:50 +01:00
2010-12-27 Robert Larice
* tests/bsim3soi/inv_dc.cir ,
* tests/bsim3soi/inv_tr.cir ,
* tests/bsim3soi/test1.cir ,
* tests/bsim3soi/test2.cir ,
* tests/bsim3soi/test3.cir ,
* tests/bsim3soi/test4.cir ,
* tests/bsim3soi/test5.cir ,
* tests/bsim3soi/test6.cir ,
* tests/bsim3soi/test7.cir ,
* tests/bsim3soi/test8.cir :
include ./thing ---> include thing
ngspice currently has a broken include path semantic.
every pathname with a '/' in it is considered to be `absolute'
and the include path will not be applied
2010-12-27 Robert Larice
* src/spicelib/devices/isrc/isrcask.c :
bug fix, missing isrc trnoise ask function
breaks tests/vbic/diffamp.cir (infinite recursion of error messages)
2010-12-25 09:35:19 +01:00
2010-12-25 Holger Vogt
* inpcom.c: exclude control section from fcn inp_chk_for_multi_in_vcvs,
add ')' as a delimiter in param replacement, fcn inp_sort_params
2010-12-19 12:05:03 +01:00
2010-12-19 Holger Vogt
* simplify exp variate generation for RTS noise:
rnorrexp.c removed,
2010-12-19 12:05:03 +01:00
update to randnumb.c, main.c, /maths/misc/makefile.am, visualc/vngspice.vcproj
2010-12-18 18:19:55 +01:00
2010-12-18 Dietmar Warning
* devices/bsim*/*ask.c: correct multiplier m for certain currents, conductances, charges
2010-12-18 18:19:55 +01:00
and capacitances if they are requested by plotting and printing, e.g. @m1[gds]
2010-12-18 18:05:44 +01:00
2010-12-18 Holger Vogt
* rnorrexp.c, randnumb.c, 1-f-code.c, main.c,
fteext.h, 1-f-code.h,
isrcacct.c, isrcload.c, isrcpar.c,
vsrcacct.c, vsrcload.c, vsrcpar.c,
maths/misc/makefile.am,
2010-12-18 18:16:00 +01:00
visualc/vngspice.vcproj, vngspice.sln,
examples/transient-noise/rts-1.cir, README:
2010-12-18 18:05:44 +01:00
Random telegraph noise added to independent voltage and current sources
2010-12-17 Holger Vogt
* isrc.c, isrcacct.c, isrcload.c, isrcpar.c, isrcdefs.h:
transient noise in independent current source
2010-12-15 22:01:07 +01:00
2010-12-15 Dietmar Warning
* devices/bsim3soi/b4soild.c: fixed a double consideration of the multiplier m
for conductances gm, gds, gmbs
2010-12-13 23:15:19 +01:00
2010-12-13 Holger Vogt
* util.c: char* identifiers to remove warnings in MS Visual Studio
2010-12-12 Robert Larice
* src/frontend/miscvars.c ,
* src/frontend/trannoise/1-f-code.c ,
* src/include/1-f-code.h ,
* src/include/fftext.h ,
* src/spicelib/devices/vsrc/vsrcacct.c ,
* src/spicelib/devices/vsrc/vsrcdefs.h ,
* src/spicelib/devices/vsrc/vsrcload.c ,
* src/spicelib/devices/vsrc/vsrcpar.c :
rewrite TRNOISE, with the intention to separate the noise sequenze computation
from its use in the VSRC device.
2010-12-12 13:27:51 +01:00
2010-12-12 Holger Vogt
2010-12-13 23:15:19 +01:00
* vsrcacct.c: Patch von R. Larice for safe breakpoints
with TRNOISE
2010-12-11 Robert Larice
* src/include/bool.h :
Change bool from `unsigned char' to `int'
thats what it is supposed to be in `C' (less warnings, cleaner, etc ...)
The actual change was accidently injected in a commit from 2010-11-27
2010-12-11 Robert Larice
* src/frontend/inpcom.c :
support another non-equality '<>' token
2010-12-11 Robert Larice
* src/frontend/inpcom.c :
don't transform operators ('&|' -> '&&' '&' -> '&&' etc) pass them *literally*
2010-12-11 Holger Vogt
* inpcom.c: && and || in B source, bug no. 3127808
* src/makefile.am: trailing white spaces removed
2010-12-04 Robert Larice
* src/xspice/mif/mifdelete.c :
bug fix, segmentation fault caused by `reset' when xspice used
happened when MIFsetup hasn't been executed yet.
http://sourceforge.net/tracker/?func=detail&aid=3126116&group_id=38962&atid=423915
2010-11-28 10:59:40 +01:00
2010-11-28 Holger Vogt
* transient noise example added
2010-11-27 17:54:08 +01:00
2010-11-27 Holger Vogt
* transient noise simulation added to vsrc:
M configure.ac
A examples/transient-noise/noi-ring51-demo.cir
A examples/transient-noise/noi-sc-tr.cir
A examples/transient-noise/noilib-demo.h
A examples/transient-noise/shot_ng.cir
M src/Makefile.am
M src/main.c
M src/frontend/Makefile.am
M src/frontend/com_fft.c
M src/frontend/com_fft.h
M src/frontend/commands.c
A src/frontend/trannoise/1-f-code.c
A src/frontend/trannoise/1-f-code_d.c
A src/frontend/trannoise/FastNorm3.c
A src/frontend/trannoise/Makefile.am
A src/frontend/trannoise/wallace.c
A src/include/1-f-code.h
A src/include/FastNorm3.h
M src/include/bool.h
A src/include/fftext.h
M src/include/ngspice.h
A src/include/wallace.h
M src/maths/Makefile.am
A src/maths/fft/Makefile.am
A src/maths/fft/NOTE
A src/maths/fft/Read Me
A src/maths/fft/fftext.c
A src/maths/fft/fftext.h
A src/maths/fft/fftlib.c
A src/maths/fft/fftlib.h
A src/maths/fft/matlib.c
A src/maths/fft/matlib.h
M src/maths/misc/randnumb.c
M src/spicelib/devices/vsrc/vsrc.c
M src/spicelib/devices/vsrc/vsrcacct.c
M src/spicelib/devices/vsrc/vsrcask.c
M src/spicelib/devices/vsrc/vsrcdefs.h
M src/spicelib/devices/vsrc/vsrcload.c
M src/spicelib/devices/vsrc/vsrcpar.c
M visualc/vngspice.vcproj
2010-11-25 20:42:20 +01:00
2010-11-25 Robert Larice
* src/frontend/inpcom.c :
tiny fix, a boundary check
2010-11-25 20:39:09 +01:00
2010-11-25 Robert Larice
* src/xspice/icm/dlmain.c ,
* src/xspice/icm/makedefs.in :
drop -D CM_WINDOWS and -D CM_LINUX
2010-11-23 21:00:50 +01:00
2010-11-23 Robert Larice
* src/xspice/icm/xtraevt/int/udnfunc.c ,
* src/xspice/icm/xtraevt/real/udnfunc.c :
use NG_IGNORE() ...
2010-11-23 Robert Larice
* src/ciderlib/oned/oneprint.c ,
* src/ciderlib/support/globals.c ,
* src/ciderlib/support/mater.c ,
* src/ciderlib/twod/twoprint.c :
attract gcc's attention to some printf format strings (for type checking)
2010-11-23 20:26:00 +01:00
2010-11-23 Robert Larice
* src/frontend/inpcom.c ,
* src/frontend/plotting/grid.c :
swallow type conversion warnings
2010-11-23 Robert Larice
* src/xspice/ipc/ipcaegis.c :
fix an ancient bug (typo `!=' versus `=!')
2010-11-23 Robert Larice
* src/spicelib/analysis/cktsopt.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/devices/bjt/bjtparam.c ,
* src/spicelib/devices/bjt2/bjt2param.c ,
* src/spicelib/devices/bsim2/b2mpar.c ,
* src/spicelib/devices/dio/dioparam.c ,
* src/spicelib/devices/jfet/jfetpar.c ,
* src/spicelib/devices/jfet2/jfet2par.c ,
* src/spicelib/devices/mos1/mos1par.c ,
* src/spicelib/devices/mos2/mos2par.c ,
* src/spicelib/devices/mos3/mos3par.c ,
* src/spicelib/devices/mos6/mos6par.c ,
* src/spicelib/devices/mos9/mos9par.c ,
* src/spicelib/devices/soi3/soi3par.c ,
* src/spicelib/devices/vbic/vbicparam.c :
swallow type conversion warnings (assignment of int to unsigned:1 flags)
actually this fix changes the semantic from
true if and only if given number is odd
to
true if and only if given number != 0
2010-11-22 20:07:48 +01:00
2010-11-22 Robert Larice
* src/frontend/parse-bison.c ,
* src/spicelib/parser/inpptree-parser.c :
touch (timestamp) bison output files
to make sure bison won't be needed on a fresh CVS checkout
2010-11-22 19:54:46 +01:00
2010-11-22 Robert Larice
* src/xspice/icm/digital/d_source/cfunc.mod :
d_source, bug fix
The recently added d_source test-case
did reveal a bug in the implementation of d_source.
The test-case fails in the non-debug version of ngspice.
In src/xspice/icm/digital/d_source/cfunc.mod the following
floating point identity comparison won't match.
>> if ( TIME == test_double ) { /* Breakpoint reached */
This is, because test_double, though declared as double,
will be calculated in extended precision (80bit)
This phenomenon is well known, see for example
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323
This `bug workaround' fixes the problem
by declaring the `test_double' to be a `volatile' double,
2010-11-22 19:54:46 +01:00
which enforces truncation of the 80bit value,
when it is used in the comparison.
This fix will cause the test-case to pass.
Yet unfortunately DCtran() doesn't seem to process
time-Breakpoints with full 64bit precision
(search for AlmostEqualUlps())
which makes this whole business a very doubtful thing,
doomed to randomly fail <<<<----- !!!!!!!
2010-11-21 Robert Larice
* src/xspice/icm/digital/d_ram/cfunc.mod ,
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod :
d_source d_state d_ram, rewrite bit operations
2010-11-21 Robert Larice
* src/xspice/icm/digital/d_ram/cfunc.mod ,
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod :
d_source d_state d_ram, rewrite index operations
2010-11-21 Robert Larice
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod :
d_source d_state, change float --> double
2010-11-21 Robert Larice
* configure.ac ,
* tests/Makefile.am ,
* tests/xspice/.cvsignore ,
* tests/xspice/Makefile.am ,
* tests/xspice/digital/.cvsignore ,
* tests/xspice/digital/Makefile.am ,
* tests/xspice/digital/d_ram-stimulus.txt ,
* tests/xspice/digital/d_ram.cir ,
* tests/xspice/digital/d_ram.out ,
* tests/xspice/digital/d_source-stimulus.txt ,
* tests/xspice/digital/d_source.cir ,
* tests/xspice/digital/d_source.out ,
* tests/xspice/digital/d_state-stimulus.txt ,
* tests/xspice/digital/d_state-updn.txt ,
* tests/xspice/digital/d_state.cir ,
* tests/xspice/digital/d_state.out ,
* tests/xspice/digital/spinit.in :
d_source d_state d_ram, test cases for those xspice codemodels
2010-11-21 Holger Vogt
* vsracct.c, vsrcload.c: PULSE: next trial of
correct timing in case of phase != 0
2010-11-20 Holger Vogt
* vsracct.c: correct timing in case of phase != 0
2010-11-20 18:18:23 +01:00
2010-11-19 Robert Larice
* */** :
Nr 5/5 (x = ...) == NULL , swallow warnings
2010-11-19 Robert Larice
* */** :
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 Robert Larice
* */** :
Nr 3/5 (x = ...) != 0 , swallow warnings
2010-11-19 Robert Larice
* src/ngmultidec.c ,
* src/frontend/inpcom.c ,
* src/frontend/quote.c ,
* src/misc/string.c :
Nr 2/5 (x = ...) != '\0' , swallow warnings
2010-11-19 Robert Larice
* src/frontend/plotting/clip.c :
Nr 1/5 (x = ...) == 0 , swallow warnings
2010-11-16 21:38:24 +01:00
2010-11-16 Robert Larice
* src/**/* :
rename `IGNORE()' --> `NG_IGNORE()'
due to name collision on windows.
2010-11-16 Holger Vogt
2010-11-16 21:38:24 +01:00
* linear.c: prevent loop in case of vector not found
2010-11-16 Robert Larice
* src/Makefile.am :
fix another missing dependencies problem
handcraftet compilation rules caused this problem with main.c/spice.o
a `make distclean' might be appropriate after this CVS checkout
2010-11-16 20:31:33 +01:00
2010-11-16 Robert Larice
* configure.ac ,
* src/Makefile.am ,
* src/spicelib/devices/Makefile.am :
fix a missing dependencies problem
use AM_CONDITIONAL to configure program_LDADD variables
2010-11-16 20:18:09 +01:00
2010-11-16 Robert Larice
* src/tclspice.c ,
* src/include/tclspice.h :
local prototypes for "tclspice.c"
2010-11-16 20:14:53 +01:00
2010-11-16 Robert Larice
* src/frontend/parse-bison.c ,
* src/spicelib/parser/inpptree-parser.c :
regenerate bison output files
2010-11-16 20:13:20 +01:00
2010-11-16 Robert Larice
* src/frontend/parse-bison.y ,
* src/spicelib/parser/inpptree-parser.y ,
* src/xspice/xspice.c ,
* src/xspice/cm/cmexport.c :
convert macro `U()' to `IGNORE()'
2010-11-16 20:11:32 +01:00
2010-11-16 Robert Larice
* src/**/* :
pour `IGNORE()' all over the source
2010-11-16 Robert Larice
* src/include/ngspice.h :
introduce macro `IGNORE(x)', which shall used to mark unused parameters
for better visibility in the source code
and to swallow compiler warnings
2010-11-14 12:56:52 +01:00
2010-11-14 Holger Vogt
* inpcom.c: bug no. 3072940
2010-11-16 20:31:33 +01:00
http://sourceforge.net/tracker/?func=detail&aid=3072940&group_id=38962&atid=423915
2010-11-14 12:56:52 +01:00
2010-11-13 Dietmar Warning
* analysis/dctran.c, devices/*/*load.c: hide obsolete labels and local variables
for configuring --enable-nobypass and --enable-predictor
2010-11-06 Robert Larice
* src/frontend/inpcom.c :
2010-11-14 12:56:52 +01:00
Thank you <20>ric Larouche, for the report and fix of a bug concerning
the number of terminals of the current-controlled switch device
(`w' device) (committed at 2007-10-08)
2010-11-06 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/numparam.h :
ci_prefix() returns a `bool', and change struct element `ivl' type to `int'
2010-11-06 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c :
remove some unused functions from the numparam world
2010-11-06 Robert Larice
* src/frontend/postcoms.c ,
* src/frontend/plotting/agraf.c ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/grid.c ,
* src/misc/dstring.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inpgmod.c :
add `int' casts to some strlen() expressions, and center labels on a xlog scale
2010-11-06 21:14:21 +01:00
2010-11-06 Robert Larice
* src/frontend/outitf.c ,
* src/frontend/plotting/grid.c ,
* src/misc/string.c ,
* src/spicelib/devices/cktcrte.c :
add some `int' and `size_t' casts
2010-11-06 Robert Larice
* src/frontend/measure.c ,
* src/frontend/outitf.c ,
* src/frontend/quote.c ,
* src/frontend/help/readhelp.c ,
* src/misc/util.c ,
* src/misc/wlist.c ,
* src/spicelib/devices/nbjt/nbjtset.c ,
* src/spicelib/devices/nbjt2/nbt2set.c ,
* src/spicelib/devices/numd/numdset.c ,
* src/spicelib/devices/numd2/nud2set.c ,
* src/spicelib/devices/numos/nummset.c ,
* src/xspice/cmpp/ifs_yacc.y ,
* src/xspice/enh/enhtrans.c ,
* src/xspice/evt/evtload.c ,
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod :
change the type of a bunch of variables from `int' to `size_t'
2010-11-06 Robert Larice
* src/frontend/plotting/plotit.c :
tiny rewrite, avoid type conversion warnings
2010-11-06 19:06:45 +01:00
2010-11-06 Dietmar Warning
* analysis/dctran.c: use ceil function for correct round up
2010-11-06 18:53:53 +01:00
2010-11-06 Robert Larice
* src/spicelib/devices/ndev/ndevdump.c :
drop some unused static variables
2010-11-06 Robert Larice
* src/frontend/inpcom.c :
tiny rewrite, make use of copy_substring()
2010-11-06 18:43:52 +01:00
2010-11-06 Robert Larice
* src/frontend/diff.c :
tiny rewrite, make use of cieq()
2010-11-06 Robert Larice
* src/frontend/parse.c ,
* src/frontend/typesdef.c ,
* src/frontend/vectors.c ,
* src/frontend/numparam/spicenum.c ,
* src/spicelib/parser/inpptree.c ,
* src/xspice/evt/evtplot.c ,
* src/xspice/ipc/ipc.c :
tiny rewrite, make use of strtolower() and strtoupper()
2010-11-06 18:29:28 +01:00
2010-11-06 Robert Larice
* src/frontend/parser/input.c :
tiny rewrite, type fixes
2010-11-06 18:24:34 +01:00
2010-11-06 Robert Larice
* src/frontend/inpcom.c :
drop a redundant check
2010-11-06 Robert Larice
* src/spicelib/parser/inp2dot.c ,
* src/spicelib/parser/inppas3.c :
tiny rewrite, don't invoke strlen() to check for strlen() == 1
2010-11-06 Robert Larice
* src/xspice/idn/idndig.c :
change a (int) cast application, to avoid type conversion warnings
2010-11-06 Robert Larice
* src/frontend/help/readhelp.c :
tiny rewrite, to avoid type conversion warnings
2010-11-06 Robert Larice
* src/frontend/parser/lexical.c :
minor rewrite, a local variable type change
2010-11-06 Robert Larice
* src/frontend/evaluate.c :
tiny rewrite to avoid "variable ... might be clobbered by 'longjmp'" warnings
2010-11-06 Robert Larice
* src/frontend/plotting/agraf.c ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/grid.c ,
* src/misc/dstring.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inpgmod.c :
(int) cast the return value of some strlen() invocations
2010-11-06 Robert Larice
* src/frontend/subckt.c ,
* src/spicelib/parser/inppas2.c :
minor rewrite, avoid type conversion warnings
2010-11-06 Robert Larice
* src/spicelib/devices/bsim1/b1.c ,
* src/spicelib/devices/bsim1/b1dset.c ,
* src/spicelib/devices/bsim1/b1eval.c ,
* src/spicelib/devices/bsim1/b1mpar.c ,
* src/spicelib/devices/bsim1/bsim1def.h :
change the bsim1 `xpart' model parameter from IF_REAL to IF_FLAG
which has been used internaly as boolean anyway.
2010-11-06 Robert Larice
* src/spicelib/devices/nbjt/nbjt.c ,
* src/spicelib/devices/nbjt/nbjtparm.c ,
* src/spicelib/devices/nbjt2/nbt2.c ,
* src/spicelib/devices/nbjt2/nbt2parm.c ,
* src/spicelib/devices/numd/numd.c ,
* src/spicelib/devices/numd/numdparm.c ,
* src/spicelib/devices/numd2/nud2.c ,
* src/spicelib/devices/numd2/nud2parm.c ,
* src/spicelib/devices/numos/numm.c ,
* src/spicelib/devices/numos/nummparm.c ,
* src/spicelib/devices/urc/urc.c ,
* src/spicelib/devices/urc/urcparam.c :
change some model parameters from IF_REAL to IF_INTEGER
which have been internaly integers anyway.
(model parameters `save' `print' and urc `n'==`number of lumps')
2010-11-06 14:23:25 +01:00
2010-11-06 Dietmar Warning
* configure.ac, visualc/include/config.h, frontend/miscoms.c, mos1-9/*.c
* remove two really ancient configuration options:
* NOSQRT: Nobody want use log/exp instead of sqrt
* CAPZEROBYPASS: Nobody want calculate 0.0 * x
2010-11-06 14:30:44 +01:00
* analysis/dctran.c: limit the order to 1 if backward Euler is enabled
2010-11-06 14:23:25 +01:00
2010-11-04 Robert Larice
* src/misc/string.c ,
* src/misc/stringutil.h :
minor modification of strtolower(), and implement strtoupper()
2010-11-04 Robert Larice
* src/frontend/plotting/x11.c :
minor rewrite, fix a minor bug in the x11 zoom-in function
the rectangle was not always drawn correct,
when draging the mouse in all directions.
2010-11-04 Robert Larice
* src/frontend/help/x11disp.c ,
* src/frontend/plotting/x11.c :
add casts for x11 operations, to silence type conversion warnings
2010-11-04 Robert Larice
* src/frontend/plotting/x11.c ,
* src/include/graph.h :
move device dependent colors[] array from `graph' to the x11 specific struct
2010-11-04 20:28:00 +01:00
2010-11-04 Robert Larice
* src/frontend/com_compose.c ,
* src/frontend/postcoms.c ,
* src/misc/util.c :
minor rewrites
in postcoms.c, drop an overwritten |= VF_PERMANENT assignment
2010-11-04 Robert Larice
* src/main.c ,
* src/ngsconvert.c ,
* src/frontend/aspice.c ,
* src/frontend/inp.c ,
* src/frontend/nutinp.c :
use `size_t' variables for fread/fwrite operations
2010-11-02 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/numparam.h ,
* src/frontend/numparam/spicenum.c ,
* src/frontend/numparam/xpressn.c :
use the type `bool' instead of `unsigned char' in the numparam world
bool currently is `unsigned char', plan to change to `int' for better
type comaptibility with `C' boolean expressions
2010-11-02 Robert Larice
* src/frontend/inpcom.c ,
* src/frontend/parser/lexical.c ,
* src/frontend/quote.c ,
* src/frontend/subckt.c ,
* src/main.c ,
* src/spicelib/parser/inpcfix.c ,
* src/xspice/cmpp/pp_lst.c ,
* src/xspice/cmpp/util.c ,
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod ,
* src/xspice/ipc/ipctiein.c :
casts, to make int <-> char conversions explicit
2010-11-02 Robert Larice
* src/frontend/display.c ,
* src/frontend/numparam/mystring.c :
add some more `int' versus `size_t' casts
2010-11-02 18:25:32 +01:00
2010-11-02 Robert Larice
* src/frontend/outitf.c ,
* src/spicelib/parser/inp2r.c :
minor beautification
2010-11-02 Robert Larice
* src/ciderlib/input/cards.c ,
* src/frontend/cpitf.c ,
* src/frontend/dotcards.c ,
* src/frontend/plotting/grid.c ,
* src/ngspice.c ,
* src/spicelib/analysis/acsetp.c ,
* src/spicelib/analysis/analysis.c ,
* src/spicelib/analysis/cktsopt.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/dev.c ,
* src/spicelib/parser/inpptree.c ,
* src/unsupported/sen2setp.c :
use `NUMELEMS' and add some `(int)' casts
2010-11-02 18:21:49 +01:00
2010-11-02 Robert Larice
* src/xspice/icm/dlmain.c :
local prototypes in `dlmain.c'
2010-11-02 Robert Larice
* src/frontend/arg.c ,
* src/misc/misc_time.c ,
* src/spicelib/parser/inpmktmp.c :
convert some variables, from `int' to `size_t'
2010-11-02 Robert Larice
* src/frontend/com_history.c ,
* src/frontend/com_measure2.c ,
* src/frontend/fourier.c ,
* src/frontend/numparam/xpressn.c ,
* src/frontend/parser/backq.c ,
* src/frontend/parser/complete.c ,
* src/frontend/plotting/x11.c ,
* src/frontend/subckt.c ,
* src/frontend/variable.c ,
* src/xspice/cmpp/mod_yacc.y ,
* src/xspice/cmpp/pp_lst.c ,
* src/xspice/cmpp/pp_mod.c ,
* src/xspice/cmpp/writ_ifs.c ,
* src/xspice/evt/evtdump.c ,
* src/xspice/evt/evtplot.c ,
* src/xspice/ipc/ipc.c ,
* src/xspice/ipc/ipctiein.c :
(int) casts for some `strlen()' expressions
2010-11-02 Robert Larice
* src/xspice/icm/digital/adc_bridge/cfunc.mod ,
* src/xspice/icm/digital/d_ram/cfunc.mod ,
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/dac_bridge/cfunc.mod :
(int) casts for cm_event_alloc and cm_analog_alloc
2010-11-02 Robert Larice
* src/ciderlib/oned/oneprint.c ,
* src/ciderlib/support/database.c ,
* src/ciderlib/twod/twoprint.c ,
* src/frontend/com_ahelp.c ,
* src/frontend/com_display.c ,
* src/frontend/com_help.c ,
* src/frontend/com_let.c ,
* src/frontend/define.c ,
* src/frontend/device.c ,
* src/frontend/help/readhelp.c ,
* src/frontend/outitf.c ,
* src/frontend/plotting/plotcurv.c ,
* src/frontend/subckt.c ,
* src/frontend/terminal.c ,
* src/frontend/variable.c ,
* src/frontend/vectors.c ,
* src/maths/poly/interpolate.c ,
* src/maths/poly/polyfit.c ,
* src/spicelib/analysis/dctran.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/devices/cpl/cplsetup.c ,
* src/spicelib/devices/ndev/ndevset.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inpgstr.c ,
* src/spicelib/parser/inpgtok.c ,
* src/spicelib/parser/inpptree.c ,
* src/xspice/cmpp/ifs_yacc.y ,
* src/xspice/cmpp/pp_lst.c ,
* src/xspice/cmpp/writ_ifs.c ,
* src/xspice/icm/analog/oneshot/cfunc.mod ,
* src/xspice/icm/analog/pwl/cfunc.mod ,
* src/xspice/icm/analog/s_xfer/cfunc.mod ,
* src/xspice/icm/analog/sine/cfunc.mod ,
* src/xspice/icm/analog/square/cfunc.mod ,
* src/xspice/icm/analog/triangle/cfunc.mod ,
* src/xspice/icm/digital/d_osc/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod ,
* src/xspice/icm/spice2poly/icm_spice2poly/cfunc.mod ,
* src/xspice/icm/xtradev/core/cfunc.mod ,
* src/xspice/ipc/ipc.c :
casts, to make int <-> size_t conversions explicit
2010-11-01 16:50:19 +01:00
2010-11-01 Holger Vogt
* compile_min.sh: exit upon make errors
2010-10-31 20:36:57 +01:00
2010-10-31 Robert Larice
* src/include/memory.h ,
* src/maths/sparse/spdefs.h ,
* src/xspice/icm/xtraevt/int/udnfunc.c ,
* src/xspice/icm/xtraevt/real/udnfunc.c :
cleanup TMALLOC etc macros
2010-10-31 20:03:04 +01:00
2010-10-31 Holger Vogt
* compile_min.sh: exit upon autogen or configure error
2010-10-31 18:44:03 +01:00
2010-10-31 Dietmar Warning
* src/spicelib/analysis/cktsetup.c, cktsopt.c: Allow maxord=1 w/o crash for
experimenting with backward Euler, works so far - but other timestep control
then LTE is needed in dctran.c
* src/spicelib/analysis/dctran.c: only indentation for better readability
2010-10-28 Robert Larice
* src/**/* :
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
add casts to those macros to silence type conversion warnings
2010-10-28 Robert Larice
* src/frontend/commands.c ,
* src/frontend/control.c :
bug fix, incorrect handling of `co_spiceonly' commands
http://sourceforge.net/tracker/?func=detail&aid=3092998&group_id=38962&atid=423915
2010-10-27 Robert Larice
* src/frontend/device.c :
bug fix, const data space was used, instead of malloced area
2010-10-27 Robert Larice
* src/spicelib/devices/asrc/asrcset.c ,
* src/xspice/mif/mifgetvalue.c :
realloc does work, even with NULL argument
2010-10-27 18:36:34 +02:00
2010-10-27 Robert Larice
* src/spicelib/devices/bsim3soi/b4soitemp.c :
use tmalloc instead of malloc
2010-10-27 Robert Larice
* src/spicelib/analysis/cktmcrt.c ,
* src/spicelib/analysis/cktnewan.c ,
* src/xspice/cm/cmevt.c ,
* src/xspice/evt/evtload.c :
use tmalloc and trealloc instead of MALLOC and REALLOC
2010-10-27 Robert Larice
* src/spicelib/analysis/distoan.c :
bug fix ?, this fix is a mere guesswork, FIXME
2010-10-27 18:27:41 +02:00
2010-10-27 Robert Larice
* src/spicelib/devices/ltra/ltraask.c ,
* src/spicelib/devices/tra/traask.c :
bug fix, malloced space too small
2010-10-25 12:45:55 +02:00
2010-10-25 Holger Vogt
* src/frontend/inpcom.c: add guards if strstr returns NULL
2010-10-27 18:27:41 +02:00
2010-10-24 15:32:17 +02:00
2010-10-24 Robert Larice
* src/frontend/inpcom.c ,
* src/frontend/subckt.c :
trealloc usage unification
2010-10-24 Robert Larice
* src/spicelib/devices/ltra/ltramisc.c :
MALLOC usage unification, (in comments)
2010-10-24 Robert Larice
* src/frontend/com_compose.c ,
* src/frontend/plotting/plotcurv.c ,
* src/maths/poly/interpolate.c :
tmalloc usage unification, parenthesize some terms
2010-10-24 Robert Larice
* src/spicelib/devices/asrc/asrcset.c ,
* src/xspice/mif/mif_inp2.c :
RALLOC usage unification, drop braces around the second argument
2010-10-24 15:19:29 +02:00
2010-10-24 Robert Larice
* src/spicelib/devices/ndev/ndevset.c :
use char* instead of void*
2010-10-24 Robert Larice
* src/frontend/hpgl.c ,
* src/frontend/plotting/plot5.c ,
* src/frontend/plotting/x11.c ,
* src/frontend/postsc.c ,
* src/frontend/wdisp/windisp.c ,
* src/frontend/wdisp/winprint.c ,
* src/include/graph.h ,
* src/tclspice.c :
struct member devdep, use void* instead of char*
2010-10-24 Robert Larice
* src/frontend/help/readhelp.c ,
* src/ngmultidec.c ,
* src/tclspice.c :
tmalloc usage, drop explicit (unsigned) cast
later to be reinstated in a tmalloc wrapper macro
2010-10-24 15:06:23 +02:00
2010-10-24 Robert Larice
* src/frontend/com_display.c ,
* src/frontend/device.c ,
* src/frontend/help/x11disp.c :
tmalloc usage, minor usage unification
2010-10-24 14:59:20 +02:00
2010-10-24 Robert Larice
* src/frontend/com_sysinfo.c ,
* src/frontend/plotting/graf.c ,
* src/misc/util.c ,
* src/spicelib/devices/cpl/cplsetup.c ,
* src/spicelib/devices/soi3/soi3ask.c ,
* src/spicelib/devices/txl/txlsetup.c ,
* src/tclspice.c ,
* src/xspice/evt/evtinit.c ,
* src/xspice/evt/evtload.c ,
* src/xspice/icm/xtraevt/int/udnfunc.c ,
* src/xspice/icm/xtraevt/real/udnfunc.c ,
* src/xspice/idn/idndig.c :
cast the tmalloc, MALLOC, return value
2010-10-24 Robert Larice
* src/misc/wlist.c ,
* src/spicelib/devices/bsim3/b3set.c ,
* src/spicelib/devices/bsim3soi/b4soiset.c ,
* src/spicelib/devices/bsim4/b4set.c :
fix incorrect usage of tmalloc/sizeof, incorrect indirection level
2010-10-24 Robert Larice
* src/frontend/com_ahelp.c ,
* src/frontend/com_display.c ,
* src/frontend/com_help.c ,
* src/frontend/help/readhelp.c ,
* src/frontend/variable.c ,
* src/frontend/vectors.c ,
* src/misc/wlist.c :
qsort() usage, drop cast of the first argument (which is a void *)
2010-10-24 Robert Larice
* src/maths/sparse/spalloc.c ,
* src/maths/sparse/spbuild.c ,
* src/maths/sparse/spdefs.h ,
* src/maths/sparse/spfactor.c ,
* src/maths/sparse/spoutput.c ,
* src/maths/sparse/sputils.c :
rename ALLOC, REALLOC, CALLOC, FREE, in the "src/maths/sparse" domain
-> SP_MALLOC, SP_REALLOC, SP_CALLOC, SP_FREE
2010-10-24 14:47:48 +02:00
2010-10-24 Robert Larice
* src/include/complex.h :
ngcomplex_t instead of complex, #2/2
rename the structure as well
2010-10-24 14:45:05 +02:00
2010-10-24 Robert Larice
* src/frontend/com_compose.c ,
* src/frontend/com_fft.c ,
* src/frontend/com_let.c ,
* src/frontend/define.c ,
* src/frontend/diff.c ,
* src/frontend/evaluate.c ,
* src/frontend/outitf.c ,
* src/frontend/plotting/plotit.c ,
* src/frontend/postcoms.c ,
* src/frontend/rawfile.c ,
* src/frontend/spec.c ,
* src/frontend/vectors.c ,
* src/include/complex.h ,
* src/include/dvec.h ,
* src/maths/cmaths/cmath.h ,
* 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/ngsconvert.c :
ngcomplex_t instead of complex, #1/2
purpose: avoid name collision
2010-10-17 18:04:34 +02:00
2010-10-17 Holger Vogt
* main.c: add mktemp.h
2010-10-17 00:40:20 +02:00
2010-10-16 Holger Vogt
* windisp.h, windisp.c: prototypes
2010-10-16 Robert Larice
* configure.ac :
stronger warning levels, redeclarations, missing prototypes, k&r style ...
2010-10-16 19:09:46 +02:00
2010-10-16 Robert Larice
* src/main.c ,
* src/frontend/Makefile.am ,
* src/frontend/breakp.c ,
* src/frontend/com_ahelp.c ,
* src/frontend/com_measure2.c ,
* src/frontend/com_option.c ,
* src/frontend/com_sysinfo.c ,
* src/frontend/commands.c ,
* src/frontend/cpitf.c ,
* src/frontend/device.c ,
* src/frontend/device.h ,
* src/frontend/dotcards.c ,
* src/frontend/inp.c ,
* src/frontend/measure.c ,
* src/frontend/misccoms.h ,
* src/frontend/postcoms.c ,
* src/frontend/postcoms.h ,
* src/frontend/runcoms.c ,
* src/frontend/plotting/x11.c ,
* src/include/cpextern.h ,
* src/include/fteext.h ,
* visualc/vngspice.vcproj ,
New include File:
* src/frontend/com_commands.h :
move the com_*() prototypes around.
2010-10-16 Robert Larice
* src/include/devdefs.h :
unconditional visibility of the cider prototypes limit*()
2010-10-16 17:59:37 +02:00
2010-10-16 Robert Larice
* src/frontend/rawfile.c :
remove unused variables
2010-10-16 Robert Larice
* src/frontend/aspice.h ,
* src/frontend/breakp.h ,
* src/frontend/breakp2.h ,
* src/frontend/circuits.h ,
* src/frontend/com_alias.h ,
* src/frontend/com_history.h ,
* src/frontend/control.h ,
* src/frontend/cpitf.h ,
* src/frontend/define.h ,
* src/frontend/dotcards.h ,
* src/frontend/error.h ,
* src/frontend/evaluate.h ,
* src/frontend/gens.h ,
* src/frontend/inp.h ,
* src/frontend/inpcom.h ,
* src/frontend/interp.h ,
* src/frontend/nutinp.h ,
* src/frontend/nutmegif.h ,
* src/frontend/options.h ,
* src/frontend/parse.h ,
* src/frontend/parser/backq.h ,
* src/frontend/parser/complete.h ,
* src/frontend/parser/cshpar.h ,
* src/frontend/parser/glob.h ,
* src/frontend/parser/input.h ,
* src/frontend/parser/lexical.h ,
* src/frontend/parser/numparse.h ,
* src/frontend/parser/unixcom.h ,
* src/frontend/plotting/clip.h ,
* src/frontend/plotting/plotcurv.h ,
* src/frontend/plotting/plotting.h ,
* src/frontend/points.h ,
* src/frontend/quote.h ,
* src/frontend/rawfile.h ,
* src/frontend/resource.h ,
* src/frontend/runcoms.h ,
* src/frontend/shyu.h ,
* src/frontend/spiceif.h ,
* src/frontend/terminal.h ,
* src/frontend/typesdef.h ,
* src/frontend/variable.h ,
* src/frontend/vectors.h ,
* src/include/cpextern.h ,
* src/include/cpstd.h ,
* src/include/fteext.h ,
* src/include/hlpdefs.h ,
* src/include/opdefs.h ,
* src/include/tfdefs.h ,
* src/include/trandefs.h ,
* src/maths/ni/niaciter.h ,
* src/maths/ni/nicomcof.h ,
* src/maths/ni/niconv.h ,
* src/maths/ni/nidest.h ,
* src/maths/ni/niditer.h ,
* src/maths/ni/niinit.h ,
* src/maths/ni/niinteg.h ,
* src/maths/ni/niiter.h ,
* src/maths/ni/niniter.h ,
* src/maths/ni/nipzmeth.h ,
* src/maths/ni/nireinit.h ,
* src/maths/ni/nisenre.h ,
* src/spicelib/devices/bjt/bjtdset.h ,
* src/spicelib/devices/bjt2/bjt2dset.h ,
* src/spicelib/devices/cktaccept.h ,
* src/spicelib/parser/inppas1.h ,
* src/spicelib/parser/inppas2.h ,
* src/spicelib/parser/inppas3.h :
remove prototypes, avoid redeclarations
2010-10-16 Robert Larice
* src/frontend/inp.c ,
* src/frontend/nutinp.c ,
* src/include/fteext.h :
collect inp_deckcopy() inp_subcktexpand() in "subckt.h"
2010-10-16 17:54:51 +02:00
2010-10-16 Robert Larice
* src/frontend/commands.c ,
* src/include/fteext.h :
collect arg_*() prototypes in "arg.h"
2010-10-16 17:53:33 +02:00
2010-10-16 Robert Larice
* src/frontend/vectors.h :
collect vec_get() in "fteext.h"
2010-10-16 17:52:19 +02:00
2010-10-16 Robert Larice
* src/frontend/com_setscale.c ,
* src/frontend/plotting/plotting.h :
collect plot_cur in "fteext.h"
2010-10-16 Robert Larice
* src/frontend/com_dump.c ,
* src/frontend/inp.c ,
* src/frontend/mw_coms.c ,
* src/frontend/options.c ,
* src/frontend/runcoms.c ,
* src/frontend/runcoms2.c ,
* src/include/fteext.h ,
* src/main.c :
collect if_inpdeck() if_run() if_cktfree() if_dump() if_option() in "spiceif.h"
2010-10-16 Robert Larice
* src/frontend/misccoms.c ,
* src/frontend/plotting/plotcurv.c ,
* src/frontend/signal_handler.c ,
* src/include/fteext.h :
collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h"
2010-10-16 17:47:16 +02:00
2010-10-16 Robert Larice
* src/frontend/hcomp.c ,
* src/frontend/misccoms.c ,
* src/include/fteext.h :
collect hcomp() in "hcomp.h"
2010-10-16 17:45:53 +02:00
2010-10-16 Robert Larice
* src/frontend/error.h ,
* src/frontend/hpgl.c ,
* src/frontend/plotting/plot5.c ,
* src/frontend/postsc.c :
collect internalerror() in "fteext.h"
2010-10-16 17:44:23 +02:00
2010-10-16 Robert Larice
* src/frontend/com_help.c ,
* src/include/cpextern.h :
collect ft_nutmeg() in "fteext.h"
2010-10-16 Robert Larice
* src/ciderlib/oned/oneadmit.c ,
* src/ciderlib/oned/onesolve.c :
remove local prototypes, which are already included
2010-10-16 Robert Larice
* src/include/ngspice.h :
remove prototypes, avoid redeclarations
2010-10-16 14:06:29 +02:00
2010-10-16 Holger Vogt
2010-10-16 14:05:09 +02:00
* examples/control_structs/s-param.cir new example
* commands.c, postcoms.h, postcoms.c, rawfile.h, rawfile.c
fteext.h: new command wrs2p, write a s-parameter file
2010-10-16 14:05:09 +02:00
using Touchstone vers. 1 format.
* device.c: Improved error message "no graphics interface ...
2010-10-16 14:05:09 +02:00
2010-10-15 23:04:44 +02:00
2010-10-15 Holger Vogt
* src/ciderlib/input/output.c : #include "../misc/tilde.h"
* inpcom.c: line 2800ff, allow -.5 token
2010-10-15 Robert Larice
* src/include/ngspice.h ,
* src/main.c ,
* src/maths/misc/accuracy.c ,
* src/maths/misc/accuracy.h :
collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc'
2010-10-15 Robert Larice
* src/xspice/cmpp/pp_mod.c :
cmpp shall add a function prototype to the generated "cfunc.c" file
2010-10-15 Robert Larice
* src/ngnutmeg.c :
visibility for the NDEVacct() prototype
2010-10-15 Robert Larice
* src/ngsconvert.c :
remove obsolete artifact XtDispatchEvent() (dummy implementation)
2010-10-15 Robert Larice
* src/ciderlib/support/devprint.c :
visibility for the printVoltages() prototype
2010-10-15 20:53:58 +02:00
2010-10-15 Robert Larice
* src/xspice/cmpp/ifs_lex.l :
disable dangling artifact
2010-10-15 20:52:37 +02:00
2010-10-15 Robert Larice
* src/spicelib/devices/dev.c :
add local prototype for add_device()
2010-10-15 Robert Larice
* src/xspice/cmpp/ifs_lex.l ,
* src/xspice/cmpp/ifs_yacc.y ,
* src/xspice/cmpp/ifs_yacc_y.h ,
* src/xspice/cmpp/read_ifs.c :
collect prototype for ifs_yyerror() in "ifs_yacc_y.h", and fix return type
2010-10-15 Robert Larice
* src/xspice/cmpp/mod_lex.l ,
* src/xspice/cmpp/mod_yacc.y ,
* src/xspice/cmpp/mod_yacc_y.h ,
* src/xspice/cmpp/pp_mod.c :
collect prototype for mod_yyerror() in "mod_yacc_y.h", and fix return type
2010-10-15 20:45:50 +02:00
2010-10-15 Robert Larice
* src/ciderlib/input/output.c :
visibility for tildexpand() prototyp
2010-10-15 20:43:52 +02:00
2010-10-15 Robert Larice
* src/frontend/com_measure2.c ,
* src/frontend/com_sysinfo.c ,
* src/frontend/control.c ,
* src/frontend/plotting/x11.c ,
* src/frontend/subckt.c ,
* src/maths/cmaths/cmath2.c ,
* src/spicelib/analysis/cktsens.c ,
* src/spicelib/analysis/distoan.c ,
* src/spicelib/analysis/dloadfns.c ,
* src/spicelib/devices/bsim3/b3noi.c ,
* src/spicelib/devices/bsim3soi/b4soild.c ,
* src/spicelib/devices/bsim3soi/b4soinoi.c ,
* src/spicelib/devices/bsim3soi_dd/b3soiddld.c ,
* src/spicelib/devices/bsim3soi_dd/b3soiddnoi.c ,
* src/spicelib/devices/bsim3soi_fd/b3soifdld.c ,
* src/spicelib/devices/bsim3soi_fd/b3soifdnoi.c ,
* src/spicelib/devices/bsim3soi_pd/b3soipdld.c ,
* src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c ,
* src/spicelib/devices/bsim3v0/b3v0noi.c ,
* src/spicelib/devices/bsim3v1/b3v1noi.c ,
* src/spicelib/devices/bsim3v1a/b3v1anoi.c ,
* src/spicelib/devices/bsim3v1s/b3v1snoi.c ,
* src/spicelib/devices/bsim3v32/b3v32noi.c ,
* src/spicelib/devices/bsim4/b4geo.c ,
* src/spicelib/devices/bsim4/b4noi.c ,
* src/spicelib/devices/bsim4/b4temp.c ,
* src/spicelib/devices/bsim4v2/b4v2geo.c ,
* src/spicelib/devices/bsim4v2/b4v2noi.c ,
* src/spicelib/devices/bsim4v2/b4v2temp.c ,
* src/spicelib/devices/bsim4v3/b4v3geo.c ,
* src/spicelib/devices/bsim4v3/b4v3temp.c ,
* src/spicelib/devices/bsim4v4/b4v4geo.c ,
* src/spicelib/devices/bsim4v4/b4v4temp.c ,
* src/spicelib/devices/bsim4v5/b4v5geo.c ,
* src/spicelib/devices/bsim4v5/b4v5temp.c ,
* src/spicelib/devices/ltra/ltramisc.c :
declare some functions `static'
2010-10-15 Robert Larice
* src/include/cmproto.h :
add prototypes for some functions --> "cmproto.h"
cm_stream_out() cm_stream_in(v) cm_stream_err()
malloc_pj() calloc_pj() realloc_pj() free_pj()
2010-10-15 Robert Larice
* src/xspice/icm/xtraevt/int/udnfunc.c ,
* src/xspice/icm/xtraevt/real/udnfunc.c :
declare udn_int_ and udn_real_functions `static'
2010-10-15 Robert Larice
* src/include/ngspice.h ,
* src/main.c ,
* src/misc/misc_time.h :
collect extern timebegin in "misc_time.h"
2010-10-15 Robert Larice
* src/ciderlib/support/globals.c ,
* src/ciderlib/support/mater.c ,
* src/frontend/numparam/spicenum.c ,
* src/frontend/options.c ,
* src/frontend/plotting/graf.c ,
* src/maths/misc/randnumb.c ,
* src/maths/ni/niniter.c ,
* src/spicelib/analysis/cktdltn.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/devices/nbjt/nbjttemp.c ,
* src/spicelib/devices/nbjt2/nbt2acld.c ,
* src/spicelib/devices/nbjt2/nbt2load.c ,
* src/spicelib/devices/nbjt2/nbt2pzld.c ,
* src/spicelib/devices/numd2/nud2acld.c ,
* src/spicelib/devices/numd2/nud2load.c ,
* src/spicelib/devices/numd2/nud2pzld.c ,
* src/spicelib/devices/numos/nummacld.c ,
* src/spicelib/devices/numos/nummload.c ,
* src/spicelib/devices/numos/nummpzld.c ,
* src/xspice/ipc/ipc.c :
remove local prototypes, which are allready included
2010-10-15 20:29:10 +02:00
2010-10-15 Robert Larice
* src/ciderlib/support/database.c ,
* src/ciderlib/support/geominfo.c ,
* src/ciderlib/support/globals.c ,
* src/ciderlib/support/integset.c ,
* src/ciderlib/support/integuse.c ,
* src/ciderlib/support/logfile.c ,
* src/ciderlib/support/mater.c ,
* src/ciderlib/support/misc.c ,
* src/ciderlib/support/mobil.c ,
* src/ciderlib/support/recomb.c ,
* src/ciderlib/support/suprmitf.c :
prototypes, make use of "cidersupt.h"
2010-10-15 Robert Larice
* src/tclspice.c :
collect extern JMP_BUF jbuf in "frontend/signal_handler.h"
2010-10-15 20:25:30 +02:00
2010-10-15 Robert Larice
* src/include/fteext.h :
avoid redeclaration, signalhandler
2010-10-15 Robert Larice
* src/frontend/com_fft.c ,
* src/frontend/com_fft.h :
remove static fftext() from "com_fft.h"
2010-10-15 20:22:39 +02:00
2010-10-15 Robert Larice
* src/frontend/com_fft.c ,
* src/frontend/com_fft.h ,
* src/frontend/spec.c ,
* src/frontend/spec.h :
collect free_pnode_o() in "parse.h"
2010-10-15 Robert Larice
* src/frontend/plotting/graphdb.c ,
* src/frontend/plotting/graphdb.h ,
* src/frontend/postcoms.c ,
* src/frontend/wdisp/windisp.c ,
* src/include/ftedbgra.h :
collect NewGraph() FindGraph() CopyGraph() RemoveWindow() in "ftedbgra.h"
2010-10-15 Robert Larice
* src/frontend/com_fft.c ,
* src/frontend/outitf.c ,
* src/frontend/rawfile.c ,
* src/frontend/spec.c ,
* src/frontend/vectors.c ,
* src/include/ngspice.h ,
* src/tclspice.c :
collect datestring() and seconds() in "misc_time.h"
2010-10-15 20:11:11 +02:00
2010-10-15 Robert Larice
* src/frontend/aspice.c ,
* src/frontend/com_gnuplot.c ,
* src/frontend/com_hardcopy.c ,
* src/frontend/com_xgraph.c ,
* src/frontend/inp.c ,
* src/frontend/nutinp.c ,
* src/include/ngspice.h ,
* src/ngsconvert.c :
collect smktemp() in "mktemp.h"
2010-10-14 11:18:48 +02:00
2010-10-13 Dietmar Warning
2010-10-15 20:11:11 +02:00
* src/frontend/com_option.c: better formatting the output and
2010-10-14 11:18:48 +02:00
add some useful parameters if command 'option' is given
* src/include/cktdefs.h,
* src/spicelib/analysis/cktdojob.c, cktntask.c,
* src/spicelib/devices/cktinit.c,
* src/spicelib/parser/inppas2.c:
Reduction of trtol to 1 only if 'A' devices in the circuit and xspice is enabled
2010-10-09 Robert Larice
* src/include/complex.h :
!REVERT! remove typedef for _complex, which is used nowhere
this breaks MSVC, currently unkown why, FIXME
2010-10-09 16:38:43 +02:00
2010-10-09 Robert Larice
* src/frontend/parse-bison.c ,
* src/frontend/parse-bison.h ,
* src/spicelib/parser/inpptree-parser.c ,
* src/spicelib/parser/inpptree-parser.h :
update the bison generated files
2010-10-09 Robert Larice
* src/frontend/parse-bison.y ,
* src/spicelib/parser/inpptree-parser.y :
avoid function redeclaration, PPparse() and PTparse()
2010-10-09 Robert Larice
* src/frontend/define.c ,
* src/frontend/evaluate.c ,
* src/frontend/parse-bison.y ,
* src/frontend/parse.c ,
* src/include/fteparse.h :
add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...)
2010-10-09 Robert Larice
* src/frontend/com_cdump.c ,
* src/frontend/com_chdir.c ,
* src/frontend/com_dump.c ,
* src/frontend/com_echo.c ,
* src/frontend/com_ghelp.c ,
* src/frontend/com_rehash.c ,
* src/frontend/com_setscale.c ,
* src/frontend/com_shell.c ,
* src/frontend/com_shift.c ,
* src/frontend/com_state.c ,
* src/frontend/parser/unixcom.c ,
* src/frontend/streams.c ,
* src/frontend/streams.h ,
* src/frontend/variable.c :
collect cp_* prototypes / extern-declarations in "cpextern.h"
2010-10-09 Robert Larice
* src/ciderlib/input/dopset.c :
additional #includes for prototype visibility
2010-10-09 Robert Larice
* src/include/ciderinp.h ,
* src/spicelib/devices/nbjt/nbjtset.c ,
* src/spicelib/devices/numd/numdset.c :
collect MESH*() prototypes in "meshext.h"
2010-10-09 Robert Larice
* src/spicelib/devices/bsim4/b4geo.c ,
* src/spicelib/devices/bsim4v2/b4v2geo.c ,
* src/spicelib/devices/bsim4v3/b4v3geo.c ,
* src/spicelib/devices/bsim4v4/b4v4geo.c ,
* src/spicelib/devices/bsim4v5/b4v5geo.c :
include bsim4*def.h (bsim4*geo.c files)
2010-10-09 Robert Larice
* src/spicelib/devices/bsim4/b4set.c ,
* src/spicelib/devices/bsim4/b4temp.c ,
* src/spicelib/devices/bsim4/bsim4def.h ,
* src/spicelib/devices/bsim4v2/b4v2set.c ,
* src/spicelib/devices/bsim4v2/b4v2temp.c ,
* src/spicelib/devices/bsim4v2/bsim4v2def.h ,
* src/spicelib/devices/bsim4v3/b4v3set.c ,
* src/spicelib/devices/bsim4v3/b4v3temp.c ,
* src/spicelib/devices/bsim4v3/bsim4v3def.h ,
* src/spicelib/devices/bsim4v4/b4v4set.c ,
* src/spicelib/devices/bsim4v4/b4v4temp.c ,
* src/spicelib/devices/bsim4v4/bsim4v4def.h ,
* src/spicelib/devices/bsim4v5/b4v5set.c ,
* src/spicelib/devices/bsim4v5/b4v5temp.c ,
* src/spicelib/devices/bsim4v5/bsim4v5def.h :
BSIM*Geo() prototypes --> include files
2010-10-09 Robert Larice
* src/frontend/measure.c ,
* src/frontend/numparam/mystring.c ,
* src/include/dstring.h ,
* src/misc/dstring.c :
remove #define for EOS use '\0' instead
2010-10-09 Robert Larice
* src/frontend/terminal.c ,
* src/include/complex.h ,
* src/include/fteparse.h ,
* src/main.c ,
* src/maths/sparse/spbuild.c ,
* src/maths/sparse/spdefs.h ,
* src/misc/ivars.c ,
* src/spicelib/parser/ifnewuid.c ,
* src/spicelib/parser/inperror.c ,
* src/tclspice.c :
remove ancient #defines for AND OR NOT substitute with && || !
2010-10-09 Robert Larice
* src/include/profile.h :
remove obsolete #defines for BEGIN END LENGTH FORWARD
2010-10-09 Robert Larice
* src/include/fteparse.h :
remove obsolete #defines for MAXARITY NUM STRING PNODE
2010-10-09 Robert Larice
* src/include/complex.h :
remove typedef for _complex, which is used nowhere
2010-10-08 Robert Larice
* src/frontend/evaluate.c ,
* src/frontend/parse.c ,
* src/include/fteext.h :
collect some cx_*() prototypes in "cmath2.h"
2010-10-08 Robert Larice
* src/main.c :
remove winmessage() prototype, there is no such thing (hopefully)
2010-10-08 Robert Larice
* src/include/inpdefs.h ,
* src/spicelib/parser/inp.h :
collect the other INP*() prototypes in "inpdefs.h"
2010-10-08 Robert Larice
* src/include/inpdefs.h ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inppas2.c :
collect the INP2?() prototypes in "inp.h"
2010-10-08 Robert Larice
* src/include/inpptree.h ,
* src/spicelib/parser/inp.h :
collect the PT*() prototypes in "inp.h"
2010-10-08 Robert Larice
* src/frontend/parse.c ,
* src/include/fteext.h :
consider the op_*() functions to be less public
2010-10-08 20:44:15 +02:00
2010-10-08 Robert Larice
* src/spicelib/devices/bsim3soi/b4soiinit.c ,
* src/spicelib/devices/bsim3soi_dd/b3soiddinit.c ,
* src/spicelib/devices/bsim3soi_fd/b3soifdinit.c ,
* src/spicelib/devices/bsim3soi_pd/b3soipdinit.c ,
* src/spicelib/devices/dio/dioinit.c ,
* src/spicelib/devices/hisim/hsm1init.c :
avoid function redeclaration (devices)
2010-10-08 20:31:32 +02:00
2010-10-08 Robert Larice
* src/include/sensgen.h ,
* src/spicelib/analysis/cktsgen.c :
sens_getp() prototype --> include file
2010-10-08 20:20:39 +02:00
2010-10-08 Robert Larice
* src/xspice/idn/idndig.c :
static function definition
2010-10-08 20:18:52 +02:00
2010-10-08 Robert Larice
* src/include/ipcproto.h :
#ifdef include file wrapper
2010-10-08 Robert Larice
* src/include/noisedef.h ,
* src/spicelib/devices/bjt/bjtnoise.c ,
* src/spicelib/devices/bjt2/bjt2noise.c ,
* src/spicelib/devices/bsim1/b1noi.c ,
* src/spicelib/devices/bsim2/b2noi.c ,
* src/spicelib/devices/bsim3/b3noi.c ,
* src/spicelib/devices/bsim3soi/b4soinoi.c ,
* src/spicelib/devices/bsim3soi_dd/b3soiddnoi.c ,
* src/spicelib/devices/bsim3soi_fd/b3soifdnoi.c ,
* src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c ,
* src/spicelib/devices/bsim3v0/b3v0noi.c ,
* src/spicelib/devices/bsim3v1/b3v1noi.c ,
* src/spicelib/devices/bsim3v1a/b3v1anoi.c ,
* src/spicelib/devices/bsim3v1s/b3v1snoi.c ,
* src/spicelib/devices/bsim3v32/b3v32noi.c ,
* src/spicelib/devices/bsim4/b4noi.c ,
* src/spicelib/devices/bsim4v2/b4v2noi.c ,
* src/spicelib/devices/bsim4v3/b4v3noi.c ,
* src/spicelib/devices/bsim4v4/b4v4noi.c ,
* src/spicelib/devices/bsim4v5/b4v5noi.c ,
* src/spicelib/devices/csw/cswnoise.c ,
* src/spicelib/devices/dio/dionoise.c ,
* src/spicelib/devices/hisim/hsm1noi.c ,
* src/spicelib/devices/jfet/jfetnoi.c ,
* src/spicelib/devices/jfet2/jfet2noi.c ,
* src/spicelib/devices/mes/mesnoise.c ,
* src/spicelib/devices/mos1/mos1noi.c ,
* src/spicelib/devices/mos2/mos2noi.c ,
* src/spicelib/devices/mos3/mos3noi.c ,
* src/spicelib/devices/mos9/mos9noi.c ,
* src/spicelib/devices/res/resnoise.c ,
* src/spicelib/devices/soi3/soi3nois.c ,
* src/spicelib/devices/sw/swnoise.c ,
* src/spicelib/devices/vbic/vbicnoise.c :
NevalSrc() NevalSrc2() Nintegrate() prototypes --> include files
2010-10-08 Robert Larice
* src/frontend/inpcom.c ,
* src/frontend/numparam/xpressn.c ,
* src/include/compatmode.h :
ngspice_compat_mode() prototype --> include files
2010-10-08 20:13:23 +02:00
2010-10-08 Robert Larice
* src/include/distodef.h ,
* src/spicelib/devices/bjt/bjtdset.c ,
* src/spicelib/devices/bjt2/bjt2dset.c :
TanDeriv() prototype --> include files
2010-10-08 Robert Larice
* src/xspice/cmpp/cmpp.h ,
* src/xspice/cmpp/main.c ,
* src/xspice/cmpp/pp_lst.c :
str_to_lower() init_error() protoypes --> include files
2010-10-08 Robert Larice
* src/include/distodef.h ,
* src/spicelib/analysis/distoan.c :
DkerProc() CKTdisto() prototypes --> include files
2010-10-08 20:07:03 +02:00
2010-10-08 Robert Larice
* src/ciderlib/oned/onedext.h ,
* src/spicelib/parser/inp.h :
remove some stuttered prototypes
2010-10-08 20:05:00 +02:00
2010-10-08 Robert Larice
* src/frontend/dotcards.c ,
* src/frontend/numparam/spicenum.c ,
* src/frontend/numparam/xpressn.c ,
* src/maths/misc/randnumb.c ,
* src/spicelib/parser/inplist.c :
some .c file local prototypes
2010-10-08 20:02:58 +02:00
2010-10-08 Robert Larice
* src/maths/cmaths/cmath2.h :
cx_avg() prototype
2010-10-08 20:01:40 +02:00
2010-10-08 Robert Larice
* src/frontend/com_measure2.h :
com_dotmeasure() prototype
2010-10-08 20:00:11 +02:00
2010-10-08 Robert Larice
* src/include/evtproto.h :
EVTfindvec() prototyp
2010-10-08 19:58:34 +02:00
2010-10-08 Robert Larice
* src/include/cktdefs.h ,
* src/spicelib/analysis/ckt.h :
CKTdnames() prototype
2010-10-08 Robert Larice
* src/xspice/icm/Makefile :
too much quoting caused an error for quoted things in CFLAGS
( CFLAGS=-D"SIGNAL_FUNCTION='void(*)(int)'" ./configure )
2010-10-08 Robert Larice
* src/frontend/spiceif.c ,
* src/frontend/spiceif.h ,
* src/include/cktdefs.h ,
* src/include/distodef.h ,
* src/include/ifsim.h ,
* src/include/opdefs.h ,
* src/include/sensdefs.h ,
* src/include/tfdefs.h ,
* src/include/trandefs.h ,
* src/spicelib/analysis/acaskq.c ,
* src/spicelib/analysis/acsetp.c ,
* src/spicelib/analysis/analysis.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktacct.c ,
* src/spicelib/analysis/cktaskaq.c ,
* src/spicelib/analysis/cktfnda.c ,
* src/spicelib/analysis/cktsopt.c ,
* src/spicelib/analysis/daskq.c ,
* src/spicelib/analysis/dcoaskq.c ,
* src/spicelib/analysis/dcosetp.c ,
* src/spicelib/analysis/dctaskq.c ,
* src/spicelib/analysis/dctsetp.c ,
* src/spicelib/analysis/dsetparm.c ,
* src/spicelib/analysis/naskq.c ,
* src/spicelib/analysis/nsetparm.c ,
* src/spicelib/analysis/pzaskq.c ,
* src/spicelib/analysis/pzsetp.c ,
* src/spicelib/analysis/sensaskq.c ,
* src/spicelib/analysis/senssetp.c ,
* src/spicelib/analysis/tfaskq.c ,
* src/spicelib/analysis/tfsetp.c ,
* src/spicelib/analysis/tranaskq.c ,
* src/spicelib/analysis/transetp.c ,
* src/unsupported/sen2setp.c ,
* src/unsupported/snaskq.c :
use the type JOB, remove redundant casts
2010-10-08 Robert Larice
* src/frontend/outitf.c ,
* src/frontend/outitf.h ,
* src/frontend/spiceif.c ,
* src/include/ifsim.h ,
* src/main.c ,
* src/spicelib/analysis/acan.c ,
* src/spicelib/analysis/cktsens.c ,
* src/spicelib/analysis/dcop.c ,
* src/spicelib/analysis/dctran.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/analysis/distoan.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/analysis/pzan.c ,
* src/spicelib/analysis/tfanal.c :
use the type JOB, remove redundant casts
2010-10-08 Robert Larice
* src/frontend/shyu.c ,
* src/frontend/spiceif.c ,
* src/include/cktdefs.h ,
* src/include/ftedefs.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktdelt.c ,
* src/spicelib/analysis/cktdojob.c ,
* src/spicelib/analysis/cktfnda.c ,
* src/spicelib/analysis/cktftask.c ,
* src/spicelib/analysis/cktnewan.c ,
* src/spicelib/analysis/cktntask.c ,
* src/spicelib/analysis/cktsetap.c ,
* src/spicelib/devices/bsim4/b4set.c ,
* src/spicelib/devices/bsim4v2/b4v2set.c ,
* src/spicelib/devices/bsim4v3/b4v3set.c ,
* src/spicelib/devices/bsim4v4/b4v4set.c ,
* src/spicelib/devices/bsim4v5/b4v5set.c ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inp2dot.c ,
* src/spicelib/parser/inpapnam.c ,
* src/spicelib/parser/inpdoopt.c ,
* src/spicelib/parser/inppas2.c ,
* src/spicelib/parser/inppas2.h ,
* src/spicelib/parser/inppas3.c ,
* src/spicelib/parser/inppas3.h :
use the types TSKtask and JOB, instead of void
2010-10-08 18:41:13 +02:00
2010-10-08 Robert Larice
* src/frontend/spiceif.c ,
* src/spicelib/analysis/cktnewan.c ,
* src/spicelib/parser/inp2dot.c :
type bistromatic
in preparation for the next patches
Note: offsetof struct TSKtask.taskOptions === 0
2010-10-08 18:34:35 +02:00
2010-10-08 Robert Larice
* src/frontend/spiceif.c :
remove a redundant cast
2010-10-08 18:32:36 +02:00
2010-10-08 Robert Larice
* src/frontend/spiceif.c ,
* src/spicelib/analysis/ckt.h :
fix an incorrect prototype
2010-10-08 Robert Larice
* src/include/inpptree.h ,
* src/spicelib/parser/inpptree.c :
fix a compiler warning, void* versus void(*)(void)
2010-10-07 23:47:34 +02:00
2010-10-07 Holger Vogt
2010-10-07 23:43:40 +02:00
* subckt.c: b. in i(b.xxx.byyy)
2010-10-06 22:06:05 +02:00
2010-10-05 Dietmar Warning
* configure.ac: enabling openMP under SunStudio compiler
* terminal.c, ivars.c, ifnewuid.c, inperror.c, main.c:
asprintf definition also for sun compiler - can not be concentrated in
2010-10-06 22:06:05 +02:00
ngspice.h because of libgen - libiberty conflict
2010-10-02 12:14:55 +02:00
============================ Rework-22 ==================================
2010-10-04 22:58:00 +02:00
2010-10-04 Holger Vogt
* miscoms.c: remove bug no. 3080398
2010-10-02 20:44:50 +02:00
2010-10-02 Holger Vogt
2010-10-02 12:14:55 +02:00
* mesadefs.h, mesamsak.c, mesamparam.c, mesasetup.c
jfetmask.c: remove NAN or exp -312 outputs
2010-10-01 Robert Larice
* src/spicelib/devices/hfet1/hfetmask.c ,
* src/spicelib/devices/hfet2/hfet2mask.c ,
* src/spicelib/devices/mes/mesmask.c ,
* src/spicelib/devices/mesa/mesamask.c :
bugfix, missing return(OK) in some switch statements
2010-09-30 Robert Larice
* configure.ac ,
* src/include/defines.h :
use autoconf to find a suitable signal function type
2010-09-30 22:24:07 +02:00
2010-09-30 Robert Larice
* src/xspice/icm/Makefile :
use $(MAKE) instead of `make'
2010-09-30 Robert Larice
* src/xspice/cmpp/Makefile.am ,
* src/xspice/cmpp/ifs_lex.l ,
* src/xspice/cmpp/mod_lex.l :
always use flex instead of an arbitrary lex,
use flex specific %options, to clean up the Makefile
don't write the lexer via stdout, to improve gcc warning readability
this works around a bug as well, which caused erronous lexer c files
to be included in the distribution tar ball
2010-09-26 17:43:52 +02:00
2010-09-26 Holger Vogt
* .cvsignore: m4 entry removed
2010-09-25 17:12:12 +02:00
2010-09-25 18:50:08 +02:00
2010-09-25 Holger Vogt
2010-09-25 16:15:26 +02:00
* conf.c, conf.h, ngspice.h, visualc/config.h, configure.ac:
update welcome message, version 22
* FAQ, COPYING, NEWS, INSTALL, README, README.tcl, BUGS:
update to version 22
2010-09-25 16:57:24 +02:00
* examples/Monte_Carlo: new folder with example files
2010-09-25 16:15:26 +02:00
2010-09-23 Robert Larice
* Makefile.am ,
* m4/.cvsignore :
add an empty m4/.cvsignore file, to make sure the directory exists
add this directory and the file compile_min.sh to the tarball
2010-09-22 15:58:00 +02:00
2010-09-22 Dietmar Warning
* devices/mesa/mesaload.c: initialize some variables
2010-09-21 Robert Larice
* autogen.sh :
there are several implementations of `sed'.
Some can't swallow a '\n' escape sequence on the RHS.
And some want a plain newline in the RHS to be escaped.
see http://sed.sourceforge.net/sedfaq4.html#s4.1
`4.1. How do I insert a newline into the RHS of a substitution?'
2010-09-19 22:20:30 +02:00
2010-09-19 Dietmar Warning
* adms/hicum2/admsva/hicum2.va: update to version 2.24 with small exceptions
from the original source code, seems the last update because model provider
has limited the access only to authorized partners
2010-09-19 20:27:16 +02:00
2010-09-19 Robert Larice
* autogen.sh :
cleanup
2010-09-19 18:30:39 +02:00
2010-09-19 Robert Larice
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/grid.c :
fix some ancient \n\r and \r\n typos
2010-09-19 Robert Larice
* src/frontend/quote.c :
cp_unqoute(), avoid segfault when applied to a single quote "\""
testcase:
.control
echo "--"
.endc
FIXME, still not completely done,
inp_stripcomments_line()
will fail on comments inside of strings
2010-09-19 10:25:46 +02:00
2010-09-19 Holger Vogt
* src/spinit.in, configure.ac: allow lib64 in spinit (bug no. 3054424)
if libdir contains lib64
* compile_min.sh: new script for compiling MINGW 32 and 64 bit
2010-09-19 10:25:46 +02:00
2010-09-18 18:58:31 +02:00
2010-09-18 Holger Vogt
* src/XSPICE/icm/makedefs.in: external LDFLAGS enabled for MINGW
2010-09-18 11:12:59 +02:00
2010-09-18 Robert Larice
* contrib/mslib/liblook ,
* contrib/mslib/libprm ,
* contrib/scripts/liblook ,
* contrib/scripts/libprm ,
* contrib/vbic/sgp2vbic ,
* contrib/vbic/vbic2sgp *
some scripts need bash
this patch is from debian, thanks
2010-09-18 11:03:41 +02:00
2010-09-18 Dietmar Warning
* src/spicelib/devices/*/isrcacct.c, vsrcacct.c: Correct bitwise operation
2010-09-17 Holger Vogt
* visualc/include/config.h, vngspice.sln, vngspice.vcproj:
new configurations release, Debug, and ReleaseOMP
2010-09-18 11:12:59 +02:00
2010-09-17 Robert Larice
* .cvsignore ,
* Makefile.am ,
* configure.ac ,
* config/.cvsignore :
undo "use a subdirectory `config' for autoconfigure ..." from today
this has broken `configure' for xgraph
2010-09-17 18:41:10 +02:00
2010-09-17 Robert Larice
* src/frontend/Makefile.am :
fix parse-bison.y dependencies
2010-09-17 18:26:06 +02:00
2010-09-17 Robert Larice
* autogen.sh :
run aclocal first, then libtoolize
2010-09-17 18:24:01 +02:00
2010-09-17 Robert Larice
* Makefile.am ,
* src/include/Makefile.am ,
* src/maths/misc/Makefile.am ,
* src/maths/poly/Makefile.am ,
* src/spicelib/devices/ndev/Makefile.am ,
* src/xspice/Makefile.am ,
* tests/bsim3soi/Makefile.am ,
* tests/bsim3soidd/Makefile.am ,
* tests/bsim3soifd/Makefile.am ,
* tests/bsim3soipd/Makefile.am ,
* tests/mesa/Makefile.am :
`make dist' add some missing artifacts
2010-09-17 18:21:12 +02:00
2010-09-17 Robert Larice
* configure.ac ,
* src/spicelib/devices/Makefile.am :
`make dist' improvements for `NDEV'
2010-09-17 Robert Larice
* Makefile.am ,
* .cvsignore ,
* config/.cvsignore ,
* configure.ac :
use a subdirectory `config' for autoconfigure related artifacts
2010-09-17 Robert Larice
* **/Makefile.am :
whitespace cleanup
2010-09-15 23:54:46 +02:00
2010-09-15 Holger Vogt
* com_measure2.c: prevent seg fault in meas ac, if real input
2010-09-16 00:00:04 +02:00
* examples/control_structs/MonteCarlo.sp: update, add measure
2010-09-15 23:54:46 +02:00
2010-09-12 Robert Larice
* src/main.c :
fix incorrect buffer type, and exit(1) on failure to open a tempfile
2010-09-10 17:06:04 +02:00
2010-09-08 Holger Vogt
* inp.c, inpcom.c: include libiberty.h removed
* terminal.c, ivars.c, ifnewuid.c, inperror.c, tclspice.c, main.c:
rework of #ifdef HAVE_ASPRINTF ...
* fteparse.h: #undef AND /* obsolete macro in ansidecl.h */ added
2010-09-08 Robert Larice
* src/frontend/wdisp/windisp.c ,
* src/frontend/wdisp/winprint.c :
fix commit from today, `function rename, Arc() -> DevDrawArc()`
2010-09-08 Robert Larice
* src/include/const.h :
rename include file wrapper, #ifndef CONST -> CONST_H
2010-09-08 Robert Larice
* src/frontend/display.c ,
* src/include/ftedev.h :
function rename, struct DISPDEVICE . Text() -> DrawText()
2010-09-08 Robert Larice
* src/frontend/display.c ,
* src/include/ftedev.h :
function rename, struct DISPDEVICE . Arc() -> DrawArc()
2010-09-08 Robert Larice
* src/frontend/display.c ,
* src/frontend/display.h ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/grid.c :
function rename, Update() -> DevUpdate()
2010-09-08 Robert Larice
* src/frontend/display.c ,
* src/frontend/display.h ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/grid.c :
function rename, DrawLine() -> DevDrawLine()
2010-09-08 Robert Larice
* src/frontend/display.c ,
* src/frontend/display.h ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/grid.c ,
* src/frontend/plotting/x11.c :
function rename, Text() -> DevDrawText()
2010-09-08 19:59:00 +02:00
2010-09-08 Robert Larice
* src/frontend/display.c ,
* src/frontend/display.h ,
* src/frontend/plotting/grid.c ,
* src/frontend/wdisp/windisp.c ,
* src/frontend/wdisp/winprint.c :
function rename, Arc() -> DevDrawArc()
2010-09-08 19:14:44 +02:00
2010-09-08 Robert Larice
* README.adms ,
* autogen.sh ,
* configure.ac ,
* configure.in ,
* src/frontend/cpitf.c ,
* src/misc/ivars.c :
rename configure.in -> configure.ac
2010-09-08 15:42:23 +02:00
2010-09-08 Holger Vogt
* visualc/include/config.h, vngspice.sln, vngspice.vcproj:
prepare for ngspice22
2010-09-07 22:23:07 +02:00
2010-09-07 Robert Larice
* src/frontend/parse.c ,
* src/include/fteparse.h ,
* src/spicelib/parser/inpptree.c :
muffle some visual-C warnings
data pointer -> function pointer conversion
void* versus void(*)(void)
2010-09-07 Robert Larice
* ng-spice-rework/src/maths/misc/randnumb.c :
convert K&R function definitions to ansi style
2010-09-07 Robert Larice
* src/xspice/ipc/ipcstdio.c :
convert K&R function definitions to ansi style
2010-09-07 Robert Larice
* src/frontend/inpcom.c ,
* src/frontend/plotting/x11.c ,
* src/frontend/resource.c ,
* src/frontend/subckt.c ,
* src/include/hash.h ,
* src/main.c ,
* src/misc/util.c ,
* src/ngproc2mod.c ,
* src/spicelib/analysis/cktterr.c ,
* src/spicelib/analysis/dctran.c ,
* src/spicelib/devices/ltra/ltratemp.c ,
* src/spicelib/devices/ltra/ltratrun.c ,
* src/winmain.c ,
* src/xspice/evt/evtbackup.c ,
* src/xspice/ipc/ipcaegis.c ,
* src/xspice/mif/mifgetvalue.c ,
* src/xspice/mif/miftrunc.c :
use for(;;) instead of while(1) to muffle some visual-C warnings
2010-09-07 Robert Larice
* examples/tclspice/tcl-testbench2/example.cir ,
* examples/xspice/xspice_c2.cir ,
* examples/xspice/xspice_c3.cir ,
* src/frontend/help/ChangeLog ,
* src/spicelib/devices/adms/mextram/admsva/COPYRIGHT_NOTICE ,
* visualc/how-to-ngspice-vstudio.txt ,
* xgraph/.cvsignore :
whitespace cleanup, add missing trailing newlines
2010-09-07 20:57:22 +02:00
2010-09-07 Robert Larice
* contrib/vbic/sgp2vbic ,
* contrib/vbic/vbic2sgp ,
* src/spicelib/devices/mos9/mos9temp.c ,
* src/xspice/examples/d_to_real/Makefile ,
* src/xspice/examples/d_to_real/cfunc.mod ,
* src/xspice/examples/d_to_real/ifspec.ifs ,
* src/xspice/examples/nco/Makefile ,
* src/xspice/examples/nco/ifspec.ifs ,
* src/xspice/examples/print_param_types/Makefile ,
* src/xspice/examples/print_param_types/cfunc.mod ,
* src/xspice/examples/print_param_types/ifspec.ifs ,
* src/xspice/examples/real_delay/Makefile ,
* src/xspice/examples/real_delay/ifspec.ifs ,
* src/xspice/examples/real_gain/Makefile ,
* src/xspice/examples/real_gain/cfunc.mod ,
* src/xspice/examples/real_gain/ifspec.ifs ,
* src/xspice/examples/real_to_v/Makefile ,
* src/xspice/examples/real_to_v/ifspec.ifs :
whitespace cleanup, \r\n -> \n
2010-09-07 10:52:21 +02:00
2010-09-07 Holger Vogt
* vectors.c: add plot [alli | allv | ally]
2010-09-07 19:51:03 +02:00
* com_measure2.c: prevent seg fault if wrong meas type is chosen
2010-09-07 10:52:21 +02:00
2010-09-04 14:41:25 +02:00
2010-09-04 Dietmar Warning
* misc/tilde.c: prevent unreached statement if pwd.h available
* define.h: recover signaltype for SunStudio compiler signal function
2010-09-03 14:51:42 +02:00
2010-09-03 Holger Vogt
* inpcom.c, inp.h, inpeval.c, inpgtok.c:
bug removed in B source parsing, as reported by sdaau
2010-09-02 18:14:34 +02:00
2010-09-02 Holger Vogt
* randnumb.c: inproved comments
2010-08-29 Holger Vogt
* cmath2.c, randnumb.c, main.c, ngspice.h, configure.in, tclspice.c:
2010-09-01 23:13:01 +02:00
remove fcns random() and srandom(), only use rand() and srand() or
internal random number generator.
* mystring.c: replace Str() by SPICE_DSTRING
2010-09-01 23:13:01 +02:00
2010-08-29 11:24:38 +02:00
2010-08-29 Dietmar Warning
* fteext.h, parse.c, cmath2.c, cmath2.h,:
2010-08-29 11:24:38 +02:00
new function sunif(), uniform random generator usable in control blocks
* examples/control_structs/MonteCarlo.sp: Simple example to perform MC runs
in ngspice using uniform and gaussian distributions
2010-08-28 20:13:08 +02:00
2010-08-29 Holger Vogt
* fteext.h, main.c, randnumb.c, parse.c, cmath2.c, cmath2.h:
2010-08-28 20:13:08 +02:00
new function sgauss(), new random number generator with very
high run length
2010-08-18 19:13:26 +02:00
2010-08-19 Holger Vogt
2010-08-19 21:48:00 +02:00
* xpressn.c: bug no. 3047884 fixed
inp.c: prevent crash if .param is last line in input deck
2010-08-19 21:48:00 +02:00
2010-08-18 Holger Vogt
* configure.in: add TCLCYG
2010-08-18 19:13:26 +02:00
* autogen.sh: if --adms is selected, read the section from configure.in
and store it in AC_CONFIG_FILES of temporary temp-adms.ac.
2010-08-18 20:08:11 +02:00
Testing for availability of awk
Tested with MINGW, CYGWIN, SUSE Linux, may need more tests on other OSs!
2010-08-18 19:13:26 +02:00
2010-08-17 09:38:08 +02:00
2010-08-17 Dietmar Warning
* windisp.c, winprint.c, xspice/cm/cmexport.c: omit warnings
2010-08-15 22:17:05 +02:00
2010-08-15 Holger Vogt
* configure.in: add a small section starting with *VLAMKF, containing
the adms makefiles to be made
2010-08-15 22:17:05 +02:00
* autogen.sh: if --adms is selected, read the section from configure.in
and store it in AC_CONFIG_FILES of temporary configure.ac
Tested with MINGW, CYGWIN, SUSE Linux, may need more tests on other OSs!
2010-08-15 22:17:05 +02:00
2010-08-15 20:26:56 +02:00
2010-08-15 Robert Larice
* src/misc/string.c ,
* src/xspice/cmpp/mod_yacc.y :
chomp some warnings
2010-08-15 Robert Larice
* src/include/jobdefs.h ,
* src/include/tskdefs.h ,
* src/include/typedefs.h :
typedefs for JOB and TSKtask into "typedefs.h"
2010-08-15 19:44:40 +02:00
2010-08-15 Robert Larice
* src/spicelib/parser/inp2dot.c :
use the type CKTnode instead of void*
2010-08-15 19:28:01 +02:00
2010-08-15 Robert Larice
* src/frontend/vectors.c :
change for readability
2010-08-15 19:22:50 +02:00
2010-08-15 Robert Larice
* src/frontend/evaluate.c :
change for readability
2010-08-15 Robert Larice
* src/spicelib/devices/cktask.c ,
* src/spicelib/parser/inp2m.c :
drop (GENinstance*) casts, which are no longer necessary
2010-08-15 Robert Larice
* src/spicelib/devices/asrc/asrcset.c ,
* src/spicelib/devices/ccvs/ccvsset.c ,
* src/spicelib/devices/vcvs/vcvsset.c ,
* src/spicelib/devices/vsrc/vsrcset.c :
check for shorted voltage sources, to avoid a segmentation fault
2010-08-15 19:13:17 +02:00
2010-08-15 Robert Larice
* src/maths/sparse/spdefs.h :
fix txfree() prototype
2010-08-14 10:34:49 +02:00
2010-08-13 Holger Vogt
* autogen.sh: keep configure.in untouched by generating temporary
2010-08-14 10:34:49 +02:00
configure.ac if --adms is selected
* configure.in: remove VLAMKF; move AM_CONDITIONAL out of
2010-08-14 10:34:49 +02:00
conditional clauses; replace AC_PROG_YACC, AC_PROG_LEX by
appropriate AC_CHECK_PROGS with warning if BISON is missing w/o XSPICE,
but fail if w/ XSPICE and BISON or FLEX missing; AC_CONFIG_MACRO_DIR([m4])
added
* Makefile.am: ACLOCAL_AMFLAGS = -I m4 added
2010-08-14 10:34:49 +02:00
* .cvsignore: m4 added
* nghelp.c: adapt function types
2010-08-11 20:54:31 +02:00
2010-08-11 Robert Larice
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/include/noisedef.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktasknq.c ,
* src/spicelib/analysis/cktdltn.c ,
* src/spicelib/analysis/cktfnode.c ,
* src/spicelib/analysis/cktgrnd.c ,
* src/spicelib/analysis/cktmapn.c ,
* src/spicelib/analysis/cktmkcur.c ,
* src/spicelib/analysis/cktmkvol.c ,
* src/spicelib/analysis/cktneweq.c ,
* src/spicelib/analysis/cktnewn.c ,
* src/spicelib/analysis/cktsetnp.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/analysis/pzaskq.c ,
* src/spicelib/analysis/pzsetp.c ,
* src/spicelib/analysis/senssetp.c ,
* src/spicelib/analysis/tfsetp.c ,
* src/spicelib/devices/asrc/asrcconv.c ,
* src/spicelib/devices/asrc/asrcload.c ,
* src/spicelib/devices/asrc/asrcpzld.c ,
* src/spicelib/devices/asrc/asrcset.c ,
* src/spicelib/devices/cktbindnode.c ,
* src/spicelib/devices/ndev/ndevdefs.h ,
* src/spicelib/devices/ndev/ndevset.c ,
* src/spicelib/devices/urc/urcsetup.c ,
* src/spicelib/parser/ifnewuid.c ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inp2b.c ,
* src/spicelib/parser/inp2c.c ,
* src/spicelib/parser/inp2d.c ,
* src/spicelib/parser/inp2dot.c ,
* src/spicelib/parser/inp2e.c ,
* src/spicelib/parser/inp2f.c ,
* src/spicelib/parser/inp2g.c ,
* src/spicelib/parser/inp2h.c ,
* src/spicelib/parser/inp2i.c ,
* src/spicelib/parser/inp2j.c ,
* src/spicelib/parser/inp2l.c ,
* src/spicelib/parser/inp2m.c ,
* src/spicelib/parser/inp2n.c ,
* src/spicelib/parser/inp2o.c ,
* src/spicelib/parser/inp2p.c ,
* src/spicelib/parser/inp2q.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inp2s.c ,
* src/spicelib/parser/inp2t.c ,
* src/spicelib/parser/inp2u.c ,
* src/spicelib/parser/inp2v.c ,
* src/spicelib/parser/inp2w.c ,
* src/spicelib/parser/inp2y.c ,
* src/spicelib/parser/inp2z.c ,
* src/spicelib/parser/inppas2.c ,
* src/spicelib/parser/inppas3.c ,
* src/spicelib/parser/inpptree.c ,
* src/spicelib/parser/inpsymt.c ,
* src/xspice/mif/mif_inp2.c :
use the type CKTnode instead of void*
2010-08-11 18:15:24 +02:00
2010-08-11 Robert Larice
* src/spicelib/devices/cktinit.c ,
* src/spicelib/parser/inp2b.c :
cleanup
2010-08-10 Robert Larice
* src/frontend/spiceif.c ,
* src/spicelib/analysis/acan.c ,
* src/spicelib/analysis/cktnoise.c ,
* src/spicelib/analysis/dctran.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/analysis/distoan.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/analysis/pzan.c ,
* src/spicelib/analysis/tfanal.c ,
* src/spicelib/devices/bjt/bjtnoise.c ,
* src/spicelib/devices/bjt2/bjt2noise.c ,
* src/spicelib/devices/bsim1/b1noi.c ,
* src/spicelib/devices/bsim2/b2noi.c ,
* src/spicelib/devices/bsim3/b3noi.c ,
* src/spicelib/devices/bsim3soi/b4soinoi.c ,
* src/spicelib/devices/bsim3soi_dd/b3soiddnoi.c ,
* src/spicelib/devices/bsim3soi_fd/b3soifdnoi.c ,
* src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c ,
* src/spicelib/devices/bsim3v0/b3v0noi.c ,
* src/spicelib/devices/bsim3v1/b3v1noi.c ,
* src/spicelib/devices/bsim3v1a/b3v1anoi.c ,
* src/spicelib/devices/bsim3v1s/b3v1snoi.c ,
* src/spicelib/devices/bsim3v32/b3v32noi.c ,
* src/spicelib/devices/bsim4/b4noi.c ,
* src/spicelib/devices/bsim4v2/b4v2noi.c ,
* src/spicelib/devices/bsim4v3/b4v3noi.c ,
* src/spicelib/devices/bsim4v4/b4v4noi.c ,
* src/spicelib/devices/bsim4v5/b4v5noi.c ,
* src/spicelib/devices/csw/cswnoise.c ,
* src/spicelib/devices/dio/dionoise.c ,
* src/spicelib/devices/hisim/hsm1noi.c ,
* src/spicelib/devices/jfet/jfetnoi.c ,
* src/spicelib/devices/jfet2/jfet2noi.c ,
* src/spicelib/devices/mes/mesnoise.c ,
* src/spicelib/devices/mos1/mos1noi.c ,
* src/spicelib/devices/mos2/mos2noi.c ,
* src/spicelib/devices/mos3/mos3noi.c ,
* src/spicelib/devices/mos9/mos9noi.c ,
* src/spicelib/devices/res/resnoise.c ,
* src/spicelib/devices/soi3/soi3nois.c ,
* src/spicelib/devices/sw/swnoise.c ,
* src/spicelib/devices/urc/urcsetup.c ,
* src/spicelib/devices/vbic/vbicnoise.c ,
* src/spicelib/parser/inp2b.c ,
* src/spicelib/parser/inp2c.c ,
* src/spicelib/parser/inp2d.c ,
* src/spicelib/parser/inp2e.c ,
* src/spicelib/parser/inp2f.c ,
* src/spicelib/parser/inp2g.c ,
* src/spicelib/parser/inp2h.c ,
* src/spicelib/parser/inp2i.c ,
* src/spicelib/parser/inp2j.c ,
* src/spicelib/parser/inp2k.c ,
* src/spicelib/parser/inp2l.c ,
* src/spicelib/parser/inp2m.c ,
* src/spicelib/parser/inp2o.c ,
* src/spicelib/parser/inp2p.c ,
* src/spicelib/parser/inp2q.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inp2s.c ,
* src/spicelib/parser/inp2t.c ,
* src/spicelib/parser/inp2u.c ,
* src/spicelib/parser/inp2v.c ,
* src/spicelib/parser/inp2w.c ,
* src/spicelib/parser/inp2y.c ,
* src/spicelib/parser/inp2z.c :
drop a bunch of (void**) NULL casts,
all in the sixth argument of IFnewUid()
2010-08-10 21:11:26 +02:00
2010-08-10 Robert Larice
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/devices/cktbindnode.c ,
* src/spicelib/devices/urc/urcsetup.c ,
* src/spicelib/parser/inp2y.c :
use GENinstance*, instead of void*
2010-08-10 20:42:59 +02:00
2010-08-10 Robert Larice
* src/frontend/plotting/x11.c :
fix comment
2010-08-10 20:16:04 +02:00
2010-08-10 Robert Larice
* src/spicelib/analysis/ckt.h :
missing `extern'
2010-08-10 20:14:02 +02:00
2010-08-10 Robert Larice
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktparam.c ,
* src/spicelib/analysis/cktpname.c ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inpdpar.c :
use GENinstance*, instead of void*
2010-08-10 20:11:21 +02:00
2010-08-10 Robert Larice
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktdltm.c :
use GENmodel*, instead of void*
2010-08-10 20:07:13 +02:00
2010-08-10 Robert Larice
* src/maths/ni/niniter.c' :
drop (SMPmatrix*) casts, which are no longer necessary
2010-08-10 20:04:48 +02:00
2010-08-10 Robert Larice
* src/spicelib/analysis/tfanal.c :
drop (GENinstance*) casts, which are no longer necessary
2010-08-10 20:02:26 +02:00
2010-08-10 Robert Larice
* src/frontend/spiceif.c' :
drop (INPtables*) casts, which are no longer necessary
2010-08-10 19:59:49 +02:00
2010-08-10 Robert Larice
* src/frontend/spiceif.c ,
* src/spicelib/analysis/cktmask.c ,
* src/spicelib/analysis/cktmcrt.c ,
* src/spicelib/analysis/cluster.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/devices/cktcrte.c ,
* src/spicelib/devices/cktfinddev.c :
drop (GENmodel*) casts, which are no longer necessary
2010-08-09 Robert Larice
* src/frontend/display.c ,
* src/frontend/parser/input.c ,
* src/frontend/plotting/x11.c ,
* src/main.c :
fix a busy waiting loop when using editline. rl_event_hook must block until
there is some work to do. (select on stdin and the X11 socket).
For non-X11, don't use rl_event_hook at all.
2010-08-09 Robert Larice
* src/spicelib/analysis/cktmapn.c :
bug fix, incorrect indirection level, yet without consequence,
function CKTmapNode() is unused.
2010-08-09 Robert Larice
* src/spicelib/parser/inpgval.c :
fix assignment to a member of union IFvalue
2010-08-07 Robert Larice
* src/frontend/parse-bison.c ,
* src/frontend/parse-bison.h ,
* src/frontend/parse-bison.y :
bug fix,
avoid segfault, caused when parsing an unknown function in parse-bison.y
2010-08-07 19:01:14 +02:00
2010-08-07 Dietmar Warning
spicelib/devices/*/b4soimask.c, csw*.c, mos6load.c, soi3load.c, swnoise.c:
2010-08-07 19:01:14 +02:00
fix some wrong 'double' to 'int' assignments
2010-08-07 Robert Larice
* src/main.c :
bug fix, segfault caused by an ancient `editline' workaround
(bug tracker ID: 2966977, `segfault with editline')
2010-08-07 11:49:43 +02:00
2010-08-07 Robert Larice
* src/tclspice.c ,
* src/include/tclspice.h :
bug fix, I've recently broken compilation of tclspice.
- missing #include
- use the GENmodel and GENinstance type instead of void*
- muffle some type warnings.
2010-08-07 Robert Larice
* configure.in :
for gcc, don't report `unused parameter' Warnings
* src/Makefile.am
(bug tracker ID: 3019263)
add missing $(EXEEXT) for cygwin, thank you marco atzeri
2010-08-06 09:51:14 +02:00
2010-08-06 Dietmar Warning
* spicelib/parser/inp2q.c: add prototype for controlled_exit
* frontend/com_measure2.c, inp.c, inpcom.c, vectors.c: fallback for not handled enumeration values in switch
2010-08-04 Robert Larice
* src/frontend/control.c :
fix an ancient bug, trampling on freed memory causing segfaults and sickness.
getlims() {a function used by plot} does surgery to a wordlist,
freeing some words.
yet docommand() relied on the wordlist being unmodified.
2010-08-02 Robert Larice
* src/frontend/hpgl.c ,
* src/frontend/plotting/plot5.c :
implement Arc() for plot5 and hpgl (smith diagram)
2010-08-01 21:02:23 +02:00
2010-08-01 Holger Vogt
* autogen.sh: update for adms
2010-08-01 Robert Larice
* src/pkgIndex.tcl.in ,
* src/tclspice.c ,
* src/frontend/display.c ,
* src/frontend/display.h ,
* src/frontend/hpgl.c ,
* src/frontend/postsc.c ,
* src/frontend/plotting/grid.c ,
* src/frontend/plotting/plot5.c ,
* src/frontend/plotting/x11.c ,
* src/frontend/wdisp/windisp.c ,
* src/frontend/wdisp/winprint.c ,
* src/include/ftedev.h :
bug fix, implementation of the X11 draw arc implementation.
parameter change for all Arc() functions.
from theta1, theta2 to theta,delta_theta
the previous interface was ambiguous.
fix the x11lineararcs implementation, which could loop forever.
but don't use it anyways, since the real X11 draw arc works properly now.
2010-08-01 12:28:18 +02:00
2010-08-01 Holger Vogt
* autogen.sh, spicelib/parser/inp2q.c: update for adms
2010-07-31 Robert Larice
* src/frontend/parse.c :
work around a segmentation fault, when plotting
plot something vs vec
vec was freed too early
2010-07-31 Robert Larice
* src/frontend/vectors.c :
fix an ancient typo, responsible for segfault or garbage
when plotting multidimensional complex vectors
2010-07-30 Robert Larice
* src/frontend/evaluate.c :
fix an ancient typo, responsible for segfault or garbage
when operating on vectors
2010-07-30 Robert Larice
* src/main.c :
need an #ifdef for one of the just added #includes
2010-07-30 Robert Larice
* src/frontend/com_dl.c ,
* src/frontend/com_help.c ,
* src/frontend/com_set.c ,
* src/frontend/com_sysinfo.c ,
* src/frontend/hcomp.c ,
* src/frontend/parse.h ,
* src/include/pzdefs.h ,
* src/include/sen2defs.h ,
* src/include/typedefs.h ,
* src/main.c ,
* src/maths/misc/accuracy.c ,
* src/maths/misc/bernoull.c ,
* src/maths/misc/norm.c ,
* src/ngsconvert.c ,
* src/spicelib/analysis/cktdelt.c ,
* src/spicelib/devices/limit.c ,
* src/xspice/evt/evtaccept.c :
add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 Robert Larice
* src/include/ifsim.h ,
* src/include/inpptree.h ,
* src/ngproc2mod.c ,
* src/spicelib/devices/bsim3/bsim3def.h ,
* src/spicelib/devices/bsim3/bsim3ext.h ,
* src/spicelib/devices/bsim3soi/b4soidef.h ,
* src/spicelib/devices/bsim3soi/b4soiext.h ,
* src/spicelib/devices/bsim3v1/bsim3v1def.h ,
* src/spicelib/devices/bsim4/bsim4def.h ,
* src/spicelib/devices/bsim4/bsim4ext.h ,
* src/spicelib/devices/bsim4v2/bsim4v2def.h ,
* src/spicelib/devices/bsim4v2/bsim4v2ext.h ,
* src/spicelib/devices/bsim4v3/bsim4v3def.h ,
* src/spicelib/devices/bsim4v3/bsim4v3ext.h ,
* src/spicelib/devices/bsim4v4/bsim4v4def.h ,
* src/spicelib/devices/bsim4v5/bsim4v5def.h ,
* src/spicelib/devices/bsim4v5/bsim4v5ext.h ,
* src/spicelib/devices/hisim/hsm1eval102.c ,
* src/spicelib/devices/hisim/hsm1eval112.c ,
* src/spicelib/devices/hisim/hsm1eval120.c ,
* src/spicelib/devices/jfet2/psmodel.h :
remove some #ifdef __STDC__ wrappers, and some stray '#'
2010-07-30 Robert Larice
* src/frontend/plotting/agraf.c ,
* src/spicelib/devices/bsim2/b2set.c ,
* src/spicelib/devices/bsim4v2/b4v2set.c ,
* src/spicelib/devices/bsim4v3/b4v3set.c ,
* src/spicelib/devices/bsim4v4/b4v4set.c ,
* src/spicelib/devices/bsim4v5/b4v5set.c :
fix some literal floating point constants, which should have been integers
2010-07-25 11:21:33 +02:00
2010-07-25 Holger Vogt
* inpcom.c: correct loop parameter i -> pai, remove
unnecessary output
2010-07-24 Robert Larice
* src/include/cktdefs.h ,
* src/include/devdefs.h ,
* src/spicelib/analysis/acan.c ,
* src/spicelib/analysis/cktdest.c ,
* src/spicelib/analysis/cktdisto.c ,
* src/spicelib/analysis/cktdump.c ,
* src/spicelib/analysis/cktfbran.c ,
* src/spicelib/analysis/cktfndm.c ,
* src/spicelib/analysis/ckti2nod.c ,
* src/spicelib/analysis/cktic.c ,
* src/spicelib/analysis/cktload.c ,
* src/spicelib/analysis/cktmask.c ,
* src/spicelib/analysis/cktmcrt.c ,
* src/spicelib/analysis/cktmpar.c ,
* src/spicelib/analysis/cktnoise.c ,
* src/spicelib/analysis/cktop.c ,
* src/spicelib/analysis/cktparam.c ,
* src/spicelib/analysis/cktpartn.c ,
* src/spicelib/analysis/cktpmnam.c ,
* src/spicelib/analysis/cktpname.c ,
* src/spicelib/analysis/cktpzld.c ,
* src/spicelib/analysis/cktpzset.c ,
* src/spicelib/analysis/cktsens.c ,
* src/spicelib/analysis/cktsetup.c ,
* src/spicelib/analysis/cktsgen.c ,
* src/spicelib/analysis/ckttemp.c ,
* src/spicelib/analysis/ckttroub.c ,
* src/spicelib/analysis/ckttrunc.c ,
* src/spicelib/analysis/ckttyplk.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/devices/cktfinddev.c ,
* src/unsupported/cktsenup.c ,
* src/unsupported/cktsnld.c ,
* src/unsupported/cktsnprt.c ,
* src/unsupported/cktsnset.c ,
* src/xspice/evt/evtload.c ,
* src/xspice/mif/mif_inp2.c ,
* src/xspice/mif/mifask.c ,
* src/xspice/mif/mifgetmod.c ,
* src/xspice/mif/mifload.c ,
* src/xspice/mif/mifmask.c ,
* src/xspice/mif/mifmpara.c ,
* src/xspice/mif/mifsetup.c :
find a suitable home for **DEVices and DEVmaxnum in devdefs.h
2010-07-24 Robert Larice
* src/frontend/help/help.c ,
* src/frontend/misccoms.c ,
* src/spicelib/devices/dev.c ,
* src/xspice/cmpp/pp_mod.c ,
* src/xspice/cmpp/read_ifs.c :
muffle `nested extern' warnings, and drop a handcrafted malloc prototype
2010-07-24 20:51:06 +02:00
2010-07-24 Robert Larice
* src/ciderlib/input/meshset.c ,
* src/frontend/breakp.c ,
* src/frontend/com_alias.c ,
* src/frontend/define.c ,
* src/frontend/dotcards.c ,
* src/frontend/inpcom.c ,
* src/frontend/numparam/xpressn.c ,
* src/frontend/parser/backq.c ,
* src/frontend/parser/lexical.c ,
* src/frontend/runcoms.c ,
* src/frontend/shyu.c ,
* src/frontend/variable.c ,
* src/misc/string.c ,
* src/misc/util.c ,
* src/misc/wlist.c ,
* src/spicelib/devices/cpl/cplload.c ,
* src/spicelib/devices/txl/txlload.c ,
* src/spicelib/parser/inp2dot.c ,
* src/xspice/cmpp/mod_yacc.y :
muffle compiler warnings
suggest a space before ';' or explicit braces around empty
and similar things.
2010-07-24 20:24:43 +02:00
2010-07-24 Robert Larice
* src/frontend/inpcom.c ,
* src/spicelib/devices/ndev/ndevparm.c ,
* src/spicelib/parser/inp2n.c ,
* src/spicelib/parser/inppas2.c ,
* src/xspice/cm/cmevt.c :
muffle `unused variable' warnings
2010-07-24 Robert Larice
* src/frontend/plotting/x11.c :
muffle `may be used uninitialized' warnings
2010-07-24 Robert Larice
* src/spicelib/devices/bsim3soi/b4soi.c ,
* src/spicelib/devices/bsim3soi/b4soiacld.c ,
* src/spicelib/devices/bsim3soi/b4soiask.c ,
* src/spicelib/devices/bsim3soi/b4soicheck.c ,
* src/spicelib/devices/bsim3soi/b4soicvtest.c ,
* src/spicelib/devices/bsim3soi/b4soidel.c ,
* src/spicelib/devices/bsim3soi/b4soidest.c ,
* src/spicelib/devices/bsim3soi/b4soigetic.c ,
* src/spicelib/devices/bsim3soi/b4soild.c ,
* src/spicelib/devices/bsim3soi/b4soimask.c ,
* src/spicelib/devices/bsim3soi/b4soimdel.c ,
* src/spicelib/devices/bsim3soi/b4soimpar.c ,
* src/spicelib/devices/bsim3soi/b4soinoi.c ,
* src/spicelib/devices/bsim3soi/b4soipar.c ,
* src/spicelib/devices/bsim3soi/b4soipzld.c ,
* src/spicelib/devices/bsim3soi/b4soiset.c ,
* src/spicelib/devices/bsim3soi/b4soitemp.c ,
* src/spicelib/devices/bsim3soi/b4soitrunc.c :
2011-06-19 16:27:02 +02:00
remove static char rcsid to muffle `unused variable' warnings
2010-07-24 Robert Larice
* src/include/inpdefs.h ,
* src/spicelib/devices/ndev/ndevacld.c ,
* src/spicelib/devices/ndev/ndevask.c ,
* src/spicelib/devices/ndev/ndevdel.c ,
* src/spicelib/devices/ndev/ndevdump.c ,
* src/spicelib/devices/ndev/ndevmdel.c ,
* src/spicelib/devices/ndev/ndevparm.c ,
* src/spicelib/devices/ndev/ndevpzld.c ,
* src/spicelib/devices/ndev/ndevset.c ,
* src/spicelib/devices/ndev/ndevtemp.c ,
* src/spicelib/devices/ndev/ndevtrun.c ,
* src/spicelib/parser/inp2n.c :
convert K&R function definitions to ansi style
use the GENmodel and GENinstance type instead of void*
2010-07-24 Robert Larice
fix dangerous things, potential bugs, at least for big endian machines
* src/frontend/inp.c ,
a bool (unsigned char) and an int have been mixed,
and the address of the thing was taken.
should fail on a big endian machine
* src/frontend/spiceif.c ,
the value of an union, made of a bool (unsigned char), an int, etc,
is silently cast into an int.
This can introduce stack noise, in the CP_BOOL case
* src/frontend/variable.c :
a `variable' is created with type CP_NUM,
but only bool was initialized.
This can introduce stack noise.
2010-07-24 Robert Larice
* src/include/onedev.h ,
* src/include/twodev.h :
add two #include files,
to fix broken cider compilation, caused by the changes from 2010-07-23
2010-07-24 Robert Larice
* src/frontend/evaluate.c ,
* src/frontend/parse.c ,
* src/include/fteext.h ,
* src/include/fteparse.h ,
* src/maths/cmaths/cmath2.c ,
* src/maths/cmaths/cmath2.h :
fix the type signature of the cx_* functions
2010-07-23 Robert Larice
* src/include/smpdefs.h ,
* src/include/spmatrix.h :
better place for the prototype of spConstMult()
2010-07-23 Robert Larice
* src/ciderlib/oned/onecont.c ,
* src/ciderlib/oned/onepoiss.c ,
* src/ciderlib/twod/twocont.c ,
* src/ciderlib/twod/twoncont.c ,
* src/ciderlib/twod/twopcont.c ,
* src/ciderlib/twod/twopoiss.c :
use the type SMPmatrix instead of char *
remove some redundant forward function declarations
remove some redundant nested function declarations
2010-07-23 Robert Larice
* src/ngmultidec.c ,
* src/include/onedev.h ,
* src/include/smpdefs.h ,
* src/include/spmatrix.h ,
* src/include/twodev.h ,
* src/maths/sparse/spalloc.c ,
* src/maths/sparse/spbuild.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 ,
* src/spicelib/analysis/cktacct.c :
use the types MatrixPtr and SMPmatrix instead of void and char *
both are the same thing,
MatrixPtr is used inside the sparse/* domain,
SMPmatrix is used in the rest of spice
remove casts, which are no longer necessary
2010-07-23 Robert Larice
* src/include/spmatrix.h ,
* src/maths/sparse/spbuild.c ,
* src/maths/sparse/spdefs.h :
use a void* instead of a char* for anonymous `InitInfo' in src/sparse/*.c
2010-07-23 Robert Larice
* src/maths/sparse/sputils.c :
convert K&R function definitions to ansi style
2010-07-20 Robert Larice
* src/frontend/com_option.c ,
* src/frontend/com_set.c ,
* src/frontend/com_strcmp.c ,
* src/frontend/cpitf.c ,
* src/frontend/dotcards.c ,
* src/frontend/init.c ,
* src/frontend/inp.c ,
* src/frontend/variable.c ,
* src/frontend/variable.h ,
* src/frontend/wdisp/windisp.c ,
* src/include/cpextern.h :
use a void * for the third argument (&value) of the cp_vset() function
(polymorphic, has been claimed to be char *)
2010-07-20 Robert Larice
* src/tclspice.c :
drop #include <frontend/variable.h>, (even for non MSC_VER)
2010-07-20 Robert Larice
* src/main.c :
fix an incorrect type, (&char versus &bool)
2010-07-20 Robert Larice
* src/frontend/inp.c ,
* src/frontend/misccoms.c ,
* src/frontend/postcoms.c ,
* src/frontend/rawfile.c ,
* src/frontend/spec.c ,
* src/frontend/subckt.c ,
* src/frontend/plotting/agraf.c :
Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL)
2010-07-20 Robert Larice
* src/frontend/com_display.c ,
* src/frontend/device.c ,
* src/frontend/inp.c ,
* src/frontend/inpcom.c ,
* src/frontend/measure.c ,
* src/frontend/nutinp.c ,
* src/frontend/outitf.c ,
* src/frontend/terminal.c ,
* src/frontend/variable.c ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/x11.c :
allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage
The third parameter is a pointer to the result value.
Frequently only the function return value is used,
(presence or nonpresence of the variable)
and the third parameter points to an unused variable.
Even worse, in several cases a dummy variable of incorrect type is used
for that purpose.
Thus,
allow the third parameter to be NULL, and kill those dummy variables.
2010-07-19 21:39:31 +02:00
2010-07-19 Holger Vogt
* b4ld.c: correct typo which led to non-convergence of ro_17.cir
2010-07-19 21:39:31 +02:00
2010-07-17 Robert Larice
* src/main.c ,
* src/frontend/inp.c ,
* src/frontend/options.c ,
* src/frontend/spiceif.c ,
* src/frontend/spiceif.h ,
* src/include/fteext.h :
use type void* to pass anonymous data to function if_option()
indicate its actual type with an enum cp_types argument
2010-07-17 Robert Larice
* src/frontend/variable.c ,
* src/frontend/variable.h ,
* src/frontend/vectors.c ,
* src/frontend/plotting/graf.c :
replace vt_types -> cp_types
to complete the last change, lets rename the enum itself as well
replacement was done mechanical, with
perl -pi -e 's/vt_types/cp_types/g' $(git grep -le '\bvt_types' | grep -v ChangeLog)
* src/include/cpextern.h :
fix a comment, reflecting the VT_ -> CP_ change
2010-07-17 Robert Larice
* src/* :
textual replacement VT_* to CP_*
these are the enum constans of `enum vp_types' .
VT_* is allready used in the windows world.
lets use CP_* to avoid conflicts.
replacement was done mechanical, with:
perl -pi -e 's/VT_(BOOL|NUM|REAL|STRING|LIST)/CP_\1/g' $(git grep -le '\bVT_')
2010-07-17 Robert Larice
* src/frontend/variable.c ,
* src/frontend/variable.h ,
* src/frontend/plotting/agraf.c ,
* src/frontend/plotting/gnuplot.c ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/plotcurv.c ,
* src/frontend/plotting/plotit.c ,
* src/frontend/plotting/xgraph.c ,
* src/frontend/wdisp/windisp.c ,
* src/include/cpextern.h ,
* src/maths/cmaths/cmath4.c ,
* src/maths/misc/randnumb.c ,
* src/spicelib/devices/bsim3/b3par.c ,
* src/spicelib/devices/bsim3/b3set.c ,
* src/spicelib/devices/bsim3soi/b4soiset.c ,
* src/spicelib/devices/bsim3v0/b3v0par.c ,
* src/spicelib/devices/bsim3v1/b3v1par.c ,
* src/spicelib/devices/bsim3v1a/b3v1apar.c ,
* src/spicelib/devices/bsim3v1s/b3v1spar.c ,
* src/spicelib/devices/bsim3v32/b3v32par.c ,
* src/spicelib/devices/bsim4/b4par.c ,
* src/spicelib/devices/bsim4/b4set.c ,
* src/spicelib/devices/bsim4v2/b4v2par.c ,
* src/spicelib/devices/bsim4v3/b4v3par.c ,
* src/spicelib/devices/bsim4v4/b4v4par.c ,
* src/spicelib/devices/bsim4v5/b4v5par.c ,
* src/spicelib/parser/inpgmod.c :
consolidate enum cp_types and enum vt_types .
use this enum for some function arguments and struct members .
drop some include "variable.h" which are no longer needed ,
propably many more could be droped .
drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 12:25:52 +02:00
2010-07-17 Holger Vogt
* typesdef.c: correct the number of available types and plots
2010-07-16 Robert Larice
* src/ngsconvert.c ,
* src/frontend/define.c ,
* src/frontend/define.h ,
* src/frontend/vectors.c ,
* src/frontend/vectors.h ,
* src/include/fteext.h :
`const' qualifier for char* arguments of vec_get() and ft_substdef()
2010-07-16 Robert Larice
* src/xspice/icm/xtraevt/d_to_real/cfunc.mod ,
* src/xspice/icm/xtraevt/real_delay/cfunc.mod ,
* src/xspice/icm/xtraevt/real_gain/cfunc.mod ,
* src/xspice/icm/xtraevt/real_to_v/cfunc.mod :
xspice, xtraevt/*real*, add casts to `INPUT' and `OUTPUT'
the *.ifs files specify this to be `real'
yet the *.mod translator seems to be incomplete, and delivers void *
2010-07-16 17:42:46 +02:00
2010-07-16 Robert Larice
* src/xspice/icm/analog/multi_input_pwl/cfunc.mod :
add a missing `const' qualifier
2010-07-16 Robert Larice
* src/xspice/icm/digital/d_fdiv/cfunc.mod :
xspice, digital/d_fdiv, fix the type of counter and counter_old
from Digital_State_t to int
2010-07-16 Robert Larice
* src/xspice/icm/digital/d_dff/cfunc.mod ,
* src/xspice/icm/digital/d_dlatch/cfunc.mod ,
* src/xspice/icm/digital/d_jkff/cfunc.mod ,
* src/xspice/icm/digital/d_srff/cfunc.mod ,
* src/xspice/icm/digital/d_srlatch/cfunc.mod ,
* src/xspice/icm/digital/d_tff/cfunc.mod :
xspice, flip-flops, cast the `ic' PARAM to Digitial_State_t
the *.ifs file claims this parameter to be an integer in range 0..2
meant to represent ZERO, ONE and UNKNOWN
* src/xspice/icm/digital/d_ram/cfunc.mod :
xspice, the same fix for `ram'
2010-07-16 Robert Larice
* src/xspice/icm/analog/pwl/cfunc.mod ,
* src/xspice/icm/spice2poly/icm_spice2poly/cfunc.mod ,
* src/xspice/icm/xtradev/zener/cfunc.mod :
xspice, cast so called `STATIC_VAR' pointers to their concrete type
2010-07-17 12:25:52 +02:00
2010-07-14 Holger Vogt
* commands.c, options.c, fteext.h, inp.c: option command in spinit or
control section as enhancement to .options command
2010-07-14 Robert Larice
* src/frontend/commands.c :
remove leftover /*FALSE,*/ comments from the last commit, which where left
for the single purpose of better visualization in a diff tool.
2010-07-14 Robert Larice
* src/frontend/commands.c ,
* src/frontend/control.c ,
* src/include/cpdefs.h :
eliminate co_stringargs, which is used nowhere,
yet is related to an incorrectly typed function call
2010-07-13 Robert Larice
* src/frontend/device.c ,
* src/frontend/device.h ,
* src/frontend/gens.c ,
* src/frontend/gens.h *
fix the argument types of the functions
printstr_n printstr_m bogus1 and bogus2
to fit the type signature expected by the iterator dgen_for_n()
2010-07-13 Robert Larice
* src/frontend/device.c ,
* src/frontend/device.h :
split the function printstr() into printstr_n() and printstr_m()
printstr() is exclusively used as argument
to the map function dgen_for_n()
and misused a parameter to distinguish two separate functionalities.
2010-07-13 Robert Larice
* src/frontend/gens.c ,
* src/frontend/gens.h :
fix the type of the function pointer argument of wl_forall()
2010-07-11 22:18:47 +02:00
2010-07-11 Robert Larice
* src/frontend/parse.c ,
* src/include/fteparse.h :
fix function pointer initialization
2010-07-11 Robert Larice
* src/frontend/numparam/spicenum.c ,
* src/frontend/numparam/xpressn.c ,
* src/misc/hash.c :
add casts for void* returning functions
2010-07-11 Robert Larice
* src/xspice/cmpp/mod_lex.l :
for c++, lex input() function is named yyinput()
2010-07-11 21:15:26 +02:00
2010-07-11 Robert Larice
* src/spicelib/parser/inpptree.c :
missing (void*) casts
2010-07-11 Robert Larice
* src/spicelib/analysis/cktsens.c :
fix type and usage of some function pointers
2010-07-11 20:03:49 +02:00
2010-07-11 Robert Larice
* src/spicelib/devices/dev.c :
fix some function pointer casts
2010-07-11 18:04:27 +02:00
2010-07-11 Robert Larice
* src/xspice/idn/idndig.c :
missing casts
2010-07-11 18:02:23 +02:00
2010-07-11 Robert Larice
* src/ngmultidec.c ,
* src/frontend/resource.c :
tiny, fix two casts
2010-07-11 Robert Larice
* src/xspice/icm/analog/oneshot/cfunc.mod ,
* src/xspice/icm/analog/pwl/cfunc.mod ,
* src/xspice/icm/analog/sine/cfunc.mod ,
* src/xspice/icm/analog/square/cfunc.mod ,
* src/xspice/icm/analog/triangle/cfunc.mod ,
* src/xspice/icm/digital/d_osc/cfunc.mod ,
* src/xspice/icm/xtradev/core/cfunc.mod :
dont compare with '\0' when NULL was meant
2010-07-11 Robert Larice
* src/spicelib/devices/vccs/vccsask.c ,
* src/spicelib/devices/vccs/vccsdel.c ,
* src/spicelib/devices/vccs/vccsdest.c ,
* src/spicelib/devices/vccs/vccsload.c ,
* src/spicelib/devices/vccs/vccsmdel.c ,
* src/spicelib/devices/vccs/vccspar.c ,
* src/spicelib/devices/vccs/vccspzld.c ,
* src/spicelib/devices/vccs/vccssacl.c ,
* src/spicelib/devices/vccs/vccsset.c ,
* src/spicelib/devices/vccs/vccssld.c ,
* src/spicelib/devices/vccs/vccssprt.c ,
* src/spicelib/devices/vccs/vccssset.c :
#include "vccsext.h" to make the function declarations visible to their function definitions
2010-07-11 12:59:03 +02:00
2010-07-11 Robert Larice
* src/xspice/icm/xtraevt/int/udnfunc.c ,
* src/xspice/icm/xtraevt/real/udnfunc.c :
cast the udn*() function args
2010-07-10 Robert Larice
* src/include/spmatrix.h ,
* src/maths/sparse/spbuild.c :
ansi style function args for a function pointer arg of spInitialize()
NOTE: split personality, user interface talks about `spREAL'
which is internally refered to as `RealNumber'
2010-07-10 15:22:44 +02:00
2010-07-10 Holger Vogt
* com_measure2.c: patch by Bill Swartz from 2010-07-04
2010-07-10 Robert Larice
* src/xspice/icm/spice2poly/icm_spice2poly/cfunc.mod ,
* src/xspice/icm/xtradev/capacitor/cfunc.mod ,
* src/xspice/icm/xtradev/inductor/cfunc.mod :
drop some malloc prototypes, use <stdlib.h>
2010-07-10 14:37:49 +02:00
2010-07-10 Robert Larice
* src/include/lsort.h :
ansi function declaration and definition for SORT() and SORT1()
* src/xspice/cmpp/read_ifs.c :
bool used, Boolean_t wanted.
2010-07-10 Robert Larice
* src/include/miftypes.h ,
* src/xspice/mif/mifload.c ,
* src/xspice/mif/mifsetup.c ,
* src/xspice/mif/mifutil.c :
extend the Mif_Cntl_Src_Type_t enum, to avoid mixed use with integer -1.
FIXME, the switch() in mifsetup.c looks suspicious.
2010-07-10 13:27:57 +02:00
2010-07-10 Holger Vogt
* com_measure2.c: allow variables v(n1)=v(n2)
2010-07-10 14:12:08 +02:00
* inpcom.c: par('expression') in .four, .plot, .print, .meas, .save,
command .probe added
2010-07-10 13:27:57 +02:00
* string.c, ngspice.h: new fcn gettok_iv()
2010-07-09 Robert Larice
* src/frontend/spiceif.c ,
* src/spicelib/analysis/tfanal.c ,
* src/spicelib/parser/inpaname.c :
upgrade some casts from void* to more specific type
2010-07-09 18:53:34 +02:00
2010-07-09 Robert Larice
* src/xspice/cm/cm.c ,
* src/xspice/cm/cmevt.c ,
* src/xspice/cmpp/pp_lst.c ,
* src/xspice/cmpp/writ_ifs.c ,
* src/xspice/enh/enhtrans.c ,
* src/xspice/evt/evtdump.c ,
* src/xspice/evt/evtinit.c ,
* src/xspice/evt/evtiter.c ,
* src/xspice/evt/evtload.c ,
* src/xspice/evt/evtnode_copy.c ,
* src/xspice/evt/evtop.c ,
* src/xspice/evt/evtplot.c ,
* src/xspice/evt/evtqueue.c ,
* src/xspice/evt/evtsetup.c ,
* src/xspice/evt/evttermi.c ,
* src/xspice/icm/digital/d_source/cfunc.mod ,
* src/xspice/icm/digital/d_state/cfunc.mod ,
* src/xspice/icm/spice2poly/icm_spice2poly/cfunc.mod ,
* src/xspice/icm/xtraevt/int/udnfunc.c ,
* src/xspice/icm/xtraevt/real/udnfunc.c ,
* src/xspice/ipc/ipctiein.c ,
* src/xspice/mif/mif_inp2.c ,
* src/xspice/mif/mifask.c ,
* src/xspice/mif/mifgetmod.c ,
* src/xspice/mif/mifgetvalue.c ,
* src/xspice/mif/mifmask.c ,
* src/xspice/mif/mifmpara.c ,
* src/xspice/mif/mifsetup.c ,
* src/xspice/mif/mifutil.c :
add and fix casts to the return values of malloc() function calls
2010-07-08 20:27:17 +02:00
2010-07-08 Robert Larice
* src/xspice/ipc/ipc.c ,
* src/xspice/mif/mif_inp2.c ,
* src/xspice/mif/mifgetmod.c :
fix some few casts.
2010-07-08 19:50:29 +02:00
2010-07-08 Robert Larice
* src/tclspice.c ,
* src/frontend/outitf.c ,
* src/frontend/spiceif.c ,
* src/spicelib/parser/ifnewuid.c :
INPtables, remove some casts, which are no longer necessary
2010-07-08 Robert Larice
* src/tclspice.c ,
* src/frontend/outitf.h ,
* src/frontend/spiceif.c ,
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktfndm.c ,
* src/spicelib/analysis/cktmask.c ,
* src/spicelib/analysis/cktmcrt.c ,
* src/spicelib/analysis/cktmpar.c ,
* src/spicelib/analysis/cktpmnam.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/analysis/tfanal.c ,
* src/spicelib/devices/cktask.c ,
* src/spicelib/devices/cktcrte.c ,
* src/spicelib/devices/cktfinddev.c ,
* src/spicelib/devices/ind/mutsetup.c ,
* src/spicelib/devices/urc/urcsetup.c ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inp2b.c ,
* src/spicelib/parser/inp2c.c ,
* src/spicelib/parser/inp2d.c ,
* src/spicelib/parser/inp2e.c ,
* src/spicelib/parser/inp2f.c ,
* src/spicelib/parser/inp2g.c ,
* src/spicelib/parser/inp2h.c ,
* src/spicelib/parser/inp2i.c ,
* src/spicelib/parser/inp2j.c ,
* src/spicelib/parser/inp2k.c ,
* src/spicelib/parser/inp2l.c ,
* src/spicelib/parser/inp2m.c ,
* src/spicelib/parser/inp2n.c ,
* src/spicelib/parser/inp2o.c ,
* src/spicelib/parser/inp2p.c ,
* src/spicelib/parser/inp2q.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inp2s.c ,
* src/spicelib/parser/inp2t.c ,
* src/spicelib/parser/inp2u.c ,
* src/spicelib/parser/inp2v.c ,
* src/spicelib/parser/inp2w.c ,
* src/spicelib/parser/inp2y.c ,
* src/spicelib/parser/inp2z.c ,
* src/spicelib/parser/inpaname.c ,
* src/spicelib/parser/inppname.c :
use the GENmodel and GENinstance type instead of void*
2010-07-07 19:36:56 +02:00
2010-07-07 Robert Larice
* src/include/dllitf.h ,
* src/include/mifproto.h ,
* src/xspice/icm/dlmain.c ,
* src/xspice/mif/mif_inp2.c ,
* src/xspice/mif/mifgetmod.c ,
* src/xspice/mif/mifgetvalue.c :
the fourth of a series of four patches, which will change the code
to use the CKTcircuit type instead of the current mixed void*/char*
2010-07-07 19:32:40 +02:00
2010-07-07 Robert Larice
* src/main.c ,
* src/ngnutmeg.c ,
* src/ngspice.c ,
* src/frontend/outitf.c ,
* src/frontend/outitf.h ,
* src/frontend/shyu.c ,
* src/frontend/spiceif.c ,
* src/frontend/where.c ,
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/include/ipcproto.h ,
* src/maths/ni/nidest.c ,
* src/spicelib/analysis/acan.c ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktasknq.c ,
* src/spicelib/analysis/cktdelt.c ,
* src/spicelib/analysis/cktdest.c ,
* src/spicelib/analysis/cktdlti.c ,
* src/spicelib/analysis/cktdltm.c ,
* src/spicelib/analysis/cktdltn.c ,
* src/spicelib/analysis/cktdojob.c ,
* src/spicelib/analysis/cktfnda.c ,
* src/spicelib/analysis/cktfndm.c ,
* src/spicelib/analysis/cktfnode.c ,
* src/spicelib/analysis/cktftask.c ,
* src/spicelib/analysis/cktgrnd.c ,
* src/spicelib/analysis/ckti2nod.c ,
* src/spicelib/analysis/cktmapn.c ,
* src/spicelib/analysis/cktmask.c ,
* src/spicelib/analysis/cktmcrt.c ,
* src/spicelib/analysis/cktmkcur.c ,
* src/spicelib/analysis/cktmkvol.c ,
* src/spicelib/analysis/cktmpar.c ,
* src/spicelib/analysis/cktnewan.c ,
* src/spicelib/analysis/cktneweq.c ,
* src/spicelib/analysis/cktnewn.c ,
* src/spicelib/analysis/cktntask.c ,
* src/spicelib/analysis/cktnum2n.c ,
* src/spicelib/analysis/cktparam.c ,
* src/spicelib/analysis/cktpmnam.c ,
* src/spicelib/analysis/cktpname.c ,
* src/spicelib/analysis/cktsens.c ,
* src/spicelib/analysis/cktsetnp.c ,
* src/spicelib/analysis/ckttroub.c ,
* src/spicelib/analysis/dcop.c ,
* src/spicelib/analysis/dctran.c ,
* src/spicelib/analysis/dctrcurv.c ,
* src/spicelib/analysis/distoan.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/analysis/pzan.c ,
* src/spicelib/analysis/tfanal.c ,
* src/spicelib/devices/cktask.c ,
* src/spicelib/devices/cktbindnode.c ,
* src/spicelib/devices/cktcrte.c ,
* src/spicelib/devices/cktfinddev.c ,
* src/spicelib/devices/ind/mutsetup.c ,
* src/spicelib/devices/urc/urcsetup.c ,
* src/spicelib/parser/ifnewuid.c ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inp2b.c ,
* src/spicelib/parser/inp2c.c ,
* src/spicelib/parser/inp2d.c ,
* src/spicelib/parser/inp2dot.c ,
* src/spicelib/parser/inp2e.c ,
* src/spicelib/parser/inp2f.c ,
* src/spicelib/parser/inp2g.c ,
* src/spicelib/parser/inp2h.c ,
* src/spicelib/parser/inp2i.c ,
* src/spicelib/parser/inp2j.c ,
* src/spicelib/parser/inp2k.c ,
* src/spicelib/parser/inp2l.c ,
* src/spicelib/parser/inp2m.c ,
* src/spicelib/parser/inp2n.c ,
* src/spicelib/parser/inp2o.c ,
* src/spicelib/parser/inp2p.c ,
* src/spicelib/parser/inp2q.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inp2s.c ,
* src/spicelib/parser/inp2t.c ,
* src/spicelib/parser/inp2u.c ,
* src/spicelib/parser/inp2v.c ,
* src/spicelib/parser/inp2w.c ,
* src/spicelib/parser/inp2y.c ,
* src/spicelib/parser/inp2z.c ,
* src/spicelib/parser/inpaname.c ,
* src/spicelib/parser/inpdomod.c ,
* src/spicelib/parser/inpdpar.c ,
* src/spicelib/parser/inpgmod.c ,
* src/spicelib/parser/inpgval.c ,
* src/spicelib/parser/inppas3.c ,
* src/spicelib/parser/inppas3.h ,
* src/spicelib/parser/inppname.c ,
* src/spicelib/parser/inpptree.c ,
* src/spicelib/parser/inpsymt.c ,
* src/xspice/ipc/ipctiein.c :
the third of a series of four patches, which will change the code
to use the CKTcircuit type instead of the current mixed void*/char*
2010-07-07 19:28:29 +02:00
2010-07-07 Robert Larice
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktaskaq.c :
the second of a series of four patches, which will change the code
to use the CKTcircuit type instead of the current mixed void*/char*
2010-07-07 19:26:05 +02:00
2010-07-07 Robert Larice
* src/tclspice.c ,
* src/frontend/com_option.c ,
* src/frontend/inp.c ,
* src/frontend/resource.c ,
* src/frontend/shyu.c ,
* src/frontend/spiceif.c ,
* src/include/cktdefs.h ,
* src/include/ftedefs.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktsetap.c ,
* src/spicelib/devices/cktinit.c ,
* src/spicelib/parser/inp.h ,
* src/spicelib/parser/inp2dot.c ,
* src/spicelib/parser/inpapnam.c ,
* src/spicelib/parser/inpdoopt.c ,
* src/spicelib/parser/inpgtitl.c ,
* src/spicelib/parser/inppas1.c ,
* src/spicelib/parser/inppas1.h ,
* src/spicelib/parser/inppas2.c ,
* src/spicelib/parser/inppas2.h :
the first of a series of four patches, which will change the code
to use the CKTcircuit type instead of the current mixed void*/char*
2010-07-06 Robert Larice
* src/include/fteext.h :
ansi function declarations (prototypes) for some functions
2010-07-06 Robert Larice
* src/main.c ,
* src/frontend/nutmegif.c ,
* src/frontend/nutmegif.h ,
* src/frontend/shyu.c ,
* src/frontend/shyu.h ,
* src/frontend/spiceif.c ,
* src/frontend/spiceif.h ,
* src/include/fteext.h :
fix the type signature of the if_*() family of functions.
some incompatible pointer passing warnings will pop up,
and will be fixed later.
2010-07-06 Robert Larice
* src/include/typedefs.h :
new include file for struct forward declarations and for typedefs
* src/include/cktdefs.h ,
* src/include/gendefs.h ,
* src/include/graph.h ,
* src/include/ifsim.h ,
* src/include/mifcmdat.h ,
* src/include/ngspice.h ,
* src/include/tfdefs.h :
make use of the new include file.
2010-07-06 Holger Vogt
* defines.h: void fcn prototype instead of sighandler_t
for MINGW, CYGWIN and MSC
* src/spectrum: update of script with explanations
* b4soild.c: debug warnings removed
2010-07-05 Robert Larice
* src/xspice/cmpp/writ_ifs.c :
add initialization of the struct IFdevice.flags element to the
generated code. We initialize to 0, which is what the C compiler
used as default so far.
2010-07-05 Robert Larice
* src/xspice/icm/analog/d_dt/cfunc.mod ,
* src/xspice/icm/analog/hyst/cfunc.mod ,
* src/xspice/icm/analog/int/cfunc.mod ,
* src/xspice/icm/analog/oneshot/cfunc.mod ,
* src/xspice/icm/analog/s_xfer/cfunc.mod ,
* src/xspice/icm/analog/sine/cfunc.mod ,
* src/xspice/icm/analog/slew/cfunc.mod ,
* src/xspice/icm/analog/square/cfunc.mod ,
* src/xspice/icm/analog/triangle/cfunc.mod ,
* src/xspice/icm/digital/adc_bridge/cfunc.mod ,
* src/xspice/icm/digital/d_osc/cfunc.mod ,
* src/xspice/icm/digital/dac_bridge/cfunc.mod ,
* src/xspice/icm/xtradev/capacitor/cfunc.mod ,
* src/xspice/icm/xtradev/core/cfunc.mod ,
* src/xspice/icm/xtradev/inductor/cfunc.mod ,
* src/xspice/icm/xtradev/lcouple/cfunc.mod ,
* src/xspice/icm/xtraevt/real_delay/cfunc.mod ,
* src/xspice/icm/xtraevt/real_to_v/cfunc.mod :
cast the return values of the void* returning functions
cm_event_get_ptr() and cm_analog_get_ptr()
2010-07-04 19:54:22 +02:00
2010-07-04 Robert Larice
* src/frontend/evaluate.c : use void* instead of char* for anonymous data
* src/frontend/outitf.c : use a rescasted parameter
* src/frontend/outitf.h : make use of the existing enum GRIDTYPE
* src/frontend/variable.c : add missing casts
* src/spicelib/analysis/ckti2nod.c : drop an useless cast
* src/include/hlpdefs.h : use the struct name instead of the typedef name
2010-07-04 19:37:39 +02:00
2010-07-04 Robert Larice
2010-07-04 19:41:17 +02:00
* src/maths/sparse/spdefs.h :
fix the type of an ancient anonymous pointer from char* to void*
2010-07-04 19:37:39 +02:00
2010-07-04 19:41:17 +02:00
2010-07-04 Robert Larice
* src/include/defines.h :
for non MSC: use sighandler_t from <signal.h>
FIXME, should work for MSC as well, please check
2010-07-04 19:37:39 +02:00
* src/include/fteext.h :
ansi function declarations (prototypes) for some signal functions
2010-07-03 Robert Larice
* src/frontend/evaluate.c ,
* src/include/fteparse.h :
ansi style function args for some function pointers
2010-07-03 Robert Larice
* src/ciderlib/support/database.c ,
* src/ciderlib/support/logfile.c ,
* src/ciderlib/support/suprem.c ,
* src/ciderlib/support/suprmitf.c ,
* src/ciderlib/twod/twosetup.c ,
* src/spicelib/devices/nbjt/nbjtacld.c ,
* src/spicelib/devices/nbjt/nbjtask.c ,
* src/spicelib/devices/nbjt/nbjtdel.c ,
* src/spicelib/devices/nbjt/nbjtdest.c ,
* src/spicelib/devices/nbjt/nbjtdump.c ,
* src/spicelib/devices/nbjt/nbjtload.c ,
* src/spicelib/devices/nbjt/nbjtmdel.c ,
* src/spicelib/devices/nbjt/nbjtmpar.c ,
* src/spicelib/devices/nbjt/nbjtparm.c ,
* src/spicelib/devices/nbjt/nbjtpzld.c ,
* src/spicelib/devices/nbjt/nbjtset.c ,
* src/spicelib/devices/nbjt/nbjttemp.c ,
* src/spicelib/devices/nbjt/nbjttrun.c ,
* src/spicelib/devices/nbjt2/nbt2acld.c ,
* src/spicelib/devices/nbjt2/nbt2ask.c ,
* src/spicelib/devices/nbjt2/nbt2del.c ,
* src/spicelib/devices/nbjt2/nbt2dest.c ,
* src/spicelib/devices/nbjt2/nbt2dump.c ,
* src/spicelib/devices/nbjt2/nbt2load.c ,
* src/spicelib/devices/nbjt2/nbt2mdel.c ,
* src/spicelib/devices/nbjt2/nbt2mpar.c ,
* src/spicelib/devices/nbjt2/nbt2parm.c ,
* src/spicelib/devices/nbjt2/nbt2pzld.c ,
* src/spicelib/devices/nbjt2/nbt2set.c ,
* src/spicelib/devices/nbjt2/nbt2temp.c ,
* src/spicelib/devices/nbjt2/nbt2trun.c ,
* src/spicelib/devices/numd/numdacld.c ,
* src/spicelib/devices/numd/numdask.c ,
* src/spicelib/devices/numd/numddel.c ,
* src/spicelib/devices/numd/numddest.c ,
* src/spicelib/devices/numd/numddump.c ,
* src/spicelib/devices/numd/numdload.c ,
* src/spicelib/devices/numd/numdmdel.c ,
* src/spicelib/devices/numd/numdmpar.c ,
* src/spicelib/devices/numd/numdparm.c ,
* src/spicelib/devices/numd/numdpzld.c ,
* src/spicelib/devices/numd/numdtemp.c ,
* src/spicelib/devices/numd/numdtrun.c ,
* src/spicelib/devices/numd2/nud2acld.c ,
* src/spicelib/devices/numd2/nud2ask.c ,
* src/spicelib/devices/numd2/nud2del.c ,
* src/spicelib/devices/numd2/nud2dest.c ,
* src/spicelib/devices/numd2/nud2dump.c ,
* src/spicelib/devices/numd2/nud2load.c ,
* src/spicelib/devices/numd2/nud2mdel.c ,
* src/spicelib/devices/numd2/nud2mpar.c ,
* src/spicelib/devices/numd2/nud2parm.c ,
* src/spicelib/devices/numd2/nud2pzld.c ,
* src/spicelib/devices/numd2/nud2set.c ,
* src/spicelib/devices/numd2/nud2temp.c ,
* src/spicelib/devices/numd2/nud2trun.c ,
* src/spicelib/devices/numos/nummacld.c ,
* src/spicelib/devices/numos/nummask.c ,
* src/spicelib/devices/numos/nummdel.c ,
* src/spicelib/devices/numos/nummdest.c ,
* src/spicelib/devices/numos/nummdump.c ,
* src/spicelib/devices/numos/nummload.c ,
* src/spicelib/devices/numos/nummmdel.c ,
* src/spicelib/devices/numos/nummmpar.c ,
* src/spicelib/devices/numos/nummparm.c ,
* src/spicelib/devices/numos/nummpzld.c ,
* src/spicelib/devices/numos/nummset.c ,
* src/spicelib/devices/numos/nummtemp.c ,
* src/spicelib/devices/numos/nummtrun.c :
convert K&R function definitions to ansi style
2010-07-03 19:55:44 +02:00
2010-07-03 Robert Larice
* src/frontend/subckt.c : drop unsued variable.
* src/include/ngspice.h : add a missing extern
* src/xspice/cmpp/ifs_lex.l : atof() and atoi() live in <stdlib.h>
* src/frontend/parser/glob.c :
cast the return values of malloc() function calls
2010-07-03 17:36:05 +02:00
2010-07-03 Robert Larice
* src/include/cktdefs.h ,
* src/include/gendefs.h ,
* src/include/graph.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/include/tfdefs.h :
whitespace change, cleanup, untabify
2010-07-03 Robert Larice
* src/include/cktdefs.h ,
* src/include/gendefs.h ,
* src/include/graph.h ,
* src/include/ifsim.h ,
* src/include/inpdefs.h ,
* src/include/tfdefs.h :
forward declaration of structs, unions and typedefs
2010-07-02 Robert Larice
* src/spicelib/analysis/cktsens.c ,
* src/xspice/mif/mifload.c :
ansi style function args for some function pointers
2010-07-02 09:34:18 +02:00
2010-07-02 Holger Vogt
* src/frontend/inpcom.c : .TITLE line added
2010-07-02 11:44:17 +02:00
* /bsim3soi/b4soild.c, b4soiset., b4soidef.h, DEVICES: OpenMP support for
2010-07-02 11:35:05 +02:00
SOI model B4SOI, version 4.3.1.
2010-07-02 09:34:18 +02:00
2010-07-01 22:29:53 +02:00
2010-07-01 Holger Vogt
* src/frontend/inpcom.c : no removal of white spaces in echo lines
inside a control section
2010-07-01 Robert Larice
* src/frontend/com_sysinfo.c ,
* src/frontend/display.c ,
* src/frontend/help/readhelp.c ,
* src/frontend/help/x11disp.c ,
* src/frontend/hpgl.c ,
* src/frontend/inpcom.c ,
* src/frontend/measure.c ,
* src/frontend/numparam/xpressn.c ,
* src/frontend/parser/complete.c ,
* src/frontend/plotting/agraf.c ,
* src/frontend/plotting/graf.c ,
* src/frontend/plotting/x11.c ,
* src/frontend/postsc.c ,
* src/frontend/quote.c ,
* src/frontend/subckt.c ,
* src/maths/ni/niinteg.c ,
* src/maths/ni/niiter.c ,
* src/misc/dstring.c ,
* src/misc/string.c ,
* src/misc/util.c ,
* src/misc/wlist.c ,
* src/spicelib/analysis/ckttroub.c ,
* src/spicelib/analysis/distoan.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/devices/bjt/bjtask.c ,
* src/spicelib/devices/bjt2/bjt2ask.c ,
* src/spicelib/devices/cap/capask.c ,
* src/spicelib/devices/cccs/cccsask.c ,
* src/spicelib/devices/ccvs/ccvsask.c ,
* src/spicelib/devices/cpl/cplsetup.c ,
* src/spicelib/devices/csw/cswask.c ,
* src/spicelib/devices/dio/dioask.c ,
* src/spicelib/devices/dio/diotemp.c ,
* src/spicelib/devices/hfet1/hfetask.c ,
* src/spicelib/devices/hfet2/hfet2ask.c ,
* src/spicelib/devices/ind/indask.c ,
* src/spicelib/devices/isrc/isrcask.c ,
* src/spicelib/devices/jfet/jfetask.c ,
* src/spicelib/devices/jfet2/jfet2ask.c ,
* src/spicelib/devices/mes/mesask.c ,
* src/spicelib/devices/mesa/mesaask.c ,
* src/spicelib/devices/mos1/mos1ask.c ,
* src/spicelib/devices/mos2/mos2ask.c ,
* src/spicelib/devices/mos3/mos3ask.c ,
* src/spicelib/devices/mos6/mos6ask.c ,
* src/spicelib/devices/mos9/mos9ask.c ,
* src/spicelib/devices/res/resask.c ,
* src/spicelib/devices/sw/swask.c ,
* src/spicelib/devices/vccs/vccsask.c ,
* src/spicelib/devices/vcvs/vcvsask.c ,
* src/spicelib/devices/vsrc/vsrcask.c ,
* src/spicelib/parser/inp2r.c ,
* src/spicelib/parser/inpdpar.c ,
* src/spicelib/parser/inpmktmp.c ,
* src/spicelib/parser/inpptree.c :
cast the return values of malloc() function calls
2010-07-01 Robert Larice
* src/frontend/inpcom.c,
* src/spicelib/devices/cktinit.c :
fix some typecasts to *malloc() return values
2010-07-01 18:43:28 +02:00
2010-07-01 Robert Larice
* src/frontend/inpcom.c : explicit compare with NULL
2010-06-30 22:08:57 +02:00
2010-06-30 Robert Larice
2010-07-01 18:43:28 +02:00
* src/frontend/com_ahelp.c : drop NULL casting
* src/frontend/com_measure2.c : dont mix enum with integer
* src/include/inpptree.h : add parameter-names to a prototype
* src/spicelib/parser/ptfuncs.c : add casts to anonymous data
2010-06-30 22:08:57 +02:00
2010-06-30 21:20:01 +02:00
2010-06-30 Holger Vogt
* inpcom.c: no braces in let, set commands inside control loop
* glob.c: reinstate {$var} expansion (patch by R. Larice)
2010-06-30 Robert Larice
* src/include/ftedev.h :
ansi prototypes for the function pointers in struct DISPDEVICE
typedef for those functions
* src/frontend/hpgl.h ,
* src/frontend/plotting/plot5.h ,
* src/frontend/plotting/x11.c ,
* src/frontend/plotting/x11.h ,
* src/frontend/postsc.h ,
* src/frontend/wdisp/windisp.h ,
* src/frontend/wdisp/winprint.h ,
* src/include/tclspice.h :
ansi prototypes, make use of the new typedefs
* src/frontend/display.c :
cast nodev and nop to the proper function type
* src/frontend/wdisp/windisp.c ,
* src/frontend/wdisp/winprint.c :
fix the type signature for the more or less unused _DefineColor() functions
fix the type signature for the WIN_Text() function, drop unused CentiDegrees
argument, which doesn't fit to struct DISPDEVICE
2010-06-29 23:18:34 +02:00
2010-06-29 Holger Vogt
* inpcom.c lines 743, 744 correct malloc for 64 bit LINUX
* inpcom.c, inpcom.h, nutinp.c, inp.c, fteext.h:
Command files spinit and .spiceinit (comfile==TRUE) will not be
treated by numparam processing.
Comment_out_unused_subckt() will no longer process lines inside
2010-06-29 23:18:34 +02:00
control section.
2010-06-28 Holger Vogt
* bsim3/b3set.c b3ld.c bsim3def.h: new preproc flag USE_OMP3
* bsim4/b4set.c b4ld.c bsim4def.h: OpenMP support for BSIM4 model
2010-06-27 Robert Larice
* src/xspice/enh/enhtrans.c:
drop useless cast of a copy() return value
2010-06-27 18:19:27 +02:00
2010-06-27 Holger Vogt
2010-06-27 18:19:27 +02:00
* numparam.h: short replaced by int
2010-06-27 Robert Larice
* src/ciderlib/support/database.c,
* src/frontend/com_let.c,
* src/frontend/define.c,
* src/frontend/gens.c,
* src/frontend/plotting/graphdb.c,
* src/frontend/plotting/plotcurv.c,
* src/frontend/plotting/plotit.c,
* src/frontend/postcoms.c,
* src/frontend/vectors.c,
* src/maths/poly/interpolate.c,
* src/spicelib/analysis/dctran.c,
* src/spicelib/analysis/dctrcurv.c,
* src/spicelib/devices/nbjt/nbjtset.c,
* src/spicelib/devices/nbjt/nbjttemp.c,
* src/spicelib/devices/nbjt2/nbt2set.c,
* src/spicelib/devices/nbjt2/nbt2temp.c,
* src/spicelib/devices/numd/numdset.c,
* src/spicelib/devices/numd/numdtemp.c,
* src/spicelib/devices/numd2/nud2set.c,
* src/spicelib/devices/numd2/nud2temp.c,
* src/spicelib/devices/numos/nummset.c,
* src/spicelib/devices/numos/nummtemp.c :
drop the casts for pointer arguments of bcopy() and bzero()
their arguments are declared to be void pointers.
FIXME, src/frontend/vectors.c vec_mkfamily()
ugly and propably simply incorrect pointer bistromatic,
allocating v_realdata, but copying to v_compdata
I left that one untouched, to be fixed later.
2010-06-27 Robert Larice
* src/frontend/arg.c,
* src/frontend/arg.h,
* src/include/fteext.h :
function arg_display()
change the arguments from none, to two unused args.
as to fit with struct comm.co_argfn function pointer
add unused attribute later.
2010-06-27 Robert Larice
* src/include/ipcproto.h,
* src/xspice/cmpp/ifs_yacc.y,
* src/xspice/cmpp/mod_yacc.y,
* src/xspice/cmpp/pp_mod.c,
* src/xspice/cmpp/read_ifs.c :
ansi function declarations (prototypes)
2010-06-27 Robert Larice
* src/main.c,
* src/spicelib/devices/dev.c,
* src/xspice/cm/cmmeters.c,
* src/xspice/cmpp/ifs_lex.l,
* src/xspice/cmpp/ifs_yacc.y,
* src/xspice/cmpp/mod_yacc.y,
* src/xspice/cmpp/pp_mod.c,
* src/xspice/cmpp/read_ifs.c,
* src/xspice/icm/digital/d_source/cfunc.mod,
* src/xspice/icm/digital/d_state/cfunc.mod,
* src/xspice/icm/dlmain.c,
* src/xspice/ipc/ipc.c,
* src/xspice/ipc/ipcsockets.c,
* src/xspice/ipc/ipctiein.c,
* src/xspice/mif/mif_inp2.c,
* src/xspice/mif/mifgetvalue.c :
convert K&R function definitions to ansi style
2010-06-26 Robert Larice
* src/include/opdefs.h,
* src/include/trandefs.h :
ansi function declarations (prototypes)
* src/ngproc2mod.c:
exit() lives in <stdlib.h>
2010-06-26 Robert Larice
* src/frontend/commands.c:
NULL needs no cast
2010-06-26 19:12:56 +02:00
2010-06-26 Robert Larice
* src/include/inpptree.h,
* src/spicelib/parser/ifeval.c,
* src/spicelib/parser/inpptree.c :
avoid function pointer warnings
2010-06-25 Robert Larice
* src/frontend/com_hardcopy.c,
* src/maths/sparse/spbuild.c,
* src/maths/sparse/spfactor.c,
* src/maths/sparse/spoutput.c,
* src/maths/sparse/spsolve.c,
* src/maths/sparse/sputils.c,
* src/spicelib/analysis/dcop.c,
* src/spicelib/parser/inppas1.c,
* src/xspice/ipc/ipcsockets.c :
remove redundant nested function declarations
2010-06-25 19:23:40 +02:00
2010-06-25 Robert Larice
* src/frontend/hpgl.h,
* src/frontend/parser/glob.c,
* src/include/cpdefs.h,
* src/include/cpstd.h,
* src/include/fteext.h ;
remove abandoned / nowhere-to-be-found non-ansi prototypes
2010-06-24 Robert Larice
* src/main.c :
make use of allready defined enumerate Ipc_Status_t (IPC_STATUS_OK)
* src/xspice/icm/digital/d_and/cfunc.mod,
* src/xspice/icm/digital/d_buffer/cfunc.mod,
* src/xspice/icm/digital/d_fdiv/cfunc.mod,
* src/xspice/icm/digital/d_inverter/cfunc.mod,
* src/xspice/icm/digital/d_nand/cfunc.mod,,
* src/xspice/icm/digital/d_nor/cfunc.mod,
* src/xspice/icm/digital/d_open_c/cfunc.mod,
* src/xspice/icm/digital/d_open_e/cfunc.mod,
* src/xspice/icm/digital/d_or/cfunc.mod,,
* src/xspice/icm/digital/d_xnor/cfunc.mod,
* src/xspice/icm/digital/d_xor/cfunc.mod :
make use of allready defined enumerate Digital_State_t (ONE,ZERO)
2010-06-24 12:25:05 +02:00
2010-06-23 Holger Vogt
2010-06-24 13:21:50 +02:00
* configure.in, INSTALL, DEVICES, bsim3/b3ld.c, bsim3/b3set.c, bsim3/bsim3def.f,
2010-06-24 12:25:05 +02:00
spinit.in: Multi-core support with OpenMP for BSIM3 vers. 3.3.0
2010-06-23 Robert Larice
* src/ngmultidec.c,
* src/frontend/inpcom.c,
* src/frontend/help/help.c,
* src/frontend/numparam/numpaif.h,
* src/frontend/numparam/xpressn.c,
* src/include/cpextern.h,
* src/include/cpstd.h,
* src/include/dgen.h,
* src/include/ftedbgra.h,
* src/include/fteext.h,
* src/include/hlpdefs.h,
* src/include/inpptree.h,
* src/include/sensgen.h,
* src/include/tfdefs.h,
* src/maths/cmaths/cmath2.c,
* src/maths/ni/niniter.c,
* src/spicelib/devices/cpl/cplload.c,
* src/spicelib/devices/cpl/cplsetup.c :
ansi function declarations (prototypes)
2010-06-23 Robert Larice
* src/main.c,
* src/frontend/com_measure2.c,
* src/frontend/hpgl.c,
* src/frontend/inpcom.c,
* src/frontend/numparam/spicenum.c,
* src/maths/misc/randnumb.c :
ansi function definitions, type foo() {} --> type foo(void) {}
2010-06-23 19:40:56 +02:00
2010-06-23 Robert Larice
* src/frontend/breakp.c,
* src/frontend/com_let.c,
* src/frontend/com_measure2.c,
* src/frontend/com_sysinfo.c,
* src/frontend/cpitf.c,
* src/frontend/dotcards.c,
* src/frontend/measure.c,
* src/frontend/mw_coms.c,
* src/frontend/mw_coms.h,
* src/frontend/runcoms.c,
* src/frontend/runcoms2.c,
* src/frontend/where.c,
* src/frontend/where.h,
* src/include/cpextern.h,
* src/include/fteext.h :
ansi function definitions and declarations for the com_*() functions.
remove some casts to NULL.
several com_*() functions don't use their argument, add unused attribute later.
2010-06-22 17:23:15 +02:00
2010-06-22 Holger Vogt
* b4soild.c: line 7598 double assignment of Cbg1 removed
2010-06-22 17:55:58 +02:00
* configure.in, /visualc/include/config.h: version 21plus
2010-06-22 17:23:15 +02:00
2010-06-21 08:17:47 +02:00
============================ Rework-21 ==================================
2010-06-20 14:09:08 +02:00
2010-06-20 Holger Vogt
* COPYING: further update to version 21
2010-06-20 12:43:50 +02:00
2010-06-20 Robert Larice
* Makefile.am, configure.in, manual/Makefile.am:
undo the manual inclusion, see "2010-06-13 Robert Larice"
the manual is now a package of its own,
cvs checkout ngspice/ng-spice-manual
cd ng-spice-manual ; ./configure
make dist # for the tar ball, that is manual source plus pdf manual
make install # to install the pdf
2010-06-20 12:04:50 +02:00
2010-06-20 Holger Vogt
* AUTHORS, INSTALL, COPYING, README: update to version 21
2010-06-20 09:27:52 +02:00
2010-06-19 Holger Vogt
* inpdomod.c: refernces to not existing MOS levels 60, 61 deleted.
2010-06-19 20:23:32 +02:00
2010-06-19 Holger Vogt
* subckt.c: line indentations
com_measure2.c: remove bug, see support tracker no. 3013968
2010-06-19 20:50:39 +02:00
inpcom.c: no braces around out_variable3 in
.MEASURE {DC|AC|TRAN} result FIND out_variable WHEN out_variable2=out_variable3
2010-06-19 20:23:32 +02:00
2010-06-19 Robert Larice
* ng-spice-rework/src/xspice/Makefile.am:
exclude some junk from `make dist'
`make dist' and `make ; make dist'
should yield the same tar-ball know
* ng-spice-rework/src/xspice/cmpp/Makefile.am:
fix missing dependencies to compute ifs_yacc.h and mod_yacc.h
to avoid ylwrap, and because bison is neccessairy somewhere else anyway,
switched from $(YACC) to $(BISON)
2010-06-17 Holger Vogt
* inpcom.c: in inp_fix_gnd_name() remove excessive white spaces
around 0 after replacing "gnd" by " 0 "
2010-06-16 00:39:09 +02:00
2010-06-16 Holger Vogt
* src/Makefile.am: for WINDOWS all of help files and
related files excluded
2010-06-14 22:01:29 +02:00
2010-06-14 Robert Larice
* Makefile.am:
exclude libtool from `make dist', revert its recent inclusion
* src/xspice/Makefile.am:
exclude the compiled codemodels from `make dist'
* src/xspice/cmpp/Makefile.am:
eliminate an automake warning
2010-06-13 20:55:18 +02:00
2010-06-13 Robert Larice
* Makefile.am, src/Makefile.am:
add `libtool' to `make dist'
add `src/spice.def' to `make dist'
remove `src/ngspice.idx' from `make dist'
it will be created new from `src/ngspice.txt' anyway
2010-06-13 Robert Larice
* src/ciderlib/support/Makefile.am:
add `readme' to `make dist'
* src/spicelib/devices/bsim3/Makefile.am,
* src/spicelib/devices/bsim3soi/Makefile.am,
* src/spicelib/devices/bsim3soi_dd/Makefile.am,
* src/spicelib/devices/bsim3soi_fd/Makefile.am,
* src/spicelib/devices/bsim3soi_pd/Makefile.am,
* src/spicelib/devices/bsim3v32/Makefile.am,
* src/spicelib/devices/bsim4/Makefile.am,
* src/spicelib/devices/bsim4v2/Makefile.am,
* src/spicelib/devices/bsim4v3/Makefile.am,
* src/spicelib/devices/bsim4v4/Makefile.am,
* src/spicelib/devices/bsim4v5/Makefile.am:
add some license files to `make dist'
* tests/general/Makefile.am:
add two tests, diffpair.cir and fourbitadder.cir, to `make dist'
2010-06-13 Robert Larice
* Makefile.am, configure.in, manual/Makefile.am:
make dist, shall compile manual.pdf from the lyx manual
and include it in the 'dist' tar ball
It is required to have checked out the CVS ng-spice-manuals module
side by side with the CVS ng-spice-rework module
2010-06-13 09:38:48 +02:00
2010-06-13 Holger Vogt
* NEWS updated
2010-06-12 Robert Larice
* man/man1/ngnutmeg.1, man/man1/ngspice.1: smaller cleanup
* man/man1/Makefile.am:: reintroduce those two man pages
2010-06-12 17:10:13 +02:00
2010-06-12 Holger Vogt
* /visualc/include/config.h: update to version 21
2010-06-12 17:47:54 +02:00
* configure.in: version 21
* FAQ: update
2010-06-12 11:00:32 +02:00
2010-06-11 Holger Vogt
* DEVICES: update 4.6.5
2010-06-12 12:13:15 +02:00
/man/man1/ngnutmeg.1 ngspice.1: updated with link to actual
ngspice documentation
2010-06-12 11:00:32 +02:00
2010-06-11 10:40:09 +02:00
2010-06-11 Holger Vogt
* ngspice.txt: notice to users: help file outdated
2010-06-04 22:16:43 +02:00
2010-06-04 Holger Vogt
* inpcom.c: bug report 3008000, overflow of fixed array of
2010-06-04 22:16:43 +02:00
used_subckt_names, used_model_names in fcn comment_out_unused_subckt_models
removed by dynamic memory allocation
2010-06-04 22:16:43 +02:00
2010-06-04 00:11:20 +02:00
2010-06-03 Holger Vogt
* src\spicelib\devices\bsim3soi
b4soi.c b4soiacld.c b4soiask.c b4soicheck.c b4soicvtest.c
b4soidef.h b4soidel.c b4soidest.c b4soiext.h b4soigetic.c
b4soiinit.c b4soiinit.h b4soiitf.h b4soild.c b4soimask.c
b4soimdel.c b4soimpar.c b4soinoi.c b4soipar.c b4soipzld.c
b4soiset.c b4soitemp.c b4soitrunc.c:
update to BSIM4SOI vers. 4.3.1
* misc/tilde.c: return path NULL added
2010-06-04 00:11:20 +02:00
2010-05-30 11:33:59 +02:00
2010-05-30 Holger Vogt
* xgraph/dialog.c: fcn getline renamed to getline_xgraph
* Makefile.am, frontend/Makefile.am include/Makefile.am
2010-05-30 11:57:30 +02:00
spicelib/parser/Makefile.am, tests/bsim3soi/Makefile.am
configure.in:
2010-05-30 11:33:59 +02:00
updates to allow 'make dist'
2010-05-30 19:22:30 +02:00
* com_hardcopy.c: allow filename without '.'
* device.c, b4soiask.c, b4soiset.c, b4ask.c, b4v2ask.c,
b4v3ask.c, b4v4ask.c, b4v5ask.c: add error handling and add
questions for 'show all'
2010-05-30 11:33:59 +02:00
2010-05-27 21:20:10 +02:00
2010-05-27 Holger Vogt
* inpcom.c: update B source pwl function handling
2010-05-26 07:51:04 +02:00
2010-05-26 Holger Vogt
* xspice api update: cmcm_analog_alloc() and cm_event_alloc()
ng-spice-rework/src/include/cmproto.h
ng-spice-rework/src/include/dllitf.h
ng-spice-rework/src/xspice/cm/cm.c
ng-spice-rework/src/xspice/cm/cmevt.c
ng-spice-rework/src/xspice/examples/nco/cfunc.mod
.../src/xspice/examples/real_delay/cfunc.mod
.../src/xspice/examples/real_to_v/cfunc.mod
.../src/xspice/icm/analog/d_dt/cfunc.mod
.../src/xspice/icm/analog/hyst/cfunc.mod
.../src/xspice/icm/analog/int/cfunc.mod
.../src/xspice/icm/analog/oneshot/cfunc.mod
.../src/xspice/icm/analog/s_xfer/cfunc.mod
.../src/xspice/icm/analog/sine/cfunc.mod
.../src/xspice/icm/analog/slew/cfunc.mod
.../src/xspice/icm/analog/square/cfunc.mod
.../src/xspice/icm/analog/triangle/cfunc.mod
.../src/xspice/icm/digital/adc_bridge/cfunc.mod
.../src/xspice/icm/digital/d_and/cfunc.mod
.../src/xspice/icm/digital/d_buffer/cfunc.mod
.../src/xspice/icm/digital/d_dff/cfunc.mod
.../src/xspice/icm/digital/d_dlatch/cfunc.mod
.../src/xspice/icm/digital/d_fdiv/cfunc.mod
.../src/xspice/icm/digital/d_inverter/cfunc.mod
.../src/xspice/icm/digital/d_jkff/cfunc.mod
.../src/xspice/icm/digital/d_nand/cfunc.mod
.../src/xspice/icm/digital/d_nor/cfunc.mod
.../src/xspice/icm/digital/d_open_c/cfunc.mod
.../src/xspice/icm/digital/d_open_e/cfunc.mod
.../src/xspice/icm/digital/d_or/cfunc.mod
.../src/xspice/icm/digital/d_osc/cfunc.mod
.../src/xspice/icm/digital/d_ram/cfunc.mod
.../src/xspice/icm/digital/d_source/cfunc.mod
.../src/xspice/icm/digital/d_srff/cfunc.mod
.../src/xspice/icm/digital/d_srlatch/cfunc.mod
.../src/xspice/icm/digital/d_state/cfunc.mod
.../src/xspice/icm/digital/d_tff/cfunc.mod
.../src/xspice/icm/digital/d_xnor/cfunc.mod
.../src/xspice/icm/digital/d_xor/cfunc.mod
.../src/xspice/icm/digital/dac_bridge/cfunc.mod
ng-spice-rework/src/xspice/icm/dlmain.c
.../src/xspice/icm/xtradev/capacitor/cfunc.mod
.../src/xspice/icm/xtradev/core/cfunc.mod
.../src/xspice/icm/xtradev/inductor/cfunc.mod
.../src/xspice/icm/xtradev/lcouple/cfunc.mod
.../src/xspice/icm/xtraevt/real_delay/cfunc.mod
.../src/xspice/icm/xtraevt/real_to_v/cfunc.mod
2010-05-22 17:46:41 +02:00
2010-05-22 Holger Vogt
* inpfindl.c: bugfix 3004317 allow level value number given by scientific
notation
2010-05-21 22:58:31 +02:00
2010-05-21 Holger Vogt
* inpcom.c: bugfix 2936702 correct handling of ternary fcn in numparam
2010-05-16 13:55:07 +02:00
2010-05-15 Holger Vogt
2010-05-16 18:31:03 +02:00
* inpcom.c: exclude comment lines from stripping EOL comments,
make ngspice abort if .inc <file> fails.
subckt.c: exclude *, and . lines from processing to
2010-05-16 13:55:07 +02:00
getting rid of ( ) around node lists
2010-05-14 22:26:54 +02:00
2010-05-14 Holger Vogt
* dllitf.h, cplsetup.c, cmexport.c, int/udnfunc.c, real/udnfunc.c, xspice.c:
tmalloc patch by R Larice
vngspice.sln, vngspice.proj: 64 bit support
inpcom.c: exclude .control ... .endc lines from fcn inp_bsource_compat
2010-05-14 22:26:54 +02:00
2010-05-12 22:48:23 +02:00
2010-05-11 Holger Vogt
* inpcom.c: new fcn inp_fix_gnd_name: 'gnd' replaced by ' 0 ', if delimiters
are '(' or ' ' or ',' on the left and ')' or ' ' or ',' on the right.
fcn inp_bsource_compat: 'm={m}' replaced by ' '
2010-05-12 22:48:23 +02:00
2010-05-10 Holger Vogt
* subckt.c:1349: fcn finishLine: add e. and h. to net name
inside i(...).
2010-05-09 14:47:43 +02:00
2010-05-09 Holger Vogt
* inpcom.c: patch 09/05/10 by Robert
2010-05-09 20:46:56 +02:00
* spinit.in: add ngbehavior
2010-05-09 20:57:31 +02:00
* inpptree.c: derivatives for fcns min and max
2010-05-09 14:47:43 +02:00
2010-05-08 Holger Vogt
2010-05-09 14:47:43 +02:00
* inpcom.c: patch 02/05/10 by Robert: avoid subtraction from a builtin 1.0
* inpcom.c: update to E, G sources with expressions
2010-05-08 17:47:24 +02:00
* inpcom.c, line 3707: put expression for dependent resistor in brackets
2010-04-26 Dietmar Warning
* parser/inpgval.c: correct parsing of integer model parameter given as double
(e.g. capmod=3.000e+00)
2010-04-24 00:00:40 +02:00
2010-04-23 Holger Vogt
* xpressn.c: agauss is no. 20
main.c, inp.c, inpcom.c, compatmode.h, inpptree.h, ifeval.c, inpptree.c, ptfuncs.c:
ngspice compatibility mode with various functions
2010-04-11 10:49:05 +02:00
2010-04-11 Dietmar Warning
2010-04-11 11:04:55 +02:00
* Robert Larice patch to allow new operations in control blocks:
* examples/new-check-3.sp, new-check-4.sp
2010-04-11 10:49:05 +02:00
* src/include/fteparse.h, ngspice.h
* src/frontend/parse*.*, evaluate.c, Makefile.am, src/misc/string.c, stringutil.h
2010-03-25 23:44:37 +01:00
2010-03-25 Dietmar Warning
* Bill Swartz patch:
* numparam/*.c, *.h, *.txt, misc/hash.c, string.c: local and global hash lists for subckts
* misc/dstring.c, include/dstring.h, Makefile.am: dynamic string feature
* analysis/cktop.c: remove the CR in some printf's
2010-03-21 22:23:47 +01:00
2010-03-20 Holger Vogt
* variable.c:450 prevent ngspice from crashing after command 'unset zzz',
2010-03-21 22:23:47 +01:00
when zzz is not defined
2010-03-20 16:32:23 +01:00
2010-03-20 Holger Vogt
* com_compose.c: comment corrected
2010-03-20 18:35:56 +01:00
* subckt.c, cktdefs.h, acan.c, ifeval.c, inp2b.c, inpptree.c, cktinit.c:
2010-03-20 16:32:23 +01:00
Variable HERTZ added to B source
2010-03-17 00:10:18 +01:00
2010-03-16 Holger Vogt
* xpressn.c: remove lines 291,292
2010-03-09 20:31:40 +01:00
2010-03-09 Dietmar Warning
* analysis/cktop.c: remove the CR in some printf's, need some tests with different terminals
* frontend/inp.c: cut the ouput message if wrong parameter warning to have a chance
2010-03-09 20:31:40 +01:00
to read it
* parser/inpgmod.c: want only the parameter names in output - not the values
* devices/vbic/vbic.c: correct a typo of eais/eaic model parameter leading in wrong
2010-03-13 12:53:13 +01:00
temperature model
2010-03-09 20:31:40 +01:00
2010-03-08 23:20:25 +01:00
2010-03-08 Holger Vogt
* parse.c, inpptree.c, inpptree-parser.y, inpptree-parser.c, inpptree-parser.h:
2010-03-08 23:20:25 +01:00
patches by R. Larice
2010-03-07 17:00:45 +01:00
2010-03-07 Holger Vogt
2010-03-07 16:59:08 +01:00
* inpcom.c: test for .end improved (comments are now allowed in .end line)
* xpressn.c: adding fcn sgn() to numparam function lib
* inpptree.h,asrcacld.c,asrcload.c,asrcpzld.c,asrcset.c,ifeval.c,inpptree-parser.c,
inpptree-parser.h,inpptree-parser.y,inpptree.c: patch R. Larice, add time and temper
variables to B source
2010-03-07 16:59:08 +01:00
2010-03-07 01:14:29 +01:00
2010-03-07 Dietmar Warning
* analysis/ninteg.c: limiting exp() in noise integration to prevent overflow and NAN
2010-03-07 09:54:43 +01:00
(ID: 2950943).
2010-03-07 01:14:29 +01:00
2010-02-28 18:52:43 +01:00
2010-02-28 Dietmar Warning
* com_gnuplot.c, gnuplot.c: cosmetics - missing LF on end
* fteext.h: complete prototypes for typesdef.c
* com_fft.c, com_fft.h: improve amplitude accuracy by considering zero padded vectors
correct the gaussian window, add the flattop window, precise the FFT information, clean-up
2010-03-03 21:03:54 +01:00
* cplsetup.c, cplload.c: omit complains from icc
2010-02-28 18:52:43 +01:00
2010-02-28 17:00:40 +01:00
2010-02-28 Holger Vogt
* inpcom.c, xpressn.c, inpptree.h, spicelib/parser/makefile.am, inpptree.c,
2010-02-28 17:00:40 +01:00
ptfuncs.c, inpptree-parser.y: replace parser for B source with BISON generated one.
Patch 2 from R. Larice
2010-02-27 22:11:30 +01:00
2010-02-27 Holger Vogt
* command.c, gnuplot.c, gnuplot.h, com_gnuplot.c, com_gnuplot.h, plotit.c:
new command 'wrdata file vecs' for simple tabular printout of data
2010-02-26 23:55:40 +01:00
2010-02-26 Holger Vogt
* vsrc.c, vsrcacct.c, vsrcask.c, vsrcdefs.h, vsrcload.c, vsrcpar.c:
PWL source now has a repeat parameter (r=value) and a delay parameter
(td=value)
2010-02-25 22:43:03 +01:00
2010-02-25 Holger Vogt
* inpcom.c, general.h, mystring.c, numparam.h, spicenum.c, xpressn.c,
2010-02-25 22:43:03 +01:00
include/makefile.am, misc/makefile.am, hash.c, hash.h:
major bug-fix on numparam by Bill Swartz
* subckt.c: bugfix on bxx_printf()
* inp.c memory leak, line 707 wl_free(wl); added
* ifeval.c, inpptree.c, inpptree.h: first try of ternary fcn in B source
by Robert Larice
* vngspice.sln, vngspice.vcproj: new files hash.c, .h added to project
2010-02-22 22:00:52 +01:00
2010-02-22 Dietmar Warning
* xpressn.c, spicenum.c: more characters for real number insertion (up to 15) by
2010-02-22 22:00:52 +01:00
introducing a long long placeholder
2010-02-21 14:51:18 +01:00
2010-02-21 Dietmar Warning
* /devices/bsim3soi/*.*: bsimsoi update to Berkeley Version 4.3
2010-02-15 11:28:48 +01:00
2010-02-15 Holger Vogt
* getopt_bsd.h, resask.c, optionssc.c: LF line endings
* evttermi.c: #include <strings.h> removed (is in ngspice.h)
* wdisp/makedefs, visualc/include/strings.h: removed
2010-02-13 15:47:45 +01:00
2010-02-13 Holger Vogt
* icm/dllmain.c, evtload.c, ngspice.h, terminal.c, evaluate.c, twomesh.c,
2010-02-13 15:47:45 +01:00
tclspice.c, conf.h, conf.c: patches by R. Larice 100213
2010-02-13 17:01:56 +01:00
* K&R -> ANSI patches by R. Larice 100103
2010-02-11 22:51:09 +01:00
2010-02-11 Holger Vogt
* terminal.h, cpextern.h: use format (__printf__, 1, 2)
2010-02-11 23:32:10 +01:00
* pzan.c, nipzmeth.c, cktpzstr.c, macros.h: remove conflicting macro definition
(MS Visual Studio) ERROR -> MERROR
2010-02-08 21:25:30 +01:00
2010-02-08 Holger Vogt
* com_sysinfo.c: 64 bit support enabled
2010-02-08 22:15:17 +01:00
* terminal.c, terminal.h, cpextern.h, ngsconvert.c, inpgmod.c, ipcsockets.c: patches by
R. Larice from Feb. 8th, 2010
2010-02-08 21:25:30 +01:00
2010-02-07 19:16:42 +01:00
2010-02-07 Dietmar Warning
* cpl/cplload.c, cplsetup.c, /txl/txlload.c, txlsetup.c, include/swec.h, multi_line.h,
frontend/subckt.c, parser/inp2p.c, inppas2.c: no more float's, improve dc solution by
2010-02-07 19:16:42 +01:00
introducing gmin deembedding, better model check, automatic maxStep adaption in tran
analysis, correct handling of kspice models in subckt's, kspice models are working now
more stable but accuracy in steady state of transient is not sufficient
2010-02-07 19:16:42 +01:00
* examples/TransmissionLines/*.sp: ommit itl5-warning
* tests/transmission/*.out: adapt reference files to new code behaviour, but this is still
a mess
2010-02-07 10:51:03 +01:00
2010-02-07 Holger Vogt
* inpcom.c: bug no. 2936702
* vngspice.sln, vngspice.vcproj: add 64 bit support
2010-02-07 21:57:12 +01:00
* measure.c, numpaif.h, numparam-h, spicenum.c, xpressn.c, subckt.c:
Put original input deck line number into numparam error message.
2010-02-07 10:51:03 +01:00
2010-01-30 14:29:48 +01:00
2010-01-30 Dietmar Warning
* b3soiddld.c, b3soifdld.c, cplload.c, cplsetup.c, inpcom.c, measure.c,
mystring.c, spicenum.c, txlsetup.c: using a controlled_exit to see error
2010-01-30 15:12:51 +01:00
messages in some places and get better program termination
2010-01-30 14:29:48 +01:00
* frontend/error.c, error.h: provide a simple controlled_exit function
* misc/util.c, util.h: remove controlled_exit function
2010-01-29 23:33:59 +01:00
2010-01-29 Holger Vogt
* commands.c: gnuplot need two args minimum
* xpressn.c: more characters for real number insertion (up to 15)
2010-01-27 22:30:59 +01:00
2010-01-27 Dietmar Warning
2010-01-28 21:19:16 +01:00
* cpl_ibm1.sp: fix the c matrix unsymmetry
* swec.h: set maximum cpl lines to eight
2010-01-27 22:30:59 +01:00
* inp2y.c, inp2p.c: parsing the length instance parameter in txl and cpl
* subckt.c: devmodtranslation for txl and cpl in subckt's
2010-01-17 18:24:10 +01:00
2010-01-17 Dietmar Warning
* examples/TransmissionLines: Hopefully more meaningful transmissionline examples
2010-01-19 22:49:53 +01:00
* misc/util.c: provide a simple controlled_exit function
* devices/cpl/cplsetup.c, cplload.c, devices/txl/txlsetup.c: using a controlled_exit
to see error messages in some places
2010-01-17 18:24:10 +01:00
2010-01-17 15:49:42 +01:00
2010-01-17 Holger Vogt
* subckt.c: .global bug by R. Larice
various files: patches by Robert (Neval, Nintegrate) from Jan 3 2010 and
2010-01-17 17:40:22 +01:00
10 patches from Jan 16, 2010
2010-01-17 20:06:03 +01:00
* com_hardcopy.c: switching graphics context correctly for postscript output
2010-01-29 23:33:59 +01:00
* winmain.c: parameter 4 to SystemParametersInfo() corrected
2010-01-17 15:49:42 +01:00
2010-01-16 23:29:26 +01:00
2010-01-16 Dietmar Warning
* tests/transmission: Only few tests should be easier, more examples under
2010-01-16 23:29:26 +01:00
examples/TransmissionLine at next
* tests/bin/check.sh: extend codemodel word in list
* devices/cpl/cplsetup.c: few polishments
* parser/inp2p.c, inp2y.c, inpdomod.c: change atof to INPevaluate to allow 10p as 10e-12
* parser/inppas2.c: correct P element comment
2010-01-15 Holger Vogt
* subckt.c: patch for translate() by R. Larice, .global bug
removed (add null character after storing global to node[])
ngspice.h: _inline for _MSC_VER
2010-01-06 Holger Vogt
2010-01-06 23:48:21 +01:00
* x11.c: hardcopy by button click, error removed
2010-01-02 Holger Vogt
2010-01-02 16:24:03 +01:00
* winmain.c: internal system() no longer needed, its available
in mingw and MS Visual Studio.
gnuplot.c: small update, call to gnuplot tested up to ver. 4.2.6,
does not work for Windows and gnuplot 4.4.
2010-01-02 19:05:07 +01:00
* x11.c: add xfont parameter
* windisp.c: add wfont and wfont_size parameter
* winmain.c: use SystemParametersInfo() to get screen size to
2010-01-02 19:05:07 +01:00
improve placement of GUI on the screen.
2010-01-02 16:24:03 +01:00
2010-01-01 14:13:48 +01:00
2010-01-01 Holger Vogt
* spinit.in: Small update
gnuplot.c: calling gnuplot via xterm
2009-12-31 16:37:08 +01:00
2009-12-31 Holger Vogt
2009-12-31 16:42:28 +01:00
* measure.c, resource.c, mesaload.c: small patches by R. Larice
graf.c, plotit.c: gnuplot updates, point chars updated
2009-12-31 16:37:08 +01:00
2009-12-30 14:23:57 +01:00
2009-12-30 Holger Vogt
* gnuplot.c: some additions
2009-12-29 19:18:47 +01:00
2009-12-29 Holger Vogt
* ngproc2mod.c: patch by R. Larice
gnuplot.c filename arrays enlarged
2009-12-29 19:18:47 +01:00
2009-12-28 Holger Vogt
* measure.c: comments,
2009-12-28 09:34:55 +01:00
/examples/control_structs/repeat3.sp: new examples snippets included
2009-12-22 16:03:58 +01:00
2009-12-22 Holger Vogt
* measure.c: bugfix (%f replaced by %e)
2009-12-21 01:27:15 +01:00
2009-12-21 Holger Vogt
2009-12-21 19:17:38 +01:00
* com_measure2.com, measure.c: add vectors to the meas command.
inpcom.c: no parsing of ternary function in .control section (not
yet defined anyway).
/examples/measure /examples/control_structs /examples/control_xspice:
2009-12-21 19:23:55 +01:00
new or updated example files.
2009-12-21 01:27:15 +01:00
2009-12-20 09:44:50 +01:00
2009-12-20 Holger Vogt
2009-12-20 17:43:51 +01:00
* fixing the time 0 value of sine in isrc, vsrc
* fteext.h, com_measure2.c, measure.c, commands.c:
New .meas functions min_at or max_at will return the x value (maximum at x)
meas command is now available in the .control ... .endc section in ngspice
(still not tested for all possible variations, but ...).
2009-12-20 09:44:50 +01:00
2009-12-19 Paolo Nenzi
* src/spicelib/devices/isrc/isrcacct.c, src/spicelib/devices/vsrc/vsrcacct.c:
fixed bug reported by Holger. "time" value in accept routine was incorrectly
computed when xspice extensions were compiled in.
2009-12-19 Holger Vogt
* main.c, inpcom.c: source file path added as additional search path for
opening .include files (MS Windows only).
2009-12-19 17:04:22 +01:00
measure.c: .meas only when -b and -r are not set
fteext.h: cleanup of unused entries
breakp2.c, dotcards.c, inp.c, main.c: comments added
2009-12-18 18:00:49 +01:00
2009-12-17 Dietmar Warning
2009-12-18 18:30:24 +01:00
* devices/bsim3/b3set.c: add the ngspice specific copyNodesets approach and remove
the tnom celsius -> kelvin transformation
* devices/bsim3/b3mpar.c: make the tnom celsius -> kelvin transformation in first run
* devices/bsim3v32/b3v32ld.c: reconstruct NEWCONV code, also if it is not
2009-12-18 18:00:49 +01:00
used because macro is set in macros.h, but is now inline with UCB code
* inpcom.c, spicenum.c, xpressn.c: prevent int to unsigned compare
* tests/transmission/ibm2.cir: wrong cpl model instantiation
2009-12-12 12:48:06 +01:00
2009-12-12 Holger Vogt
2009-12-19 17:04:22 +01:00
* runcoms: evaluate measure commands only when avaialble
2009-12-12 12:48:06 +01:00
* /examples/transimpedanceamp/output.net: correct .plot statement
* string.c: '^' added to is_arith_char(), to allow parsing of '^' in
.func function definitions
2009-12-11 17:26:17 +01:00
2009-12-11 Holger Vogt
* bug 2909730, patch for parsing expressions applied
2009-12-11 18:18:03 +01:00
* measure.c: Proper warning that .measure is not available in batch mode with -b
2009-12-11 17:26:17 +01:00
2009-12-10 22:03:38 +01:00
2009-12-10 Dietmar Warning
* spicelib/parser/inptree.c: omit some debug printf's
2009-12-10 22:03:38 +01:00
2009-12-07 22:16:55 +01:00
2009-12-07 Holger Vogt
2009-12-07 22:42:09 +01:00
* windisp.c: allow setting of linewidth by keyboard "set xbrushwidth=3"
* main.c: option -p "run in pipe mode" added (patch 1465202)
2009-12-07 22:16:55 +01:00
2009-12-06 19:31:12 +01:00
2009-12-05: Dietmar Warning
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
(e.g.: as1=as), there was a wrong memory access before
2009-11-29 16:09:13 +01:00
2009-11-29 Holger Vogt
* com_hardcopy.c, postsc.c, windisp.c: plotting with black or white background,
postscript to file with hardcopy command or menue entry from plot window
(still buggy with X11)
2009-11-29 16:23:51 +01:00
psmodel.c: changed the declarator to new format
2009-11-29 16:09:13 +01:00
2009-11-26 21:05:53 +01:00
2009-11-27 Dietmar Warning
* a bunch of files, most in device library: changed the declarator to new format to
allow safe prototype check (but stay in the original line order)
2009-11-24 22:30:43 +01:00
2009-11-24 Holger Vogt
* com_sysinfo.c: bugfix no. 2902374
2009-11-21 23:21:14 +01:00
2009-11-21 Holger Vogt
* spicelib/parser/inptree.c: memory allocation of struct pwldata->vals
2009-11-21 23:21:14 +01:00
failed in MS Visual Studio 2008, changed.
2009-11-20 Holger Vogt
* postsc.c: some cosmetics to postscript plot, hcopypstxcolor for
setting text color
2009-11-19 23:47:03 +01:00
2009-11-19 Holger Vogt
* com_hardcopy.c, postsc.c: hardcopy set to default postscript (under Windows),
LINUX and others require set hcopydevtype=postscript in spinit.
set hcopypscolor=0 in spinit will set background color (0==black, 1==white ...)
2009-11-19 23:47:03 +01:00
2009-11-17 23:51:55 +01:00
2009-11-17 Holger Vogt
* runcoms.c: comments added
2009-11-17 20:29:34 +01:00
2009-11-17 Dietmar Warning
* configure.in: add search for strings.h because AC_HEADER_STDC isn't sufficient
* com_measure2.c, 116: remove empty statement
* parser/inpfindl.c: rm the annoying bjt level warning
* parser/inpptree.c, ptfuncs.c: changed ancient double vector declaration in pwldata
2009-11-18 22:20:54 +01:00
* misc/misc_time.c: init structure rusage with 0 instead NULL
2009-11-17 20:29:34 +01:00
2009-11-16 22:45:12 +01:00
2009-11-16 Holger Vogt
* com_sysinfo.c: line 355 changed, allow mingw console compilation
runcoms2.c: cosmetics
2009-11-16 22:45:12 +01:00
cpitf.c, how-to-ngspice-vstudio.txt, visualc/include/config.h,
vngspice.sln, vngspice.vcproj: add console app to configuration
manager of Visual Studio
2009-11-15 22:22:04 +01:00
2009-11-15 Holger Vogt
2011-05-29 11:38:07 +02:00
* main.c, src/include/compatmode.h: compatibility mode flag for other simulators
2009-11-15 22:22:04 +01:00
xpressn.c: compatmode removed
2009-11-15 14:06:25 +01:00
============================ Rework-20 ==================================
2009-11-09 10:16:25 +01:00
2009-11-09 Dietmar Warning
* subckt.c: support of 5-terminal bjt's in subckt's by prepending subckt name (similar
things should be made for 5-7 terminal mos transistors, like soi models)
2009-11-08 10:26:51 +01:00
2009-11-08 Dietmar Warning
* numparam/xpressn.c: allow numbers < 1e-30 in fmttype, now everything < 1e-39 is 0
* numparam/mystring.c: using floor and ceil from math lib for rounding and truncation
2009-11-07 12:14:54 +01:00
2009-11-07 Holger Vogt
2009-11-15 22:22:04 +01:00
* winmain.c: replace strdup() by copy()
2009-11-07 12:14:54 +01:00
2009-10-31 12:11:13 +01:00
2009-10-31 Holger Vogt
* winmain.c: windows updated more often
how-to-ngspice-vstudio.txt: updated
2009-10-31 12:11:13 +01:00
2009-10-24 08:28:40 +02:00
2009-10-24: Dietmar Warning
* main.c: correct the command completion under X11, cooments and formatting
2009-10-18 15:46:40 +02:00
2009-10-18: Dietmar Warning
* inpptree.c: correct __func__ usage for different compiler
* string.c, stringutil.h: separate bcopy and bzero providing
2009-10-18 Holger Vogt
* main.c, winmain.c: graceful shutdown for MS Windows, "quit" button added
conf.c, vngspice.vcproj: build date actualization modified
2009-10-11 18:54:52 +02:00
2009-10-12 Holger Vogt
2009-10-11 18:54:51 +02:00
* main.c: bug no. 2874418, initialize global variable history_file
2009-10-11 10:51:48 +02:00
2009-10-10 Robert Larice
* ifeval.c, inpptree.c, inpptree.h, ptfuncs.c: PWL functionality for B sources
2009-10-04 17:57:10 +02:00
2009-10-04 Holger Vogt
* configure.in, /visualc/include/config.h, vngspice.vcproj:
version 20
* com_sysinfo.c: update for Cygwin
2009-10-04 17:57:10 +02:00
2009-10-04 13:50:04 +02:00
2009-10-04: Dietmar Warning
* com_sysinfo.c, ftext.h: sys_memory struct w/o static type, sysinfo w/o void Parameter
* inpcom.c, gnuplot.c, device.c, inp.c, resource.c, subckt.c,
2009-10-04 13:50:04 +02:00
com_fft.c, com_gnuplot.c, com_xgraph.c: initialize local variables
* b4soild.c, line 6394: Cbg1 wrong assignment
2009-10-04 09:32:29 +02:00
2009-10-04: Dietmar Warning
* b4ld.c, b4temp.c: better formatting to find the typo in
2009-10-04 09:32:29 +02:00
b4temp.c, line 1758: needs real compare (==) instead of assignment (=)
2009-10-04 14:28:24 +02:00
b4check.c: correct version now 4.6.5
2009-10-04 09:32:29 +02:00
2009-10-01 00:22:36 +02:00
2009-10-01 Holger Vogt
* /frontend com_sysinfo.c, commands.c, fteext.h, makefile.am:
command sysinfo added
* compatmode.c, compatmode.h: typo removed
2009-10-01 00:22:36 +02:00
2009-09-26 23:02:28 +02:00
2009-09-26 Holger Vogt
2009-09-26 23:03:44 +02:00
* windisp.c, compatmode.c, compatmode.h: CVS header added
2009-09-26 23:02:28 +02:00
(still not working with compatmode)
2009-09-22: Paolo Nenzi
* b4ld.c, b4temp.c: Updated BSIM4 code to BSIM 4.6.5
according to BSIM 4.6.5 bug report.
2009-09-20 22:28:12 +02:00
2009-09-20 Holger Vogt
* inpmkmod.c: fix bug no. 2859013
* INSTALL corrected
* xspice/mif/mifgetmod.c: comments
2009-09-19 Holger Vogt
* fteext.h, inpcom.c, inp.c, options.c, winmain.c:
variable ngdebug added, sets ft_ngdebug,
used for additional debug info printing
* dctran.c: setup info added
2009-09-19 23:18:04 +02:00
* inpdefs.h, inpmkmod.c: try to fix bug no. 2859013
2009-09-16 22:58:37 +02:00
2009-09-16 Holger Vogt
2009-09-26 23:02:28 +02:00
* inpcom.c: .global was disabled, reinstated
2009-09-15 00:34:17 +02:00
2009-09-15 Holger Vogt
* winmain.c: will output the time required for the setup stages,
2009-09-16 22:58:37 +02:00
if compiled with preprocessor flag NGDEBUG
2009-09-15 00:34:17 +02:00
2009-09-13 21:42:19 +02:00
2009-09-09 Holger Vogt
* inp.c: comments added, .TEMP evaluation before numparam parsing
* inpcom.c: comments added, inp_casefix() bug removed
* winmain.c: SetAnalyse() now writes to task bar, progress in 0.0%,
more ouput added for different phases during start up
(Start, Prepare Deck, Circuit2, Device Setup, op, tran ...)
* acan.c, cktsetup.c, dctran.c, dctrcurv.c, inp.c, inpas2.c, spec.c:
SetAnalyse() modified
2009-09-09 10:50:52 +02:00
2009-09-09 Holger Vogt
2009-09-09 11:33:14 +02:00
* com_measure2.c: some comments added
2009-09-09 10:50:52 +02:00
* windisp.c: white backgrond in plot with set color0=white, thicker
lines with set xbrushwidth=2 (0: standard) in spinit
2009-08-30 21:54:54 +02:00
2009-08-29 Holger Vogt
2009-08-30 12:56:50 +02:00
* measure.c, com-measure2.c, com-measure2.h: add DC and AC measurement
2009-08-30 13:08:47 +02:00
* /examples/measure: example file for .measure dc, ac, and tran added.
2009-08-30 12:56:50 +02:00
2009-08-26 08:09:13 +02:00
2009-08-25 Dietmar Warning
* src/spicelib/parser/inpptree.c: wrong derivative for u2 function -
2009-08-26 08:09:13 +02:00
bug reported and corrected by Robert Larice
2009-08-23 Holger Vogt
* upload of /frontend/compatmode.c, compatmode.h /misc/hash.c, hash.h
failed.
* xpressn.c: contents of compatmode.c and compatmode.h added as a
preliminary solution.
* misc/makefile.am: hash.c, mempool.c removed again
* forntend/makefile.am: compatmode.c removed again
2009-08-23 12:29:23 +02:00
2009-08-23 Holger Vogt
* /frontend/compatmode.c, compatmode.h /misc/hash.c, hash.h,
--> new .measurement code
2009-08-23 12:29:23 +02:00
2009-08-23 Holger Vogt
* /frontend/makefile.am, com_measure2.c, com_measure2.h, dotcards.c, dotcards.h, measure.c
/numparam/numparam.h, xpressn.c, /include/bool.h, macros.h, misc/makefile.am, tclspice.c,
visualc/vngspice.sln, vngspice.vcproj, compat
--> new .measurement code
tested for .tran simulation
2009-08-22 20:13:51 +02:00
2009-08-22 Dietmar Warning
* devices/bsim4/b4ld.c, b4noi.c, b4set.c, b4temp.c: Update to version 4.6.4
* subckt.c, 141: "/*" within comment
2009-08-23 12:29:23 +02:00
2009-08-12 Holger Vogt
2009-08-22 18:54:03 +02:00
* dctran.c, spiceif.c, options.c, fteext.h: option noinit added.
This option suppresses the printout of "Initial Transient Solution".
noinit may be combined with acct. noacct will suppress both printouts.
* spsmp.c, ngspice.h: reference to _logb added for _MSC_VER
2009-08-22 18:54:03 +02:00
2009-08-17 22:13:51 +02:00
2009-08-17 Holger Vogt
* inp.c: some comments added
2009-08-15 11:27:08 +02:00
2009-08-15 Holger Vogt
* cpitf.c: MS Windows: search for spinit also in local (ngspice.exe) directory
2009-08-17 22:13:51 +02:00
* cpextern.h: function parameters added in declaration
* com_alias.h, init.c, cpitf.c, main.c: comments added
2009-08-15 11:27:08 +02:00
2009-08-08 19:38:23 +02:00
2009-08-08 Paolo Nenzi
* src/frontend/resource.c: applied patch from Thomas D. Dean to remove
the limit warning.
2009-08-08 22:12:46 +02:00
2009-08-08 Holger Vogt
* measure.c, com_measure2.c, com_measure2.h, xpressn.c:
2009-08-08 22:12:46 +02:00
Patches from Bill Swartz added
* examples/inverter3.sp: test of new features
2009-08-08 22:12:46 +02:00
2009-08-08 15:48:06 +02:00
2009-08-08 Holger Vogt
* measure.c: add more comments
* example/func_cap.sp, inverter.sp, inverter2.sp: hint to
start examples only in interactive mode.
2009-08-06 00:27:55 +02:00
2009-08-05 Holger Vogt
* measure.c: add comments (not yet complete)
2009-08-04 21:30:09 +02:00
2009-08-04 Dietmar Warning
2009-08-04 21:30:55 +02:00
* configure.in, ngspice.h: looking for unistd.h & usage
2009-08-04 21:30:09 +02:00
* bsim2/b2ld.c: correct args size
* bsim3soi/b4soild.c: init Cbg1
* cmath2.c: init vector d
2009-07-30 20:31:38 +02:00
2009-07-30 Dietmar Warning
* frontend/inpcom.c: refurbish spice3 syntax for r models with alternative
2009-07-30 20:31:38 +02:00
value like: "r1 a b 2k rmodel"
* parser/inp2r.c, inp2l.c, inp2c.c: allow r,l,c element instantiation e.g. r=50
2009-07-28 Holger Vogt
* ChangLog repaired (broken since rev. 1.417)
2009-07-28 23:10:06 +02:00
* inpcom.c repaired (broken in CVS)
2009-07-25 12:22:23 +02:00
2009-07-25 Dietmar Warning
* bsim3v32/b3v32temp.c: init struct pParam
* ngspice.h: prototype for getpid under mingw
* main.c, winmain.c: small cosmetics
2009-07-22 23:07:01 +02:00
2009-07-21 Dietmar Warning
* bsim3v32/b3v32temp.c, bsim4/b4temp.c: backup to the original code -
2009-07-22 23:07:01 +02:00
without the FREE(model->pSizeDependParamKnot), if we want call models in a loop,
we should introduce this unique to all models
2009-06-11 Holger Vogt
* conf.c: editor notepad.exe also with MS Visual C++
* /examples/TransImpedanceAmp/output.net: change integration method
to 'gear' for achieving convergence
* cpitf.c, ivars.c: add some comments
2009-06-11 23:01:40 +02:00
* inp.c, dotcard.c: allow .meas
* example/inverter.sp: add .meas .. WHEN ...
2009-05-24 19:11:10 +02:00
2009-05-24 Dietmar Warning
* tcl-testbench4.tcl: correct path to codemodel
* FB14.cir: better breakthrough current in bas70
2009-05-21 Holger Vogt
* evaluate.c, outitf.c, sim.h: use SV_ADMITTANCE for plotting @dev[gxx]
* defines.h change signal prototype for _MSC_VER
2009-05-21 10:11:21 +02:00
2009-05-21 Paolo Nenzi
* src/frontend/postcoms.c: Fix from Lemaitre Laurent to avoid a segmentation
fault when v->v_plot->pl_scale is NULL.
2009-05-24 19:11:10 +02:00
2009-05-16 Holger Vogt
* inpcom.c lines 778ff: allow the following .model names:
First character is alphabetical
First character is digit, second alpha, third digit
First character is digit, second alpha, third alpha, fourth digit
2009-05-16 Holger Vogt
* inpcom.c lines 2940ff fix case 'q'
* inp.c:788 error message with original line number from
input deck
2009-05-24 19:11:10 +02:00
* inp2q.c:155 error message if no model is found and default
BJT is selected instead
2009-05-24 19:11:10 +02:00
2009-05-12 Holger Vogt
* inpcom.c fcn inp_fix_gnd_name() remove excessive white
spaces after replacing gnd by 0
2009-05-11 Holger Vogt
* src/makefile.am replace -lBLT24.dll by -lBLT24 in line 247
2009-05-24 19:11:10 +02:00
2009-05-10 Holger Vogt
* subckt.c:1348 find last dot, not first dot in model_name
2009-05-09 Holger Vogt
* graf.c: graphics scaling during iplot made a little more
2009-05-24 19:11:10 +02:00
convenient
2009-05-06 Holger Vogt
* pp_lst.c:428 malloc(len+1) +1 added (bug report 2787072)
2009-05-24 19:11:10 +02:00
configure.in:803, 958 (bug reports 1834772, 2787076 and 2787079)
2009-05-02 Holger Vogt
* new flag NGDEBUG
main.c, signal_handler.c, visualc/vngspice.vcproj:
restore SIGSEGV signal handling for error message after seg fault
(not in debug mode, now only for Windows)
dctrcurv.c: winmessage about dc
2009-05-24 19:11:10 +02:00
2009-05-01 Holger Vogt
* cktdojob.c, cktsopt.c: moved to cktsopt.c:
maxord set to min 2 or max 6
2009-05-24 19:11:10 +02:00
2009-04-28 Holger Vogt
* winmain.c, inp.c, cktop.c: SetAnalyse() modified/added
cktdojob.c: maxord set to minimum 2 (prevent crash in dctran.c:774)
2009-05-24 19:11:10 +02:00
2009-04-26 Dietmar Warning
* devices/cktinit.c: prototype load_alldevs not needed
* ngspice.h: float.h before defines.h, some more function mapping in _MSC_VER section
2009-04-26 Dietmar Warning
* measure.c, inpcom.c: winmessage only for windows
* misc/util.c, tilde.c, math/poly/ployfit.c: relay to ngspice.h
* main.c, tclspice.c, misc/mktemp.c, misc/string.c: don't need include string.h because
it comes from central place ngspice.h
2009-04-26 Holger Vogt
* xpressn.c:400 Suppress message "cannot redefine"
2009-04-25 Holger Vogt
* configure.in, visualc/include/config.h: NGSPICEDATADIR set to $dprefix/share/ngspice
2009-04-23 Holger Vogt
* measure.c, inpcom.c, : winmessage() header added
============================ Rework-19 ==================================
2009-04-23 Holger Vogt
* measure.c: .measure broken for trig, targ
2009-04-22 Holger Vogt
* bsim4v2init.c, bsim4v3init.c: CIDER added
2009-05-24 19:11:10 +02:00
2009-04-22 Holger Vogt
* inpcom.c measure.c mystring.c alloc.c: show Windows error
2009-05-24 19:11:10 +02:00
message before exiting
2009-04-21 Dietmar Warning
* devices/bsim4/*.c, /vbic/*.c: Parameter declaration in function header
2009-05-24 19:11:10 +02:00
2009-04-20 Holger Vogt
* src/spice.def: for creating dll
* src/makefile.am: libs for tclspice MINGW added
* configure.in: automatically select building shared or static libraries
* tclspice.c: some additions for MS Visual 2008
2009-04-18 Dietmar Warning
* devices/bsim3soi/*.c, *.h, tests/bsim3soi/*.cir, *.out, *.mod, DEVICES:
2009-05-24 19:11:10 +02:00
Update to actual version 4.1, contrary to the comment in Berkeley doc's the model
is not full downward compatibel to version 4.0
* spicelib/parser/inpgmod.c, 251: using strcmp again, instead of strstr -
2009-05-24 19:11:10 +02:00
we need absolute equality to distinguish between node and model names.
2009-04-18 Holger Vogt
* INSTALL: chapter 1.5 added (separate object file directory tree)
2009-04-17 Holger Vogt
* resource.c: 27 allow compilation into a build directory
2009-04-14 Holger Vogt
* control.c: remove bug no. 2724127 repeat loop inside another loop
* dotcards.c, inp.c, measure.c: patch submitted by Bill Swartz added
2009-05-24 19:11:10 +02:00
2009-04-12 Holger Vogt
* spicenum.c, xpressn.c: dico and inst_dico no longer removed in nupa_done
2009-05-24 19:11:10 +02:00
because they are needed in .measure
* lexical.c: size of arrays doubled in cp_lexer() to avoid "line too long"
message
* runcoms.c: enter do_measure() only if ft_curckt->ci_last_an has a value
(bug no. 2751855)
2009-05-24 19:11:10 +02:00
* winmain.c: winmessage() only if message not into log file
* windisp.c: WIN_Text() now uses True Type Fonts and may display text
vertically
* misc/getopt_long_bsd.c getopt_bsd.h: add a BSD version of getopt_long()
getopt.c, getopt1.c, getopt.h removed
* misc/makefile.am: add (remove) files
* configure.in: check for getopt.h and getopt_long(), if not found, use
internal functions in getopt_long_bsd.c
2009-05-24 19:11:10 +02:00
Replace package name ng-spice-rework with ngspice
Change version number to 19
* main.c: chosse proper getopt_long(), winmessage()
* visualc/vngspice.vcproj: files added (removed)
* visualc/include/config.h: new version 19
2009-05-24 19:11:10 +02:00
2009-04-10 Holger Vogt
* spicenum.c: memory leak removed
2009-05-24 19:11:10 +02:00
2009-04-05 Holger Vogt
* com_fft.c, inpcom.c, variable.c, variable.h, resource.c, cpitf.c,
plotit.c, inpgtok.c:
2009-05-24 19:11:10 +02:00
some more memory leaks removed
* spicenum.c: release of memory for dico->dyncategory corrected
* subckt.c, inp.c, inpcom.c: more on memory leaks
* subckt.c, spicenum.c: make call to fcn nupa_done() at the end of
fcn inp_subcktexpand() to clear memory.
2009-04-01 Dietmar Warning
* frontend/resource.c, misc/misc_time.c: init of rusage structure to prevent
read of uninitialized memory, found with dbx under solaris
2009-03-29 Holger Vogt
* inp.c, variable.c: some more memory leaks removed
2009-03-27 Holger Vogt
* inpcom.c, variable.c, cpitf.c: memory leaks removed, which were detected by
valgrind-3.4.1 under SUSE 11.1
2009-03-22 Holger Vogt
* inpcom.c: readline() now returns /n for an empty line, dynLlen consists of
maximum line length plus some space for parameter substitution and has a
minimum size of 512.
* spicenum.c, xpressn.c, general.h, numparam.h: dynamic memory allocation
also for all string manipultions, Strbig now is a macro using tmalloc,
2009-05-24 19:11:10 +02:00
the macro Strrem deallocates the memory, the size of the arrays is dynLlen.
2009-05-24 19:11:10 +02:00
2009-03-21 Holger Vogt
* inpcom.c, fteinp.h, inpdefs.h: line renumbering of input deck added
to the end of fcn inp_readall(). cc->li_line_original now contains
the line numbering of the input file
2009-03-15 Holger Vogt
* cktfinddev.c: some (optical) cleanup
* numparam.h, xpressn.c, spicenum.c, inpcom.c: dynamic memory
allocation for numparam (the easier part)
2009-05-24 19:11:10 +02:00
2009-03-08 Holger Vogt
* dctran.c no printout of 'Initial transient solution' if
2009-05-24 19:11:10 +02:00
.options noacct is set
2009-03-08 Holger Vogt
* plotit.c fcn plotit(): add quotes again for xlabel, ylabel, title
in cline
2009-03-07 Holger Vogt
* inpcom.c fcn inp_fix_for_numparam(): no quotes changed for plot lines within
control section, e.g. plot v(2) xlabel 'my input' ylabel 'output'
2009-03-07 Dietmar Warning
* tests/bsim4/*.out: same as below for bsim3
2009-03-07 Holger Vogt
* spicenum.c inpcom.c subckt.c xpressn.c numpaif.h numparam.h general.h
Collect information to allow dynamic memory allocation for numparam
( Still to be implemented ! )
Defined in inpcom.c: dynmaxline dynnLen dynMaxckt dynsubst
2009-03-03 Dietmar Warning
* tests/bsim3/*_sim/*.out: adapt output format to spice3 numdgt convention, most
2009-05-24 19:11:10 +02:00
tests are running except tran tests and op-amp ac test.
* test/bin/check.sh: extend the filter rules by two keywords, not nice but works
2009-03-01 Dietmar Warning
* spicelib/parser/inp2q.c: allow 4-terminal instances for adms, then the fifth
node will be set to ground (same as substrate node for gp if fourth node
2009-05-24 19:11:10 +02:00
isn't set). Checked with lots of examples but not 100% waterproof.
* tests/bsim3: reorganized the entire directory structure with focus only to the
latest published Berkeley testbench for bsim3. ac and tran test included but
there are still problems in comparing their spice3 results to ngspice.
* adms/hicum0,hicum2,mextram/*.va: Using GMIN from simulator will improve op
2009-05-24 19:11:10 +02:00
solution, e.g. by gmin stepping. The coupling of _circuit_gmin to ckt->CKTgmin
is generated by adms in ngspiceMODULEdefs.h.
2009-02-28 Holger Vogt
* inp.c:605 ff, fcn inp_spsource(), if preproc. flag OUTDECK defined,
the deck is saved as debug-out2.txt, here after parameter substitution
2009-02-25 Holger Vogt
* inpdomod.c:436 error message adapted to existing devices
* /frontend/numparam/numparam.h, general.h: length of char arrays
set to 40000
* inpcom.c: preprocessor flag OUTDECK, if set will save complete
2009-05-24 19:11:10 +02:00
deck into debug-out.txt
2009-05-24 19:11:10 +02:00
2009-02-25 Dietmar Warning
* spicelib/parser/inp2q.c,155: 5-terminal only for adms bipolars
2009-02-24 Dietmar Warning
* configure.in: removed Makefile for tests/TransImpedanceAmp
* tests/bsim3/.../ac_sim/*.out: removed the imaginary part of frequency on x-axis
2009-02-23 Dietmar Warning
* spicelib/parser/inpgmod.c: correct strstr compare
* /tests/bsim3/*.cir: .options noacct added
* /tests/bsim3/modelcard.*mos: correct level=8 and set version
* /tests/.../*.cir: add level parameter for bjts to suppress the long line warning
2009-02-22 Holger Vogt
* xspice/icm/makefile: *.cm for CYGWIN need to be made executable
2009-05-24 19:11:10 +02:00
(755 instead of 644)
* fteext.h spiceif.c options.c dotcards.c: .options NOACCT added
* /tests/.../*.cir .options noacct added (except BSIM3 files)
* main.c:614 allow null terminator in string
2009-02-22 Dietmar Warning
* devices/adms/mextram: Update to release version 504.7 now with selfheating
as a 5 terminal version
* tests/adms/mextram/*.sp: additional parameters for new mextram version needed
* spicelib/parser/inpgmod.c, inp2q.c: Correct handling of adms 5 terminal models
2009-02-21 Holger Vogt
* parse.c:922 prevent automtic deletion of @xxx[par]
winmain.c: increased width of ngspice window to allow display
of 80 characters per line (e.g. for command 'show'
/tests/bin/check.sh: allow make check for CYGWIN (will fail though)
2009-02-20 Holger Vogt
* x11disp.c: allow closing of help windows with WM x-button
2009-02-14 Dietmar Warning
* src/spicelib/parser/inpdomod.c: map level 10 to bsimsoi4 and map ancient
2009-05-24 19:11:10 +02:00
version 4.0 and 4.1 of bsim4 to available version 4.2
* DEVICES: corrections and actualizations, add short adms model descriptions
* adms/hicum0/admsva/hicum0.va: a slight fix of TFH in version 1.12
* adms/hicum2/admsva/hicum2.va: general update to version 2.23
2009-02-12 Dietmar Warning
* src/include/missing_math.h, src/maths/misc/isinf.c: fix a conflict under
certain conditions
2009-05-24 19:11:10 +02:00
2009-02-12 Holger Vogt
* device.c:908 remove bug: reset i to 0
x11.c: allow closing of plot windows with WM x-button
2009-02-10 Holger Vogt
* windisp.c, X11.c, postcom.c
'destroy plot1' now deletes all graphs (plot windows)
associated with the plot 'plot1' before the data of plot1
are deleted, to prevent a crash due to unsuccessful redrawing
2009-05-24 19:11:10 +02:00
2009-02-07 Holger Vogt
* device.c, inpcom.c
alter and altermod commands reinstated and improved
2009-02-01 Dietmar Warning
* alloc.c, outitf.c: exclude heap usage for windows compile under __MINGW__
* resource.c: meminfo api usage not for commandline version
2009-02-01 Holger Vogt
* alloc.c, outitf.c: Use the new heap only for tclspice in Windows
(HAS_TCLWIN defined) because of a crash in the 'destroy' command
2009-05-24 19:11:10 +02:00
inpcom.c:1807 do not remove white spaces in an alter or altermod command
2009-01-31 Holger Vogt
* xpressn.c, spicenum.c, numparam.h, runcoms.c, runcoms2.c:
Incompatibilty to MAC OSX removed by proper variable declarations
* subckt.c: bug no. 2293284: preliminary change, further tests required
2009-05-24 19:11:10 +02:00
2009-01-26 Lionel Sainte Cluque
* man/man1/ngspice.1,
* man/man1/nutmeg.1:
apply Ahmed El-Mahmoudy's patch on hyphens in manpages.
2009-01-18 Paolo Nenzi
* src/frontend/plotting/plotit.c,
* src/frontend/plotting/plotcurv.c:
33: Fixed some of the existing problemass SMITH PLOT. There were 2 errors:
one in plotit() to calculate the transformation line (r-1) / (r +1)
2009-05-24 19:11:10 +02:00
where a mistake was made in the process of plotting a single real point
and the other in ft_graf() that would print imaginary part = real part
for real data. A. Roldan - espice
32: Fixed some problems the existing polar PLOT. To summarize the
problems were in the wrong calculation of the size of x and y axes
for the plot. A. Roldan - espice
2009-05-24 19:11:10 +02:00
2009-01-18 Holger Vogt
* src/frontend/mw_coms.c: variable declarations to top of function
* outif.c, alloc.c: add HAS_TCLWIN flag to allow coimpilation of
2009-05-24 19:11:10 +02:00
tclspice under MS VC++
2009-01-16 Paolo Nenzi
* src/frontend/mw_coms.c, src/frontend/commands.c,
2009-05-24 19:11:10 +02:00
* src/frontend/runcoms.c, src/include/fteext.h:
34,
36,
38: Added the removecirc command. This command removes the current
2009-05-24 19:11:10 +02:00
circuit and its associated plots. This comes from an old function
written by M. Widlok and updated by A. Roldan for espice.
Note: I have changed the code to eliminate GTK functions and tested.
Things work but in ngspice there is a problem due to model redefinitions,
as it seems that in ngspice models are globals. Need further
2009-05-24 19:11:10 +02:00
investigation. P. Nenzi
* src/frontend/commands.c, src/frontend/misccomms.c:
24: Added the parameter "noask" to quit command to avoid the question
before exiting ngspice. A. Roldan - Espice
2009-05-24 19:11:10 +02:00
* src/frontend/evaluate.c, src/frontend/typedefs.c, src/include/sim.h:
Added some vector types from Espice (impedance, admittance, power etc.)
The original implementation by A. Roldan did not fit immediatly. I had
to comment two definitions. I could not test "plotab".
2009-05-24 19:11:10 +02:00
2009-01-16 Paolo Nenzi
* src/frontend/evaluate.c, src/frontend/typedefs.c, src/include/sim.h:
Added some vector types from Espice (impedance, admittance, power etc.)
The original implementation by A. Roldan did not fit immediatly. I had
to comment two definitions. I could not test "plotab".
2009-05-24 19:11:10 +02:00
2009-01-15 Paolo Nenzi
* src/spicelib/devices/vsrc/vsrc.c,
* src/spicelib/devices/isrc/isrc.c,
* src/frontend/spiceif.c,
* src/frontend/device.c,
* src/frontend/postcoms.c,
* src/frontend/vectors.c:
17: New capability of print command. It is now possible to print and
alter vectors of reals like print @vin_sin[sin] to print the vector
of parameters defining the sinusoidal source (it works with both the
2009-05-24 19:11:10 +02:00
sources type). It is possible to alter the parameters with the command
alter @vin_sin[sin] = ( 1 1 3000Hz ). A. Roldan -Espice
Note: alter syntax does not work in full yet, it still generate an
error but modifies the parameters. P. Nenzi
2009-05-24 19:11:10 +02:00
2009-01-15 Paolo Nenzi
* src/frontend/vectors.c:
57: Fixed I(vx), before the if I(*) (upper case) was not recognized as the
function to plot the current of vx. A. Roldan - Espice
* src/frontend/postcoms.c:
7: Fixed plot number after "destroy all" command. A. Roldan - Espice
2009-05-24 19:11:10 +02:00
* src/include/fteext.h
* src/frontend/evaluate.c, src/frontend/cpitf.c, src/frontend/parse.c
2009-05-24 19:11:10 +02:00
* src/maths/cmaths/cmath2.c, src/cmaths/cmath4.c, src/cmaths/cmath4.h:
16: New function to compute the group delay has been implemented.
Group delay is defined as -(dphase/dfrequency) and can be printed or
plotted by writing vg(x), where x is a complex vector. A. Roldan - Espice
15: Fixed existing problems in this function due to the complex nature of
2009-05-24 19:11:10 +02:00
the frequency vector. To get the data from frequency[i], the real part
must be accessed. A. Roldan - Espice
14: New function to compute the moving average. A. Roldan - Espice
2009-01-15 Paolo Nenzi
* src/frontend/{spiceif.c, spiceif.h, vectors.c}, src/include/fteext.h,
* src/main.c:
2009-05-24 19:11:10 +02:00
3: A new function finddev_special() has been introduced to look for
references like @BC107[is] and to verify if we asked for a model
or a device and thus call the spif_getparam_special() correctly
in vectors.c. The new @ syntax is @{model,device}[parameter].
- A. Roldan - Espice.
Note: I have modified the implementation putting the
spif_getparam_special() in the if_getparam definition in main.c
2009-01-15 Dietmar Warning
* src/include/wstdio.h: read fct. prototype for older MSC compiler
* src/misc/alloc.c: heap also needed under windows with tcl
* src/frontend/resource.c: resource info under Windows w/o psapi, still not yet perfect
2009-05-24 19:11:10 +02:00
2009-01-11 Dietmar Warning
* src/spicelib/devices/hisim/hsm1eval1xx.c,
2009-05-24 19:11:10 +02:00
src/spicelib/devices/bsim3soi_x/b3soild.c: using ngspice.h as a central place
2009-01-10 Holger Vogt
* windisp.c: improve plot window handling, still not yet perfect
2009-01-09 Dietmar Warning
* src/misc/alloc.c, src/frontend/outitf.c: heap only needed under windows for zoom
2009-01-05 Dietmar Warning
* src/math/misc/isinf.c, isnan.c, src/include/missing_math.h: small polish for
2009-05-24 19:11:10 +02:00
HAVE_DECL_XXX macros, more elaborate isinf function
* src/include/memory.h: prototype for hrealloc fct.
* adms/hicum2/amsva/hicum2.va: update to actual version 2.22, very small
2009-05-24 19:11:10 +02:00
modifications compared to the original va code.
2009-01-04 Dietmar Warning
* src/math/misc/isinf.c, Makefile.am: a simple (but ugly) workaround for isinf
2009-05-24 19:11:10 +02:00
needed by some adms generated models
* src/include/ngspice.h, missing_math.h: try to catch isinf by ieeefp.h
* adms/ekv/amsva/ekv.va: compatibility regarding S/D diode behaviour
2009-01-02 Dietmar Warning
* adms/ekv/amsva/ekv.va: EPFL-EKV version 2.63, replacement of the long channel
version with a code according to the official manual (revision II) available
2009-05-24 19:11:10 +02:00
at http://legwww.epfl.ch/ekv, contribution of Ivan Riis Nielsen 11/2006.
* /src/frontend/wdisp/windisp.c, 398: windows zoom was broken - %le for double
2009-05-24 19:11:10 +02:00
seems not more ignored, changed to more suitable %e
2009-01-01 Dietmar Warning
* configure.in, include/missing_math.h, src/math/misc/isnan.c: POSIX conform
2009-05-24 19:11:10 +02:00
configure isnan, isinf macros and finite function
* admst/ngspiceMODULEdefs.h.xml: some cc needs double cast for isinf macro
2008-12-31 Holger Vogt
* resource.c: streamline resource info under Windows
* tclspice integration under Windows: dctran.c, inpfindl.c, outitf.c, alloc.c,
tclspice.c, winmain.c: type definitions, printf -> fprintf,
new heap for plot data to prevent memory fragmentation
* configure.in: new flags for TCL under Windows: HAS_TCLWIN
(is set instead of HAS_WINDOWS), TCLWIN (for generating makefiles,
2009-05-24 19:11:10 +02:00
instead of WINDOWS)
* cmath/makefile.am: prevent making test executables under TCL/Windows
2009-05-24 19:11:10 +02:00
2008-12-26 Dietmar Warning
* autogen.sh, configure.in: A hopeful way to integrate adms - ugly, but tested
under linux, sunOS and msys with and w/o adms enabled.
* src/spicelib/devices/adms/hicum0: updated verilog code with small adaption
to actual hicum0 version 1.2
* tests/adms/hicum0: using one library file for tests
2008-12-23 Holger Vogt
* resource.c: for tclspice HAS_WINDOWS replaced by _MSC_VER and __MINGW32__
* outitf.c, cktdojob.c: printf replaced by fprintf
* cpitf.c:216 s replaced by copys
* tclspice.c:2168 init_rlimits( ) added to get startup system info
2009-05-24 19:11:10 +02:00
2008-12-22 Holger Vogt
* /spicelib/parser/inpdomod.c: checks for BSIM3 and BSIM4 look for
major versions 3.2, 3.3, 4.2 - 4.6
2009-05-24 19:11:10 +02:00
2008-12-22 Dietmar Warning
* adms/admst/ngspiceMakefile.am.xml: switch to libtool (unfortunately!)
2008-12-20 Holger Vogt
* bug 2449483 removed: inpdomod.c:293 added as in b3v32check.c:42
2008-12-14 Dietmar Warning
* src/Makefile.am: "hard wired" makefile dependency generation compiler options
removed for main.c - this should be done by libtool, left it for tclspice and
2009-05-24 19:11:10 +02:00
xspice codemodels (see below)
* src/xspice/icm: removed Makefile.am - not used, configuration relays
on makedefs.in and fixed Makefile, these files have now sun compiler
2009-05-24 19:11:10 +02:00
specific options DEPFLAGS added
* src/xspice/ipc/ipc*.c: prevent some warnings under sun compiler
2009-05-24 19:11:10 +02:00
2008-12-07 Dietmar Warning
* src/main.c: double semikolon in nutmeginfo decl. gives:
"syntax error: empty declaration" under solaris ss12
2009-05-24 19:11:10 +02:00
2008-12-06 Holger Vogt
* frontend/spec.c, com_fft.c: free_pnode(first_name); moved further down to allow
'fft vout' instead of only 'fft v(vout)'
============================ Rework-18 ==================================
2008-11-30 Lionel Sainte Cluque
* configure.in: --with-tcl search path make broader to limit the need of the
optional argument. Message in case of tclConfig.sh file not found
fixed by sed.
* examples/tclspice/*/*.tcl: fixed load libspice lines due to the
directories hierarchy. (One level more)
2008-11-29 Holger Vogt
* frontend/numparam/xpressn.c: rand() and gauss() moved to
2009-05-24 19:11:10 +02:00
math/misc/randnumb.c
-> 'set rndseed=value' value = integer > 0 in spinit will yield
deterministic pseudo random number sequence.
-> random() and rand() with correspongding max value
2009-05-24 19:11:10 +02:00
2008-11-26 Dietmar Warning
* src/spicelib/devices/bsim4v4, bsim4v5: this is a backup because the patch
of Phil Barker are providing only a placeholder for propriarity sti stress
model - not any equation. If the stimod feature is some time published we
2009-05-24 19:11:10 +02:00
can implement it again.
2008-11-26 Holger Vogt
* frontend/numparam/xpressn.c: agauss, sinh, cosh tanh, added (source: S. Thiel)
* b3soi*ld.c: _isnan defined for _MSC_VER
* main.c, cmath2.c, xpressn.c: random, srandom defined extern for _MSC_VER
* math/misc/equality.c: llabs defined extern
2008-11-23 Lionel Sainte Cluque
* COPYING: update many details and tclspice LGPLv2
* src/tclspice.c: changed headers for LGPLv2
2008-11-23 Lionel Sainte Cluque
* configure.in: modified for tclspinit.in
* src/tclspinit.in: spinit file for tclspice (at least until installation of
codemodels is solved)
* src/Makefile.am: modified for tclspinit installation
* src/frontend/cpitf.c: modified for use of tclspinit in tclspice
2008-11-04 Holger Vogt
* /doc/version.texi committed again
* /visualc/include/config.h: version no. 18
* /frontend/com_ftt: tfree, copyright notice
2008-11-22 Lionel Sainte Cluque
* COPYING: license clarifications
* frontend/inpcom.c: minor changes (correct warning)
* frontend/misccoms.c: minor changes (correct warning)
* frontend/where.c: minor changes (correct warning)
* spicelib/parser/inpgmod.c: minor changes (correct warning)
* spicelib/parser/inppas3.c: minor changes (correct warning)
* spicelib/devices/numd/numdload.c: minor changes (correct warning)
* spicelib/devices/numd2/nud2load.c: minor changes (correct warning)
* xspice/mif/mifsetup.c: minor changes (correct warning)
* xspice/ipc/ipcsockets.c: minor changes (correct warning)
* ciderlib/input/mobset.c: minor changes (correct warning)
* include/spmatrix.h: minor changes (correct warning)
* tclspice.c: minor changes (correct warning)
* frontend/com_fft.c : changed some malloc into tmalloc
* frontend/com_measure2.c : changed some malloc into tmalloc
* spicelib/devices/bsim3/b3temp.c: changed some malloc into tmalloc
* spicelib/devices/bsim3soi/b4soitemp.c: changed some malloc into tmalloc
* spicelib/devices/bsim3v32/b3v32temp.c: changed some malloc into tmalloc
* spicelib/devices/bsim4/b4temp.c: changed some malloc into tmalloc
* spicelib/devices/bsim4v2/b4v2temp.c: changed some malloc into tmalloc
* spicelib/devices/bsim4v3/b4v3temp.c: changed some malloc into tmalloc
* spicelib/devices/bsim4v4/b4v4temp.c: changed some malloc into tmalloc
* spicelib/devices/bsim4v5/b4v5temp.c: changed some malloc into tmalloc
* spicelib/devices/cpl/cplload.c: changed some malloc into tmalloc
* spicelib/devices/ndev/ndevset.c: changed some malloc into tmalloc
* ciderlib/support/database.c : changed some malloc into tmalloc
* frontend/numparam/mystring.c : changed some malloc into tmalloc
* frontend/numparam/xpressn.c : changed some malloc into tmalloc
* spicelib/parser/inp2p.c : changed some malloc into tmalloc
* xspice/mif/mif_inp2.c: changed some malloc into tmalloc
* misc/util.c: changed some malloc into tmalloc
* spicelib/parser/inp2y.c: changed some malloc into tmalloc
2008-11-20 Paolo Nenzi
* src/frontend/diff.c: currents in rawfiles are written as i(xxx) and no more as xxx#branch. The diff
2009-05-24 19:11:10 +02:00
interactive command (used to compare plots) did not work anymore. This new version traslates back
i(xxx) to xxx#branch.
2008-11-19 Dietmar Warning
* src/frontend/resource.c: found a way to compile w/o psapi under MS VC++ 6.0, prevent some warnings
* src/frontend/com_ghelp.c: prevent warnings
* src/frontend/measure.c, src/frontend/numparam/xpressn.c: use well defined macros for min/max instead of fct's
* src/frontend/miscoms.c: no more INT_NOISE
* src/include/ngspice.h: polishing
* src/include/missing_math.h, src/math/misc/scalb.c, src/math/sparse/spsmp.c,: hopefull better scalb handling
tested under different OS's, but needs more tests
2008-11-18 Dietmar Warning
* src/spicelib/devices/vbic/*.c, *.h: Repair a uninitialized state of some local variables
by using the state vector, bug reported by Muris Mujagic, NI.
* test/vbic/*.cir: Correct use of pnp transistors substrate connection - VBIC is a vertical
transistor model. Collector connection as workaround for pnp Lateral's.
2008-11-16 Dietmar Warning
* src/spicelib/devices/bsim4/bsim4itf.h: adapting the ngspice scheme regarding info structure
* src/spicelib/devices/bsim4/b4check.c: This is really UCB version 4.6.3 - see below
(but will cover all 4.6.x versions)
2008-11-09 Dietmar Warning
* src/spicelib/devices/bsim4/*.c,*.h src/spicelib/parser/inpdomod.c:
2009-05-24 19:11:10 +02:00
This is the new and actual BSIM4 version 4.6.3 from UCB. All files are 4.6.2 except
b4temp.c which is the only bugfix for 4.6.3 (see bsim website). Tested so far with simple
testcases - but should be proved further with more practical examples.
2008-11-09 Holger Vogt
* visualc/:
Directory with project files to compile ngspice with MS Visual
Studio 2008
2009-05-24 19:11:10 +02:00
2008-11-04 Holger Vogt
* src/frontend/com_ghelp.c:
Notify user that internal help is no longer available in Windows port
2009-05-24 19:11:10 +02:00
2008-11-04 Paolo Nenzi
* src/frontend/parser/lexical.c:
2009-05-24 19:11:10 +02:00
53: Fixed the problem of segmentation fault when redirecting output putting spaces
around "<" or ">". A. Roldan - Espice
2008-11-02 Lionel Sainte Cluque
* src/tclspice.c : tcl_vfprintf corrects the stou bug
* README.tcl : Creation
* tests/tcl/test_vectoblt.tcl : modified invocation and package loading
2008-10-27 Dietmar Warning
* src/spicelib/parser/inp2q.c VBIC is standard - not ADMS (yet)
* src/spicelib/devices/vbic/vbicnoise.c correct naming array order according vbicdefs.h
2008-10-14 Dietmar Warning
* src/main.c, src/misc/util.c polish to prevent warnings
2008-10-11 Holger Vogt
* /frontend/resource.c line 41 correct __MINGW32__
/ciderlib/input/options.c renamed to optionsc.c to avoid double options.obj in VC++ 2008
2008-10-05 Holger Vogt
* Macros added to allow compilation of tclspice with MS Visual C++ 2008
2008-09-24 Holger Vogt
* wstdio.h, scalb.c, complex.h
Small changes to allow compilation with MS Visual C++ 2008
main.c, util.c: path of *.cir input file as search path for .include files (Windows only)
2008-09-22 Holger Vogt
* complex.h, measure.c, resource.c, windisp.c, xpressn.c, rawfile.c, runcoms.c, readhelp.c,
defines.h, ngspice.h, b4soild.c, hsm1eval102.c, hsm1eval112.c, hsm1eval120.c, wstdio.h
Small changes to allow compilation with MS Visual C++ 2008
2008-09-15 Lionel Sainte Cluque
* src/Makefile.am: Add $(DESTDIR) in tclspice installation, required by debian package.
* src/Makefile.am: Use -no-undefined only for windows build (libspice_la_LDFLAGS)
2008-09-13 Holger Vogt
* configure.in: add AC_LIBTOOL_WIN32_DLL
* src/makefile.am correct typo
2008-09-13 Holger Vogt
* configure.in: add /mingw as search path for tcl
* tclspice.c: replace sigsetjump and sigjmp_buf with macros from macros.h
2009-05-24 19:11:10 +02:00
2008-09-09 Lionel Sainte Cluque
* configure.in: tclspice checks moved before Operating System checks: To set
no_x flag before it is used.
* tests/tcl-testbench*: chmod a+x tcl-testbench*.tcl
2008-09-01
* configure.in: CAPZEROBYPASS is enabled by default now. To disable it you
can add --disable-capzerobypass to configure command.
2009-05-24 19:11:10 +02:00
2008-08-27 Paolo Nenzi
* --- TCLSPICE initial integration (Lionel Sainte Cluque) ---
* Makefile.am: Makefiles changed for libtool. We use still .a files but we let
libtool to create them in a portable manner. This slows compilation a little
bit but improves portability of ngspice/tclspice.
* src/tclspice.c, src/tclspice.map, pkgIndex.tcl.in, src/include/tclspice.h:
2009-05-24 19:11:10 +02:00
tclspice main and include file. (Readded files).
* src/tests/tcl/, src/tests/tcl-testbench1/, src/tests/tcl-testbench2/,
src/tests/tcl-testbench3/, src/tests/tcl-testbench4/: testbenches for
2009-05-24 19:11:10 +02:00
the tclspice simulator. (New dirs).
* src/frontend/plotit.c: added blt_plot for blt output device if TCL defined.
* src/frontend/com_plot.c, src/frontend/com_plot.h: added com_bltplot.
* src/frontend/commands.c: redefined plot command to combltplot if TCL is enabled.
* src/frontend/display.c: defined Tk display device.
* src/frontend/outitf.c: added blt support.
* src/frontend/terminal.c: if TCL is defined, interactive terminal stubs are copiled in.
* src/include/ngspice.h: added definitions for TCL functions.
* src/misc/alloc.c: Using TCL allocation functions when tclspice is enabled.
* src/frontend/com_measure2.c,.h: new measure command (to link and test)
* src/main.c: some static function moved for TCL interface (nutmeginfo, etc.)
2009-05-24 19:11:10 +02:00
2008-08-25 Paolo Nenzi
* configure.in, src/spicelib/analysis/noisean.c: removed the compilation switch
2009-05-24 19:11:10 +02:00
--enable-intnoise. Noise analyses now generate two plot, the first one for
spectrum and the second one the integrated noise.
2008-08-24 Paolo Nenzi
* src/main.c: Moved the #ifdef CIDER declaration. Machine accuracy limits now are
defined even if CIDER is not compiled. This is needed for the subsequent integration
of TCL patch.
2009-05-24 19:11:10 +02:00
2008-06-14 Holger Vogt
* examples/numparam: adapt examples to new numparam code
2008-05-31 Dietmar Warning
* src/frontend/aspice.c: compliant processing of pid and wait() also under solaris
2008-05-24 Holger Vogt
* src/frontend/com_fft.c: Fast fourier transform added for transient data analysis.
* src/frontend/spec.c: Progress status display for Windows added
2008-05-18 Dietmar Warning
* Small changes to compile under Sun Studio 11 for Solaris - may be useful in other
2009-05-24 19:11:10 +02:00
configurations too
* configure.in
* src/frontend/control.c
* src/include/ngspice.h
* src/maths/misc/equality.c
* src/spicelib/devices/cpl/cplask.c
* src/spicelib/devices/hisim/hsm1eval102.c
* src/spicelib/devices/hisim/hsm1eval112.c
* src/spicelib/devices/hisim/hsm1eval120.c
* src/spicelib/devices/soi3/soi3acld.c
2008-05-12 Dietmar Warning
* src/frontend/inp.c, src/frontend/inp.c, src/frontend/Makefile.am, src/Makefile.am,
configure.in: global nodes and numparams now as default - configure switches not needed
tested so far - but sure that some problems will raise.
2008-05-11 Dietmar Warning
* src/misc/missing_math.c,h, src/math/misc/*.*: move math function to one place
* src/include/ngspice.h, src/main.c, src/Makefile.am, src/maths/Makefile.am,
2009-05-24 19:11:10 +02:00
src/maths/misc/Makefile.am, src/misc/Makefile.am, configure.in: organization of libmathmisc.a
* src/maths/misc/erfc.c: better erfc for lossy transmission line
2008-05-10 Holger Vogt
* src/frontend/resource.c: Memory information is now stemming from the
/proc file system (LINUX) or using GlobalMemoryStatusEx and
2009-05-24 19:11:10 +02:00
GetProcessMemoryInfo (Windows).
The old info system with sbrk(0) may still be used.
2009-05-24 19:11:10 +02:00
2008-05-06 Holger Vogt
* src/frontend/outitf.c: suppress printing of "Reference value" into log-file
under Windows
2009-05-24 19:11:10 +02:00
2008-05-03 Dietmar Warning
* src/include/ngspice.h, src/main.c: srandom has a macro in ngspice.h as a
2009-05-24 19:11:10 +02:00
central place - should be sufficient also under windows
2008-05-01 Holger Vogt
* src/frontend/com_hardcopy.c: bug no. 1885979 removed: currentgraph saved
and restored after hardcopy.
2009-05-24 19:11:10 +02:00
2008-04-28 Holger Vogt
* src/frontend/plotting/graf.c: remove iplot bug by changing line 686.
2009-05-24 19:11:10 +02:00
2008-04-27 Dietmar Warning
* src/frontend/inpcom.c: change _DEBUG to TRACE - unique debug switches
* src/frontend/plotting/gnuplot.c: adding windows gnuplot, some modifications
2008-04-26 Holger Vogt
* src/frontend/inpcom.c: inp_sort_params() now uses dynamic memory allocation
on the heap: no enlargement of stack size is necessary.
2009-05-24 19:11:10 +02:00
2008-04-25 Holger Vogt
* src/frontend/inpcom.c: In inp_fix_param_values() xspice variables of type
2009-05-24 19:11:10 +02:00
complex are recognized also in vectors.
2008-04-23 Holger Vogt
* src/frontend/inpcom.c: In inp_fix_param_values() xspice variables of type
2009-05-24 19:11:10 +02:00
complex are recognized. Vectors of complex variables still missing.
2009-05-24 19:11:10 +02:00
2008-04-20 Holger Vogt
* src/frontend/inpcom.c: .cmodel added for xspice compatibility:
inp_fix_param_values() replaces .cmodel with .model and then skips entire
line, thus no numparam search and setting of {} will happen.
2008-04-20 Dietmar Warning
* src/spicelib/devices/bsim*/b*ld.c, src/math/ni/niconv.c: Reconstruct NEWCONV
macro for better bsim3,4,soi transfer from Berkeley, macro is defined by
default in spice3f4 which is used by UCB for testing. Now same behaviour in ngspice
- tested and should not impact convergence behaviour.
* src/frontend/winprint.c: pragmas only for MSC.
* configure.in tests/Makefile.am, tests/bsim3soi/*.cir, *.out, *.mod: new testcase
2009-05-24 19:11:10 +02:00
for bsim3soi (origin UCB small modifications).
2008-04-19 Holger Vogt
* src/frontend/inpcom.c: inp_fix_param_values(): retain ..=true as boolean,
retain ="xxx" as string, allow numparams without {} inside xpsice input vectors
2008-04-16 Dietmar Warning
* src/spicelib/devices/bsim3soi/*.c,*.h, src/spicelib/parser/inpdomod.c, inp2m.c,
src/spicelib/devices/dev.c, DEVICES: New bsim3soi version 4.0
* src/include/macros.h: redefine NEWCONV because we are using Berkeley spice3f4 code
2009-05-24 19:11:10 +02:00
for bsim models.
2008-04-13 Holger Vogt
* src/frontend/inpcom.c: get_number_terminals(): support for cpl lines,
inp_readall(): debug ouput of input data after processing
inp_fix_param_values(): CIDER models excluded from getting {}, xspice
model vectors [] excluded from getting {}
* src/winmain.c: larger text buffer, MakeArgcArgv() allows multiple spaces
between arguments, allows CYGWIN handling, winmessage() for error messages
* src/main.c: temporary file for Windows non admin users, printed info independent
from sequence of options
* src/include/bool.h: BOOLEAN definition added again
2009-05-24 19:11:10 +02:00
src/spicelib/devices/dev.c: #undef BOOLEAN added
2009-05-24 19:11:10 +02:00
2008-04-05 Dietmar Warning
* src/frontend/inpcom.c: define the missing buffer nam_buf for mos devices
* src/misc/string.c, stringutil.h: moving some string functions from inpcom.c
* src/include/bool.h: removing BOOLEAN definition (checked under mingw)
2008-03-23 Holger Vogt
* src/frontend/inpcom.c: Nodes for SOI devices not detected correct
* src/spicelib/parser/inptyplk.c, inpptree.c, ifeval.c: better TRACEing
* src/winmain.c: larger printf buffer
2008-03-22 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{commands.c, com_gnuplot.c, com_gnuplot.h},
* src/frontend/plotting/{gnuplot.c, gnuplot.h,plotit.c}: added
2009-05-24 19:11:10 +02:00
initial support for gnuplot plotting of simulation outputs.
Gnuplot interface code has been sent by Stefano Pedretti.
2008-01-19 Dietmar Warning
* configure.in: w/o optimization better debug
* src/main.c: fix conflict for own shutdown function
* src/frontend/numparam/xpressn.c: more precise recognition of subckt names
* src/frontend/numparam/spicenum.c: avoid access to uninitialized memory
2009-05-24 19:11:10 +02:00
because of pascal convention
2008-01-12 Dietmar Warning
* configure.in, src/xspice/ipc/*.c: xspice ipc is possible
* src/include/ngspice.h: reflect the extended autoconfigure
2009-05-24 19:11:10 +02:00
2008-01-06 Dietmar Warning
* src/frontend/subckt.c: correct compare of binned model names. Fixed a bug
2009-05-24 19:11:10 +02:00
of incorrect subckt expansion when MOS model inside.
* src/spicelib/parser/inpdomod.c, DEVICES: Compatibility issue - now all
bsim3 models running under level 8 and 49 and all bsim4 models under
2009-05-24 19:11:10 +02:00
level 14 and 54. Distinction must be made by version parameter.
2008-01-04 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/runcoms.c: commented out code that did not allow rawfile
generation for OP and AC analyses. Now rawfile is generated even for
OP and AC. I do not know if this is consistent with spice philosopy but
I think is nice to have.
2008-01-03 Dietmar Warning
* src/main.c: rflag still needed.
2008-01-02 Dietmar Warning
* src/frontend/outitf.c: Fixed rawfile ascii generation. Same like below.
* src/frontend/inp.c: don't need local buffer w/o getcwd
* src/conf.c: belong spice3 manual ascii is default anyway
* src/misc/missing_math.*, src/include/missig_math.h, /src/frontend/measure.c,
src/spicelib/analysis/dctran.c: Using a real double compare to equal.
2008-01-02 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/rawfile.c: Fixed rawfile ascii generation. The prevoius patch
produced incorrect string like v(v(1)) for v(1) in the output file.
2009-05-24 19:11:10 +02:00
2007-12-31 Holger Vogt
don't need buffer w/o getcwd fix for the crashing of ngspice under Windows when
started from windows explorer.
* src/frontend/inp.c: ngspice crashed when executing a file consisting of a simple
control section. Fixed.
2007-12-29 Dietmar Warning
* src/frontend/inpcom.c: 3/4 terminal recognition for bjt's
* src/misc/string.c, stringutil.h: token function for bjt instance
2007-12-29 Holger Vogt
* src/frontend/runcoms.c, runcoms2.c: backup the filetype problem if set in spinit
* src/frontend/inpcom.c: no param handling for "set" commands
2007-12-27 Dietmar Warning
* src/spicelib/devices/*/*init.c: No usage of C99 Designated Initializers
* src/spicelib/devices/*/*par.c: only formatting issues
* src/frontend/numparam/*.c: fixing memory problems in nupa_substitute and other
* src/frontend/dotcard.c: strip white spaces only inside parens
* src/misc/missing_math.*: AlmostEqualUlps in double is needed
2007-12-26 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/numparam/*: downgraded all files to standard C syntax with
2009-05-24 19:11:10 +02:00
the included washprog.c tool.
2007-12-14 Dietmar Warning
* configure.in, src/spicelib/devices/dev.c: allow mingw build w/o GUI
2007-12-14 Holger Vogt
* src/frontend/runcoms.c, runcoms2.c: fix the filetype problem if set in spinit
2007-12-15 Steven Borley
* Added automake warning and output verbosity to autogen.sh
* src/frontend/spiceif.c: Avoid invalid lvalue assignment errors when
calling the macro _foo(). Needed for gcc4 which no longer supports
lvalue cast bogosity. Fixes bug 1584784.
2007-12-14 Steven Borley
* Added missing .cvsignore file to the tests directories and some
devices directories, and updated for change from makeidx to ngmakeidx
2007-12-13 Steven Borley
* Fixed(?) missing files error when autogen.sh is run (with no adms)
- configure.in: removed adms directors from AC_CONFIG_FILES list
* Fixed inclusion of termcap header
- configure.in: add check for <termcap.h> to <ncurses/termcap.h>
- frontend/terminal.c: select either <termcap.h> or <ncurses/termcap.h>
2007-12-09 Dietmar Warning
* src/frontend/numparam/xpression.c: placeholder for agauss (y=nominal_value)
* src/spicelib/parser/inpdomod.c: if no bsim3 version given then use 3.30
2007-12-09 Holger Vogt
* src/frontend/wdisp/windisp.c: better prototypes and some cosmetics
* src/frontend/inpcom.c: change local index to ind to prevent conflict with index function
2007-12-06 Holger Vogt
* src/frontend/wdisp/windisp.c: show coordinates and gradients, zooming
2007-12-02 Dietmar Warning
* src/spicelib/devices/bsimX: div. unused variables and prototypes
* src/frontend/inpcom.c, inp.c: fix prototype of dirname if not available
* src/frontend/dotcards.c, src/misc/string.c: strip WhiteSpaces inside parens of dot cards
* src/frontend/display.c: no WINX_DiagramReady parameter
2007-11-28 Dietmar Warning
* configure.in: memory display independent from ftime under windows
* src/frontend/numparam/xpression.c: fix the arg order for pow
* src/frontend/wdisp/windisp.c, wprint.c: Prototypes and C comments
* src/frontend/com_hardcopy.c, resource.c, terminal.c: prevent ext. warnings
* src/frontend/inpcom.h: move arrays to the files there are needed
* src/frontend/inpcom.c, inp.c: prototypes for dirname and asprintf
* src/spicelib/parser/ifnewuid.c, inperror.c: prototype for asprintf
* src/misc/ivars.c: prototype for asprintf
* src/misc/util.c: better macro request to HAVE_DIRNAME
* src/main.c: prototype for asprintf
* configure.in: check for dirname and asprintf
2007-11-24 Dietmar Warning
* configure.in: memory display independent from ftime under windows
* src/frontend/numparam: pow function included
2007-11-22 Dietmar Warning
* src/spicelib/devices/bsim3: update version 3.3.0
* src/spicelib/devices/bsim3v32: now version 3.2.x
2007-11-21 Dietmar Warning
* src/spicelib/devices/bsim3/b3check.c,b3set.c: accept version 3.xx form
* src/spicelib/devices/bsim4v2,3: multiplier included
* src/spicelib/devices/bsim4v4: no std header
* src/spicelib/analysis/dctran.c: AlmostEqualUlps on central place
* src/misc/missing_math.x: AlmostEqualUlps on central place
* src/include/missing_math.x: AlmostEqualUlps on central place
2007-11-17 Dietmar Warning
* src/spicelib/devices/bsim4vX/b*par.c: scale parameter included
* src/frontend/numparam/xpressn.c: cast to prevent warning
2007-11-14 Dietmar Warning
* src/frontend/inp.c: one only "one" times
* src/frontend/resource.c: include prototype for timediff
* src/frontend/parser/complete.c: functions used in this branch only
* src/spicelib/analysis/acan.c: unused variable step
* src/spicelib/parser/inp2q.c: 5 nodes only for adms
* src/misc/string.c: comment was nonsens
* src/misc/stringutil.h: no prototypes index/rindex for non-provided functions
* src/misc/misc_time.h: providing prototype for timediff
2009-05-24 19:11:10 +02:00
* src/main.c: unused variable rflag
* src/xspice/mif/mifsetup.c: no c++ comments
2007-11-14 Dietmar Warning
* src/frontend/inp.c: No title message to stderr - stdout is enough
* src/frontend/spiceif.c: reenable INPkillMods after deck processing
2009-05-24 19:11:10 +02:00
* src/spicelib/parser/inpdomod.c: til now only bsim4 has version processing
2007-11-13 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/dev.c: As suggested by Alberto Lucchini and
Francesco Nizzi I have masked the debug information on xspice device
loading with #ifdef TRACE.
2007-11-12 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/inp.c: corrected option processing. Now "scale" option
2009-05-24 19:11:10 +02:00
is special and is processed before netlist parsing. The implementation
is not very clean.
2009-05-24 19:11:10 +02:00
2007-11-04 Dietmar Warning
* configure.in, src/Makefile.am, src/spicelib/devices/Makefile.am,
2009-05-24 19:11:10 +02:00
src/spicelib/parser/inpgmod.c, src/spicelib/parser/inp2m.c
BSIM4 has changed (based on Phil Barker patch):
version code 4.2.1/4.3.0/4.5.0 added
4.4.0 small corrections
4.6.0 updated to 4.6.1
2007-10-12 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{cpitf.c, inp.c, miscvars.c}, src/spinit.in:
2009-05-24 19:11:10 +02:00
reimplemented "brief" option as a boolean and defaulted to
TRUE. Now the netlist is not printed anymore when you load
2009-05-24 19:11:10 +02:00
a circuit. For the original behavior uncomment "unset brief"
in the spice init file.
2007-10-11 Paolo Nenzi <p.nenzi@ieee.org>
* src/main.c, src/frontend/{inpcom.c, miscvars.c}: added option -a
and --autorun to add the control section ans run the loaded netlist.
In the original implementation by Phil Barker, the loaded circuit was
always run, both in interactive and batch mode.
2007-10-09 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{device.c, miscvars.c}: added "altshow" option to
enable the new (Phil Barker) version of the show command. The
2009-05-24 19:11:10 +02:00
old show command looks better in interactive mode while the
new format is more suitable for automatic processing of the
data.
* src/maths/ni/niiter.c: added check on iteration numbers (Phil Barker).
2007-10-09 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/cktdojob.c: Chenged of reporting analysis temperature
from Kelvins to Celsius (as suggested from Phil Barker).
* src/spicelib/parser/inp2m.c: Added model binning code left out in the
previous commit.
* src/frontend/variable.c: Added SIMVARS from Phil Barker.
* src/frontend/{outitf.c,runcoms2.c}, src/include/cpextern.h: Patch from
2009-05-24 19:11:10 +02:00
Phil Barker.
* src/frontend/subckt.c: allow for .ic, .nodeset names to be embedded
in a subckt;enhanced subckt.c to created appropriate node names for
2009-05-24 19:11:10 +02:00
flattened simulation netlist (Phil Barker).
* src/spicelib/devices/cap/cap.c: aliased capacitance parameter with "c"
and "cap" (patch from Phil Barker).
* src/spicelib/devices/res/res.c: aliased some parameters. Originally got
the patch from Phil Barker but used IOPR (redundant) instead of IOPZ.
* src/spicelib/devices/res/resparam.c: Added fix for zero valued
2009-05-24 19:11:10 +02:00
resistors (Phil Barker).
* src/spicelib/devices/vsrc/{vsrc.c, vsrcacct.c, vsrcask.c, vsrcdefs.h,
vsrcload.c, vsrcpar.c, vsrctemp.c}: Added "repeat" parameter to the
2009-05-24 19:11:10 +02:00
PWL model.
* src/xspice/icm/analog/multi_input_pwl/*: added new element from Phil
Barker: added new multi-input gate VCVS using XSPICE extensions that
2009-05-24 19:11:10 +02:00
supports nand, and, nor, or. Currently only supports 2-inputs (x,y).
The x's and y's represent the piecewise linear variation of output as
a function of input. Only 1 input determines the state of the outputs:
2009-05-24 19:11:10 +02:00
and/nand: controlling input is chosen on the basis of the smallest value,
or/nor: controlling input is chosen on the basis of the largest value.
2009-05-24 19:11:10 +02:00
2007-10-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/main.c, src/frontend/{spiceif.c, spiceif.h, subckt.c},
src/include/{fteext.h, inpdefs.h},
2009-05-24 19:11:10 +02:00
src/spicelib/parser/{inp.h, inp2dot.c, inpdomod.c, inpfindv.c,
inpgmod.c}: other improvements by Phil Barker:
2009-05-24 19:11:10 +02:00
- Added model binning function
- Added model version function
- enhanced the interactive command 'alter' to allow for changing the model
of a device
2007-10-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{inp.c, inpcom.c, inpcom.h, measure.c, nutimp.c, runcoms.c
subckt.c, ftedefs.c, fteext.c, dctran.c, inp2dot.c, inppas2.c}: added
several improvements mad by Phil Barker:
- .measure statements: trig/targ, max, min, avg, rms, integral, param
- autostop option: which causes the simulation to stop if all .measure
statements are satisfied; option is ignored if any max, min, avg, rms
or integ measurements defined.
2009-05-24 19:11:10 +02:00
- fixed some floating point number comparisons where the code was checking for
equality with '==' by adding a routine called 'AlmostEqualUlps'.
- parametrized subcircuits
- added support for ".lib" syntax
- added ability to recursively call spice netlist parser; this allows for
2009-05-24 19:11:10 +02:00
reading in additional .include and .lib files defined in other netlist files
- changed the flattened netlist names created in 'subckt.c' to match other
spice simulators
2007-10-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{rawfile.c, outitf.c, runcoms.c}, src/include/ftedefs.h:
2009-05-24 19:11:10 +02:00
modified current vectors output amd added struct elements for holding the
name of the last analysis run (all from Phil Barker patch).
2007-10-08 Paolo Nenzi <p.nenzi@ieee.org>
*src/frontend/{device.c, device.h}: modified 'show' command to match
2009-05-24 19:11:10 +02:00
SmartSpice syntax from Phil Barker patch.
2007-10-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/plotting/plotit.c, src/frontend/{nutimp.c, parse.c},
src/maths/ni/{niconv.c, niiter.c}, src/spicelib/analysis/dctran.c:
2009-05-24 19:11:10 +02:00
Applied patch from Phil barker, iproved error/warning reporting.
2007-10-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/numparam/{general.h, mystring.c, numpaif.h, numparam.h,
nupatest.c, spicenum.c, washprog.c, xpressn.c}: Applied patch from Phil
Barker that improves the capabilites of numparam library. Now numparam
supports fully parametrized netlists and can handle a larger set of
parameters than the previous implementation. Added 'nupa_add_param' routine
2009-05-24 19:11:10 +02:00
and ability to reevaluate parameter set using 'nupa_eval' by keeping parameter
value set. Added support for 'ternary' operators in parameters as well as 'max'
and 'min'.
2007-09-17 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/com_let.c: Applied patch from Friedrich Schmidt to fix
the big in let command that prevented the following command to be
correctly interpreted: let vec=vector(10) let vec[2]=5.0 and returning
an error instead. The patch has been submitted by Friedrich Schmidt.
2007-09-14 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/inp.c: fixed a bug in com_list() that skipped a line number
when in displaying the ".end" line. I just moved the line increment at the
2009-05-24 19:11:10 +02:00
end of the for cicle (after the instruction that skips the ".end" line).
2007-09-12 Dietmar Warning
* src/frontend/terminal.c: fixed segmentation fault occurring when messages
2009-05-24 19:11:10 +02:00
>4096 bytes are sent to out_printf() function. The fix uses asprintf if
available.
2007-08-12 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/inpcom.c: fixed segmentation fault with empty .include file
or directory include. This is a hack the full inpcom shoud be rewritten.
2009-05-24 19:11:10 +02:00
2007-06-17 Gong Ding <gdiso@ustc.edu>
* src/spicelib/devices/dev.c: use a more flexiable way to define device.
If it doesn't work, one can returen to old version (rename as dev_old.c).
2009-05-24 19:11:10 +02:00
These files are modified for avoiding NULL DEVices[] pointer.
* spicelib/analysis/acan.c:
2009-05-24 19:11:10 +02:00
* spicelib/analysis/cktdest.c:
* spicelib/analysis/cktdisto.c:
* spicelib/analysis/cktdump.c:
* spicelib/analysis/cktfbran.c:
* spicelib/analysis/cktic.c:
* spicelib/analysis/cktload.c:
* spicelib/analysis/cktnoise.c:
* spicelib/analysis/cktop.c:
* spicelib/analysis/cktpzld.c:
* spicelib/analysis/cktpzset.c:
* spicelib/analysis/cktsetup.c:
* spicelib/analysis/ckttemp.c:
* spicelib/analysis/ckttrunc.c:
* spicelib/analysis/ckttyplk.c:
* spicelib/parser/inptyplk.c:
The modifications should not affect ngspice's function.
2009-05-24 19:11:10 +02:00
2007-06-14 Paolo Nenzi <p.nenzi@ieee.org>
* src/misc/misc_time.c: added a casting to doube in seconds function to
solve the "negative times" in acct command.
2007-05-13 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/dev.c: updated NUMDEV to reflect actual situation.
* src/spicelib/devices/adms/admst/ngspiceVersion.xml: added code for ekv.
2007-05-11 Laurent Lemaitre <r29173@users.sourceforge.net>
* src/spicelib/devices/adms/admst/ngspiceMODULEguesstopology.c.xml,
src/spicelib/devices/adms/admst/ngspiceVersion.xml,
src/spicelib/devices/adms/admst/ngspiceMODULEdefs.h.xml:
2009-05-24 19:11:10 +02:00
added support to "div" builtin function.
2007-05-09 Dietmar Warning
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/dev.c: reserved space for ekv model.
2007-05-08 Dietmar Warning
* src/spicelib/devices/amds/ekv/: Initial import of the ekv model (long
channel).
2009-05-24 19:11:10 +02:00
2007-05-06 Dietmar Warning
* src/spicelib/parser/inpdomod.c: small adaptation for ekv and psp102.
2007-04-30 Gong Ding <gdiso@ustc.edu>
Add NDEV (numerical device) to device library. It is an interface
to call my 2d semiconductor simulation code via network.
2009-05-24 19:11:10 +02:00
The device simulation code can be found at http://gss-tcad.sourceforge.net
* src/spicelib/device/ndev/*.* : The NDEV implement code
2009-05-24 19:11:10 +02:00
* src/spicelib/device/dev.c : Add ndev to spice device library
* src/spicelib/parser/inppas2.c : Add element name 'N' to describe NDEV
2009-05-24 19:11:10 +02:00
* src/spicelib/parser/inp2n.c : Routine to parse NDEV element
* src/spicelib/parser/inpdomod.c : Routine to parse NDEV model
* src/frontend/misccoms.c : When quit, call CKTdestroy function
* src/spicelib/analysis/dctran.c : Show a time process indicator
* src/ciderlib/oned/onedest.c : Fix a invalid memory read problem
* src/frontend/terminal.c : change <termcap.h> to <ncurses/termcap.h>
2009-05-24 19:11:10 +02:00
2007-04-26 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim4/: updated bsim4 model to 4.6.0.
2007-04-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/parser/{inp2m.c, inpdomod.c},
src/spicelib/devices/dev.c, src/spicelib/devices/adms/psp102/:
2009-05-24 19:11:10 +02:00
added support for psp102 model.
2007-04-24 Laurent Lemaitre <r29173@users.sourceforge.net>
* src/spicelib/devices/adms/admst/: updated templates for adms 2.2.5.
2007-01-21 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/parser/inp2q.c: Added patch from Hitoshi Tanaka to
fix error in old BJT devices (that do not have fifth node).
2006-02-21 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/subckt.c, src/spicelib/parser/inp2q.c,
2009-05-24 19:11:10 +02:00
src/spicelib/parser/inpdomod.c: Added fifth node on bipolar devices
(Dietmar Warning) to support newer (adms) models. Updated number of
nodes for subcircuits.
2009-05-24 19:11:10 +02:00
2006-02-19 Paolo Nenzi <p.nenzi@ieee.org>
* tests/bin/check.sh: added patch from Gary R. Van Sickle
2009-05-24 19:11:10 +02:00
<g.r.vansickle@worldnet.att.net>. CYGWIN system is recognized as
an UNIX flavour (for testing).
2009-05-24 19:11:10 +02:00
2006-02-17 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/dev.c: Added support for adms devices (Dietmar
2009-05-24 19:11:10 +02:00
Warning). Devices implemented: hicum0 and mextram.
2009-05-24 19:11:10 +02:00
2006-02-16 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/dev.c: removed EKV ifdefs. In future versions of
ngspice EKV (and other models) will be introduced as verilog-a models.
2006-01-31 Paolo Nenzi <p.nenzi@ieee.org>:
* Committed the admst tree from the adms system. Laurent Lamaitre
2009-05-24 19:11:10 +02:00
<r29173@users.sourceforge.net> sent the XML code needed to generate
ready-to-compile C code conforming to ngspice api from Verilog-AMS
compact model description.
2009-05-24 19:11:10 +02:00
Files changed: src/spicelib/devices/Makefile.am: added adms directory
to DIST_SUBDIRS target.
Files added: README.adms, src/spicelib/devices/adms/,
2009-05-24 19:11:10 +02:00
src/spicelib/devices/adms/admst/,
src/spicelib/devices/adms/admst/{COPYING,
ngspiceMakefile.am.xml,ngspiceMODULEacld.c.xml,
ngspiceMODULEask.c.xml, ngspiceMODULE.c.xml,
ngspiceMODULEdefs.h.xml, ngspiceMODULEext.h.xml,
ngspiceMODULEguesstopology.c.xml, ngspiceMODULEinit.c.xml,
ngspiceMODULEinit.h.xml,ngspiceMODULEitf.h.xml,
2009-05-24 19:11:10 +02:00
ngspiceMODULEload.c.xml, ngspiceMODULEmask.c.xml,
ngspiceMODULEmpar.c.xml, ngspiceMODULEpar.c.xml,
ngspiceMODULEsetup.c.xml,ngspiceMODULEtemp.c.xml,
ngspiceVersion.xml}
2009-05-24 19:11:10 +02:00
2005-12-06 Dietmar Warning <warning@danalyse.de>
* src/spicelib/devices/hisim/hsm1ld.c: Variable tmp is really used only
for flag swapping - because make she int. Some better reading in comments.
2005-12-04 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim4/b4ld.c: As written by Dietmar, the changes
2009-05-24 19:11:10 +02:00
introduced into this file around line 4015 - 4020 are wrong. Back to
original Berkeley's code.
2005-12-02 Paolo Nenzi <p.nenzi@ieee.org>
* src/maths/cmaths/test_cx_ph.c: added a missing include
2009-05-24 19:11:10 +02:00
(patch by Paul Reich).
2009-05-24 19:11:10 +02:00
* src/maths/sparse/spconfig.h: removed include directive (ngspice.h).
* src/frontend/numparam/general.h, src/maths/ni/niiter.c,
src/spicelib/devices/csw/{cswload.c, cswmpar.c},
2009-05-24 19:11:10 +02:00
src/spicelib/devices/hfet1/{hfetload.c, hfetsetup.c},
src/spicelib/devices/hfet2/{hfet2load.c, hfet2setup.c},
src/spicelib/devices/hisim/hisim.h, src/spicelib/parser/ptfuncs.c:
2009-05-24 19:11:10 +02:00
partially applied Paul Reich patch that removed C++ style comments.
2005-11-27 Paolo Nenzi <p.nenzi@ieee.org>
* Added manual page for ngmultidec. The man page has been written
2009-05-24 19:11:10 +02:00
by John Murdie.
2005-11-13 Paolo Nenzi <p.nenzi@ieee.org>
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim4/*: Updated bsim4 to version 4.5.0 using the
code hacked by Hitoshi Tanaka and Dietmar Warning. Changes from original
Berkeley's device group implementation:
- Added multiplier parameter (m parameter).
- Added NodeSet for internal nodes.
- Removed #ifdef STDC and non STDC function prototypes
- Added missing "pParam->BSIM4ku0we" to fprintf in b4temp.c.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim4/b4temp.c: fixed the following bug (Dietmar
Warning):
2009-05-24 19:11:10 +02:00
- Freed old node adding FREE(model->pSizeDependParamKnot); near line 146.
* src/spicelib/devices/bsim4/b4set.c: fixed the following bug (Dietmar
2009-05-24 19:11:10 +02:00
Warning):
- Removed double testing for model->BSIM4prtGiven.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim4/b4ld.c: fixed the following bugs:
2009-05-24 19:11:10 +02:00
- In the computation of ggts and ggtd near line 4014 here->BSIM4gcrgd
and here->BSIM4gcrgs were exchanged. (Dietmar Warning).
2009-05-24 19:11:10 +02:00
- In the computation of gcqdb and gcqsb near line 4019 here->BSIM4cqsb
and here->BSIM4cqdb were exchanged (Hitoshi Tanaka).
2009-05-24 19:11:10 +02:00
2005-11-07 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/vbic/*: Dietmar Warning sent a patch to his last
vbic implementation:
- Added temperature dependence for RB and RC,
2009-05-24 19:11:10 +02:00
- fixed a bug in current sign (reversing vbei and vbci),
- removed double allocation of substrate node.
2009-05-24 19:11:10 +02:00
2005-10-19 Steven Borley <steven.borley@virgin.net>
* src/Makefile.am: Implemented fix to prevent 'multiple definition' errors
2009-05-24 19:11:10 +02:00
during link of nghelp when built on systems that use the latest versions of
the GNU tools. Solution provided by Andreas Unger <a_unger@gmx.de>.
2009-05-24 19:11:10 +02:00
2005-10-15 Steven Borley <steven.borley@virgin.net>
* src/frontend/spiceif.c: Fixed code to avoid errors (invalid lvalue in
assignment) under gcc v4.0.2 or and warnings under gcc 4.0.0 (target of
2009-05-24 19:11:10 +02:00
assignment not really an lvalue).
2005-10-15 Steven Borley <steven.borley@virgin.net>
* INTALL: Improved notes for MinGW/MSYS
* src/frontend/resource.c: Fixed problems of reporting resource usage for
MacOSX (should help other platforms too).
* src/frontend/terminal.c: Fixed warning about unused variables and functions
that can occur when HAVE_TERMCAP is undefined.
* src/spicelib/devices/isrc/isrcload.c and vsrcload.c: Implemented patches
supplied by Andreas Unger <a_unger@gmx.de>. Fixes XSpice bug; variable PER
2009-05-24 19:11:10 +02:00
was being used before initialisation.
2005-09-19 Steven Borley <steven.borley@virgin.net>
* xgraph/idraw.c, xgraph/tgif.c and xgraph/xtb.c: Added missing system header
includes (string.h and stdio.h) to avoid warnings.
* src/frontend/aspice.c: Used (void*)0 instead of 0 for the terminating
vararg, to avoid gcc 4.0 warning about missing sentinel in function call.
* src/frontend/aspice.c: Resolved Bug 1293746 - Problem with aspice.c(171)
in gcc (Solaris).
* src/frontend/display.c: Fixed warning about redefinition of XtNumber.
2005-09-09 Steven Borley <steven.borley@virgin.net>
* Reverted to placing the cp_* stream variable definitions back in to
src/frontend/streams.c with their extern declarations in
src/frontend/streams.h
2005-09-08 Steven Borley <steven.borley@virgin.net>
* Added hard-coded paths for NGSPICEBINDIR and NGSPICEDATADIR for MinGW
targets (src/conf.h)
2005-09-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/streams.{c,h}: applied Hitoshi's fix for undefined
2009-05-24 19:11:10 +02:00
symbols when compiling ngspice under Linux.
2005-09-06 Steven Borley <steven.borley@virgin.net>
* Fixed alphabetic order in AUTHORS
* Adjusted autogen.sh to give more relevant advice when a required
program is missing.
* Added ngspice.idx to MAINTAINERCLEANFILES in src/Makefile.am
* Added work-round for missing scroll bar in help windows for an X11
display (seems to be an X-Windows bug) src/frontend/x11disp.c
* Fixed memory leak in tilde expansion - src/frontend/parser/glob.c
* Fixed spelling errors in tests/README
* Implemented fix as described by Hitoshi Tanaka for the problem
that causes "Warning - approaching max data size...." to be
erroneously reported when compiled with MinGW/MSYS
src/frontend/resource.c
2005-09-04 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/ltra/{ltraload.c, ltraacld.c, ltratrun.c}:
Applied Hitoshi's patches to fix ltra code. The bug produced a
"Timestep too small" in simulations and uninitialized variables
2009-05-24 19:11:10 +02:00
produced wrong results in some files under MinGW.
* src/spicelib/parser/inp2d.c:
Fixed a bug that causes an "unknown parameter(save)" error if there
2009-05-24 19:11:10 +02:00
is the expression like the following in the netlist of Cider analysis.
D1 1 2 M_PN AREA=100 save
(Fix from Hitoshi Tanaka).
* src/frontend/streams.c:
Fix to a bug that caused crash when I input "listing" command after
loading Cider examples under Ngspice compiled by Visual C++.
2009-05-24 19:11:10 +02:00
(Fix from Hitoshi Tanaka).
2009-05-24 19:11:10 +02:00
2005-08-30 Paolo Nenzi <p.nenzi@ieee.org>
============================ Rework-17 ==================================
2009-05-24 19:11:10 +02:00
* src/frontend/numparam/Makefile.am: added missing include that prevented
its dist-ribution.
2005-08-29 Paolo Nenzi <p.nenzi@ieee.org>
============================ Rework-16 ==================================
2005-08-26 Paolo Nenzi <p.nenzi@ieee.org>
2009-05-24 19:11:10 +02:00
* src/fronted/dotcards.c: expressions were not parsed correctly, the bug
was in the offset from string base: corrected.
2009-05-24 19:11:10 +02:00
2005-08-23 Paolo Nenzi <p.nenzi@ieee.org>
* src/xspice/icm/xtradev/aswitch/cfunc.mod: Added minimum on resistance
for aswitch to avoid unreasonable high values (due to near zero
2009-05-24 19:11:10 +02:00
resistance) in current of connected voltage source. Change supplied by
Hitoshi Tanaka.
2009-05-24 19:11:10 +02:00
* src/xspice/icm/{cfunc.mod}: updated cfunc.mod files. Changes sent by
Hitoshi Tanaka.
2009-05-24 19:11:10 +02:00
2005-08-22 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/plotting/x11.c: removed casting in a macro. It conflicts
with the strictier syntax of recent gcc compilers.
2009-05-24 19:11:10 +02:00
2005-08-15 Steven Borley <steven.borley@virgin.net>
* Yet more changes to the doc build system - see doc/ChangeLog for details
* In INSTALL added --enable-maintainer-mode as an argument to ./configure
when building straight from CVS. This is now necessary due to the use of
version.texi to allow versioning info to be passed into the documentation
system.
2005-08-14 Steven Borley <steven.borley@virgin.net>
* More changes to the documentation. Specifically the make dist now produces
a PDF file. See doc/ChangeLog for details
* Update the AUTHORS file and adjusted formatting to make it more compatable
with the texinfo include
2005-08-11 Steven Borley <steven.borley@virgin.net>
* Fixed problem with text2dvi and makeinfo when running make dist
* Corrected many spelling errors in doc/ngspice.texi
2005-08-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/dotcards.c: Applied patch from Mike Waters
2009-05-24 19:11:10 +02:00
<M.Waters@bom.gov.au> to parse probes in the form:
vm(4,0) or vm(0,4). Where one of the nodes is ground ie. 0, if
the probe is "v" everything works but anything else ie. "vm", "vp",
2009-05-24 19:11:10 +02:00
etc. fails.
2005-08-06 Paolo Nenzi <p.nenzi@ieee.org>
* src/xspice/mif/mifsetup.c: Updated MIFunsetup to the latest version
provided by Hitoshi Tanaka.
2005-08-04 Paolo Nenzi <p.nenzi@ieee.org>
* Fixed a bug in memory management of xspice/ngspice that caused
segmentation fault for codemodels that adds their own states to
the state vector. Changes supplied by Hitoshi Tanaka
2009-05-24 19:11:10 +02:00
(HDA01055@nifty.com):
* src/math/ni/niiter.c: removed the first malloc for OldCKTstate0
since the number of states can be altered by xspice code models.
This was already addressed in the past but this line remained.
* src/xspice/mif/mifsetup.c: added MIFunsetup() to conform to spice3f
devices model interface (xspice was based on spice3c1).
* src/xspice/xspice.c, src/xspice/cm/cmexport.c,
src/xspice/cmpp/writ_ifs.c: changed the entry corresponding to the
unsetup function from NULL to MIFunsetup.
* src/include/mifproto.h: added prototype for MIFunsetup.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/cktsetup.c: cleared node if initial condition
of nodeset are given to fix a segfaults on second run of xspice
netlists.
2005-06-30 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/resource.c: added IPC stuff
2009-05-24 19:11:10 +02:00
* src/spicelib/parser/inpptree.c: fixed bug in power function.
2005-06-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/acan.c: modified original integration of xspice
2009-05-24 19:11:10 +02:00
event driven algorithm into spice3 code. Now CKTncDump() is used by
xspice too.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/cktdojob.c: added ipc stuff.
* src/spicelib/analysis/cktload.c: cosmetics.
* src/spicelib/analysis/cktop.c: modularized the source and gmin stepping
2009-05-24 19:11:10 +02:00
algorithm. I have extracted the code for gmin and source stepping to
improve CKTop readability and maintainability.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/dcop.c: added event driven algorithm and ipc stuff.
* src/spicelib/analysis/dctran.c: added xspice breakpoint control.
* src/spicelib/analysis/dctrcurv.c: added event driven algorithm and ipc
2009-05-24 19:11:10 +02:00
stuff.
2005-06-12 Steven Borley <steven.borley@virgin.net>
* Changes supplied bt Hitoshi Tanaka to allow XSpice to compile using MinGW
in Windows. Main change points are as follows:
(1) dlopen(), dlsym(), dlclose() and dlerror() were changed
to the functions of Windows. (src/spicelib/dev.c)
(2) The functions relation to IPC were removed. (src/xspice/ipc/ipc.c,
and src/xspice/ipc/ipcsockets.c)
2005-06-09 Steven Borley <steven.borley@virgin.net>
* Fixed *# command operation (src/frontend/inp.c)
2009-05-24 19:11:10 +02:00
* Added 'hack' to allow the 'numparams' variable to be set (or unset) before
the netlist part of a file is parsed. This is based on code supplied by
Dietmar Warning, with changes to allow it to work with the *# syntax, the
unset keyword and variable amounts of white space. (src/frontend/inp.c)
2009-05-24 19:11:10 +02:00
* line_free(line,flag) is now a macro so that line is set to NULL when it is
freed. (src/frontend/inp.c) This is a safty mechnism.
2005-05-31 Steven Borley <steven.borley@virgin.net>
* Applied fix for logging supplied by Dietmar Warning (src/main.c)
2009-05-24 19:11:10 +02:00
* Miscellaneous tidying in src.main.c for format, indentation, #include
style ("" vis-a-vis <>) and removal of some compile time warnings.
2005-05-30 Steven Borley <steven.borley@virgin.net>
2009-05-24 19:11:10 +02:00
* Corrected return types (where necessary) for the functions that make up the
devices[] array initialised in src/frontend/display.c, and used specific
#includes rather than extern references. Added new headers as required.
* Moved jbuf from src/main.c to src/frontend/signal_handler.c
2009-05-24 19:11:10 +02:00
* Tidy up of the header files in src/frontend and sub-directories. Motivation
is to remove extern declarations within .c files and place in .h files. New
header files where necessary.
2005-05-28 Steven Borley <steven.borley@virgin.net>
* Fix bug introduced in my last change. Fix supplied by Hitoshi Tanaka.
Bug can cause a segmentation fault.
2009-05-24 19:11:10 +02:00
* Fixed the format of section 5.3.37. Save* in src/ngsoice.txt
2009-05-24 19:11:10 +02:00
* In src/frontend/plotting replaced extern references in .c files wiith
#include of suitable header files.
2009-05-24 19:11:10 +02:00
* Added src/frontend/numparam/numpaif.h for the external interface to the
numparam library.
2005-05-26 Steven Borley <steven.borley@virgin.net>
* Fixed bug with define (see bug reference [ 999546 ] 'define' is broken
2009-05-24 19:11:10 +02:00
in ngspice-15).
* Fixed bug with 'plot title title_name' (see bug [ 557638 ] plot
2009-05-24 19:11:10 +02:00
segmentation fault).
2005-05-23 Steven Borley <steven.borley@virgin.net>
* Fixed a divide-by-zero bug in the MOS level=2 device model
the fix was supplied by Hitoshi Tanaka.
2009-05-24 19:11:10 +02:00
* Fixed a 'core-dump' that could be caused by the interactive 'write' command
when the plot contains more than one dimension. This was due to improper
use of a buffer in rawfile.c as pointed out by Dietmar Warning. Bug also
affected ngsconvert.
2005-05-22 Steven Borley <steven.borley@virgin.net>
* src/frontend/numparam/mystring.c - fix for MinGW from Hitoshi Tanaka.
* various files - removal of more warning due to unused variables
2005-05-21 Steven Borley <steven.borley@virgin.net>
* src/spicelib/devices/vbic/vbicinit.c Fixed a structure initialisation
problem that occurs when cider is enabled. Also fixes lots of warning
within ciderlib related to unused variables.
* Fixed a compile warning in src/frontend/com_history.c when readline
or editline are used.
* 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 relevant makefile.am files have been updated, so a ./configure
will need to be re-run before building.
* Fixed problems where printf format was int yet on some systems the argument
is long (due to size_t being long). Fixed by always using long format and
casting to long. Affected src/frontend/spiceif.c and src/misc/alloc.c
This makes obsolete the IS_SIZE_T_LONG macro that defined by configure.in,
now removed -it was not working for all platforms (eg. MacOSX)
* configure.in - Removed IS_SIZE_T_LONG (see above). Now only test for
ncurses etc., when either Readline or Editline are being used. This will
fix the basic problem of building on MinGW which does not have these
libraries as standard. Fixed the typo in the AC_REVISION() macro.
2005-05-20 Steven Borley <steven.borley@virgin.net>
* nghelp now uses src/conf.c for consistency with ngspice and ngnutmeg.
Under MinGW the nghelp window is now kept open until a key is pressed.
This allows users to see any error messages before the system closes
the window.
* src/conf.c now uses PACKAGE_VERSION (was VERSION) and PACKAGE_BUGREPORT
(was hard coded in file to "ngspice-bugs@lists.sourceforge.net"). These
values are set by the AC_INIT macro in configure.in
* src/winmain.c - changes to fix warning when compiled with gcc
2005-05-19 Steven Borley <steven.borley@virgin.net>
* Fixed declaration of oflag in winmain.c - fix from Dietmar Warning
* Fixed compile of makeidx for MinGW.
2005-05-18 Steven Borley <steven.borley@virgin.net>
* Reverted src/spicelib/devices/restemp.c to previous version. Changes in
this file were intended for temporary debug and should not have been
committed to CVS.
* Moved isnan() to src/misc/missing_math.c from src/spicelib/devices/dev.c
following suggestion from Dietmar Warning. Also took opportunity to fixed
a compiler warning in dev.c
* Conversion of files containing non-ASCII characters (German language
comments) to ASCII by Dietmar Warning.
2005-05-18 Steven Borley <steven.borley@virgin.net>
* I erroneously omitted a few changes from Dietmar Warning:
Fix to src/maths/cmaths/Makefile.am to exclude test programs that don't
compile under MinGW. Fix to src/spicelib/devices/dev.c to exclude local
isnan() when it exists as a library function.
2009-05-24 19:11:10 +02:00
* Fixes to src/Makefile.am to exclude programs that don't compile under
Windows (MinGW). Fix to avoid dependence problem with linking in winmain.o
2005-05-17 Steven Borley <steven.borley@virgin.net>
* Updates configure.in. Notably this removes the need for acconfig.h (the use
of which is deprecated by autoconf). Most of the remaining changes just
tidy with the aim of following guidelines in the autoconf manual. Fixed an
issue with CFLAGS usage and --disable-debug. Some fixes aimed as support
for MinGW (more to follow).
2009-05-24 19:11:10 +02:00
* Removed acconfig.h (see above for reason).
* Updated various file to allow build using MinGW. Affected files: src/main.c,
src/nghelp.c, src/frontend/evaluate.c, src/frontend/resource.c,
src/frontend/signal_handler.c, src/frontend/wdisp/windisp.c,
src/frontend/wdisp/winprint.c, src/include/macros.h
These changes mostly supplied by Dietmar Warning.
Highlights: macros used for sigjmp_buf (JMP_BUF), sigsetjmp (SETJMP) and
siglongjmp (LONGJMP); Fixed problem of duplicated definition of BOOL.
Adjustments to allow ngnutmeg to compile with a Windows frontend.
2005-05-11 Steven Borley <steven.borley@virgin.net>
* Changed line-ending on several files from DOS to UNIX.
2009-05-24 19:11:10 +02:00
* Translated German in to English in comments for several files
(where the German was simple and meaning clear from the context
- and Babel fish helped too). This also removes the non-ASCII
characters from these files, which was giving problems on
at least one platform.
2009-05-24 19:11:10 +02:00
* In the above files I have also replaced c++ comment style with
c comments (i.e. // go to /* ... */).
2005-05-10 Steven Borley <steven.borley@virgin.net>
* Some minor tidy-up as follows:
- Added missing .cvsignore files in many source directories.
- Added #ifdef CIDER...#endif around fields in structure initialisation
of nbjt, nbjt2, numd, numd2 and numos - this is strictly unnecessary
as these devices are only used when CIDER is defined but it keeps
symmetry with other devices.
- Added some extra TRACE debug statments in in the parser
2009-05-24 19:11:10 +02:00
* Added conditional on the ngspice program to prevent errors when spiceinit
file is used with ngnutmeg (spiceinit.in)
2005-05-10 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/isrc/*,src/spicelib/devices/vsrc/*: added
XSPICE extensions: PHASE parameter and current in isrc. Added AM
transient function (Amplitude Modulation):
2009-05-24 19:11:10 +02:00
AM (sig_ampl offset_const mod_freq carrier_freq t_delay)
2009-05-24 19:11:10 +02:00
The waveform will follow:
2009-05-24 19:11:10 +02:00
value = sig_ampl*{offset_const + SIN(2*PI*mod_freq*(t-t_delay))}*
SIN(2*PI*carrier_freq*(t-t_delay))
2009-05-24 19:11:10 +02:00
As an example you can use:
V1 1 0 AM(10 1 1K 100 1M)
2009-05-24 19:11:10 +02:00
R1 1 0 1
2009-05-24 19:11:10 +02:00
2005-05-09 Steven Borley <steven.borley@virgin.net>
2011-05-29 11:38:07 +02:00
* Added new syntax to the the resistor card to support different style
2009-05-24 19:11:10 +02:00
temperature dependence (from Hitoshi Tanaka <HDA01055@nifty.com>).
Syntax forms now include:
Rxxx <n1> n2> <val> TC=<val1>
Rxxx <n1> n2> <val> TC1=<val1>
Rxxx <n1> n2> <val> TC1=<val1> TC2=<val2>
Rxxx <n1> n2> <val> TC=<val1> <val2>
The the first pair are equivalent, and the last pair are equivalent.
2009-05-24 19:11:10 +02:00
2005-05-07 Steven Borley <steven.borley@virgin.net>
* Added support for the BSD licensed editline library
This includes a work-around to fix a problem found in the current version
of this library (see prompt() in src/main.c).
2009-05-24 19:11:10 +02:00
* Added and updated infomation in the INSTALL file.
2005-05-06 Steven Borley <steven.borley@virgin.net>
* Added code by by H.Tanaka for the .global keyword. This is enabled by
supplying the new --enable-dot-global argument to ./configure.
2009-05-24 19:11:10 +02:00
* Also added configuration for a new --with-editline=yes|no argument to
./configure for future support of the BSD editline library as an
alternative to the GNU readline library.
2005-05-05 Steven Borley <steven.borley@virgin.net>
* Fixed a compile problem with Xspice on Cygwin. Still will not link, but
it's a step in the right direction.
2005-05-04 Steven Borley <steven.borley@virgin.net>
* Fixed issues with the alternate prompt (src/main.c, src/frontent/control.c
and src/include/cpextern.h) - a format problem when used with readline and
a buffer overrun. Also reduced max number of chevrons to 16 and added + at
start when command stack is holding than 16.
2009-05-24 19:11:10 +02:00
* Translations for German comments provided by Dietmar Warning, to fix
issue with UTF-8 observed on Windows (src/main.c)
2009-05-24 19:11:10 +02:00
* Fixed readline operation within ngnutmeg (src/main.c). Also include some
minor tidy-up to avoid some compiler warnings. Updated copyright date
for --help.
2005-04-29 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/inpcom.c: end-of-line comments starting with
the "$" (dollar) sign can be confused with a variable. To
2009-05-24 19:11:10 +02:00
avoid this, the new syntax for such and-of-line comment is:
$ <any comment> (the space is mandatory).
2009-05-24 19:11:10 +02:00
Patch sent from Steven Borley <steven.borley@diode.demon.co.uk>.
2009-05-24 19:11:10 +02:00
2005-04-26 Paolo Nenzi <p.nenzi@ieee.org>
* src/main.c, src/frontend{inp.c, nutinp.c}, src/include/defines.h:
New logic for ngspice initialization (patch from Steven Borley
2009-05-24 19:11:10 +02:00
<steven.borley@diode.demon.co.uk>):
2009-05-24 19:11:10 +02:00
Load the standard start up file 'spinit'
Then look for '.spiceinit' in current directory
If this fails look for 'spice.rc' in currect directory
if this fails the check the HOME environment variable
if HOME is set then:
Look for for '.spiceinit' in user's home directory
If this fails look for 'spice.rc' in user's home directory.
Fixed a memory leak in main.c
2009-05-24 19:11:10 +02:00
* src/include/{complex.h, fteext.h, ngspice.h, sperror.h}:
code cleaning and removed some warning (patch from Steven Borley).
2009-05-24 19:11:10 +02:00
2005-04-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/numparam/{general.h, numparam.h, nupatest.c,
2009-05-24 19:11:10 +02:00
spicenum.c, washprog.c, xpressn.c}: Applied patch from Steven
Borley <steven.borley@virgin.net>. The patch removed the numparam
support for end-of-line comments and moved it into frontend code.
Line buffer for numparam is increased from 250 to 1000 to accomodate
large model cards. Fixed compilation on Cygwin and MacOSX.
* src/frontend/subckt.c: numparams, once compiled in, must be
2009-05-24 19:11:10 +02:00
enabled, during interactive session, using "set numparams". Since
library is experimental and under continuos testing, it is not
yet intended for general use and support is provided for interactive
sessions only (patch from Steven Borley).
* src/frontend/{device.c, spiceif.c}: fixed case sensitivity problems
2009-05-24 19:11:10 +02:00
in key-word identification (patch from Steven Borley).
2009-05-24 19:11:10 +02:00
* src/frontend/inp.c: Fix a bug where the wrong argument to 'listing'
would error, but still produce a listing (patch from Steven Borley).
2009-05-24 19:11:10 +02:00
* src/frontend/inpcom.c: From Steven Borley <steven.borley@virgin.net>
patch:
End-of-line comments have been fixed and can be used on a line
that is followed by a continuation line. This functionality
has been moved from the numparams library and in to the front
2009-05-24 19:11:10 +02:00
end code. All the following can be used to start a comment:
2011-05-29 11:38:07 +02:00
; and $ for compatibility with other simulators
2009-05-24 19:11:10 +02:00
// like C++, and as per numparams
-- as per numparams
This was a full re-write of this code, not a conversion of the
numparams code. It is not dependent on the numparams library.
2009-05-24 19:11:10 +02:00
* src/frontend/resource.c: Fixed a compile bug under window & cygwin
(patch from Steven Borley).
* src/frontend/plotting/x11.c: Applied patch from Steven Borley.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/cktsetbk.c: Added some code to track
breakpoints (you need to define TRACE_BREAKPOINT macro).
2009-05-24 19:11:10 +02:00
2005-04-16 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{subckt.c, inpcom.c}, src/frontend/numparam/{general.h,
mystring.c, readme.txt, spicenum.c, xpressn.c}: Applied patch from
Steven Borley <steven.borley@virgin.net> that fixed numparam
library. Patch description follow (extracted from Steven's
2009-05-24 19:11:10 +02:00
message):
> Fixes problem with logfile not being opened before we have
2009-05-24 19:11:10 +02:00
something to write to it,
> Renamed round() and trunc() to avoid clash with functions in
2009-05-24 19:11:10 +02:00
math.h,
> Numparam now only stops execution when it finds errors,
> Added some debug tracing (normally off),
> Added some debug tracing (normally off),
> Fixes a #ifdef that had a typo and thus stopped numparams,
working,
> Renames a local variable to avoid confusion (of the
2009-05-24 19:11:10 +02:00
developer/maintainer),
> Fixes the renumbering of lines from a .include file.
2009-05-24 19:11:10 +02:00
* examples/numparam/{example.cir, pintest.cir,pin.mod}: added
netlists sent with Steven's patch.
* src/frontend/subckt.c: Added fix sent by Hitoshi Tanaka
2009-05-24 19:11:10 +02:00
<HDA01055@nifty.com>. Now nodes starting with the letter "v"
in subcircuits are translated correctly (as internal nodes)
and not as voltage sources v<NIL>.
2009-05-24 19:11:10 +02:00
* src/xspice/cmpp/pp_lst.c: malloc did not consider the null
terminating character in "path". Applied patch from Mac OSX
patch file maintained by Khairulmizam Samsudin <kmbs2002@yahoo.com>.
* src/xspice/icm/makedefs.in: Mac OSX requires different flags
for shared libraries linking. Applied patch from Mac OSX patch
file maintained by Khairulmizam Samsudin <kmbs2002@yahoo.com>.
2009-05-24 19:11:10 +02:00
2005-04-06 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/subckt.h: Since inp_numnodes has been declared static
the prototype has been removed.
2005-04-04 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/subckt.c: Applied patch from Steven Borley
<steven.borley@diode.demon.co.uk> that fixes a bug in model
name translation that shows in nested subckts reported by
Hitoshi Tanaka <HDA01055@nifty.com> (for which he sent a patch that
was supersed by Steven's one).
2009-05-24 19:11:10 +02:00
* configure.in: As Stuart Brorson suggested now the garbage collector
library is compiled only on explicit request by the user.
2009-05-24 19:11:10 +02:00
2005-03-20 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/cktntask.c: The default parallel
multiplier (m=1) for mosfet levels 1, 2, 3 and 9 was not set
in interactive analyses. Applied fix sent by Steven Borley
2009-05-24 19:11:10 +02:00
<steven.borley@diode.demon.co.uk>.
2009-05-24 19:11:10 +02:00
* Changed value of trtol to 1 when xspice extensions are compiled
(as in xspice source code).
2009-05-24 19:11:10 +02:00
2005-03-17 Paolo Nenzi <p.nenzi@ieee.org>
* src/main.c: Applied patch sent by Steven Borley
<steven.borley@diode.demon.co.uk> that removed the duplicate
declaration application_name and gnu_history_file, removed the
"static" keyword in shutdown() and set NULL as return value in
function prompt() when non prompt is passed to readline().
* src/ngspice.txt: Applied patch sent by Steven Borley
<steven.borley@diode.demon.co.uk> that fixed a few errors that
2009-05-24 19:11:10 +02:00
corrupted text output.
* configure.in: Applied patch sent by Steven Borley
2009-05-24 19:11:10 +02:00
<steven.borley@diode.demon.co.uk> that fixes compiler warnings
on MAC OSX (related to the linking order of X libraries). The
remaining changes fix errors in spelling.
* tests/bin/check.sh: Applied patch sent by Steven Borley
2009-05-24 19:11:10 +02:00
<steven.borley@diode.demon.co.uk> that added support for Mac OSX
and a default case for not (yet) supported architectures.
* src/frontend/aspice.c: Applied patch sent by Steven Borley
<steven.borley@diode.demon.co.uk> that fixed compiler warnings on
2009-05-24 19:11:10 +02:00
Mac OSX in definition of "status".
* src/spicelib/devices/bsim3/b3set.c: Applied patch sent by Steven
2009-05-24 19:11:10 +02:00
Borley <steven.borley@diode.demon.co.uk> that remove the compiler
warnings about ambiguous "else".
2005-03-13 Paolo Nenzi <p.nenzi@ieee.org>
* tests/bin/check.sh: Changed the previous check script with the one
supplied by Dietmar warning <warning@danalyse.de>. This new script
adds support for different architectures (MINGW32, Linux, SunOS).
2009-05-24 19:11:10 +02:00
* src/spicelib/device/vbic/vbicpzld.c: Corrected an error in pole-zero
routine. Dietmar Warning <warning@danalyse.de> sent the fix.
2009-05-24 19:11:10 +02:00
2005-03-07 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim4/b4ld.c: commented out NEWCONV section.
2005-03-06 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim4: removed uninitialized variables in model
files.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/dctrcurv.c: Dietmar Warning
<warning@danalyse.de> has changed the way the lst point in a dc
sweep is computed. This new scheme is more accurate.
2009-05-24 19:11:10 +02:00
2005-02-28 Paolo Nenzi <p.nenzi@ieee.org>
* DEVICES: Updated (again) changing BSIM4 level from 60 to 14 since
older model revisions are not yet in ngspice. This is consistent
with model developers: newer models are compatible with older ones.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim4/: updated to revision 4.4.0 with "m"
parallel multiplier enhancements. Thanks to Mick Tooher
<micktooher@yahoo.com> and Dietmar Warning <warning@danalyse.de> for
this update.
2009-05-24 19:11:10 +02:00
* tests/bsim4/: updated test files for bsim4 4.4.0. The old files have
been replaced with new ones coming from BSIM4 site. There are new
tests: (*_gedl*) and ro_17.cir.
2009-05-24 19:11:10 +02:00
2005-02-25 Paolo Nenzi <p.nenzi@ieee.org>
* DEVICES: Dietmar Warning (warning@danalyse.de) provided me an
updated and corrected version of this file.
2005-02-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/subckt.c: modified the file with the one supplied by
Dietmar Warning's (warning@danalyse.de). This fix the bug that
caused ngspice to crash with long subckt lines.
2004-09-05 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/jfet/jfet.c: model type (njf or pjf) was
defined as input/output parameter. Now is an input-only parameter,
as in other models.
2009-05-24 19:11:10 +02:00
* tests/jfet/jfet_vds-vgs.out: Corrected the output after the change
in jfet.c. With the old code the number associated to njf or pjf
(meaningless) changed each run of ngspice and caused the check
process to fail.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/mesa/mesa.c: model type was reported
incorrectly. Declared parameter vt0 as "redundant", since it has
the same meaning of vto.
2009-05-24 19:11:10 +02:00
* tests/mesa/mesa11.out: changed test file output according to
changes in mesa.c. Now model type ic correct.
2009-05-24 19:11:10 +02:00
2004-09-01 Paolo Nenzi <p.nenzi@ieee.org>
2009-05-24 19:11:10 +02:00
* src/conf.c: Modified bug reports address. Now it points to a
mailing list dedicated to bug reports.
2009-05-24 19:11:10 +02:00
2004-08-29 Paolo Nenzi <p.nenzi@ieee.org>
* src/fronted/aspice.c: Added a define for FreeBSD (from
2009-05-24 19:11:10 +02:00
FreeBSD ports archive).
2004-08-22 Paolo Nenzi <p.nenzi@ieee.org>
* src/xspice/enhtrans.c: Removed code introduced by Stuart Brorson to
limit parsing of POLY statements to dimension 2. Now functions
2009-05-24 19:11:10 +02:00
returns a copy of the error strings that i freed by higher level
code once processed and write the error on the expanded netlist (as
comments) instead of expanded lines (this fixes a segmentation fault
since INPpas1() does not check if the returned line is not null and
makes expanded netlist more informative).
2009-05-24 19:11:10 +02:00
2004-08-20 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{gens.h, gens.c, device.c}: Committed another Vera
2009-05-24 19:11:10 +02:00
Albrecht's patch for the "show" command. This closes the bug
definitively.
* src/include/{cktdefs.h, dgen.h, ftedebug.h, missing_math.h,
ngspice.h, noisedef.h, sensdef.h},
src/spicelib/analysis/{ckt.h, ckti2nod.c}: committed Vera
Albrecht patch to remove some compiler warnings.
2009-05-24 19:11:10 +02:00
2004-08-16 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/{device.c, gens.c}: Committed Vera Albrecht's patch
to the "show command" I closed on 2004-08-13. Vera's patch is
2009-05-24 19:11:10 +02:00
better.
2004-08-15 Paolo Nenzi <p.nenzi@ieee.org>
* configure.in, src/spinit.in: Added a variable in configure.in
to decomment codemodels lines in spinit if --enable-xspice is
issued in the configure phase. It is a hack but works.
2004-08-14 Paolo Nenzi <p.nenzi@ieee.org>
* src/main.c: The code for -o option contained an error that
prevented the correct operation of output redirection. The
masking #ifdef has been changed to #ifndef.
2009-05-24 19:11:10 +02:00
2004-08-13 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/device.c: "show" command leaked 28 bytes for each
group of words since an allocated pointer in line 33 of gens.c
was never freed. It is not possible to free allocated memory
2009-05-24 19:11:10 +02:00
using that pointer since it is used and its value altered. I
used "listdg" copying original pointer value to it and freeing
memory using "listdg" instead. There were sone "tfree" that
caused problems for incorrect inputs, I have removed them and
tested against some bad syntax. Results shows no leaks.
2009-05-24 19:11:10 +02:00
* src/spicelibe/devices/{res/resparam.c, cap/capparam.c,
ind/indparam.c}: Fixed a bug introduced with m and acResistance
parameters. Since show command works as soon as a circuit is
2009-05-24 19:11:10 +02:00
loaded, before any call to DEVsetup or DEVtemp is made, some
parameters, in this early call showed incorrect results.
2009-05-24 19:11:10 +02:00
Simulations are not affected by this bug, but it is annoying.
Now principal parameters are display correctly.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/cktncdump.c: fixed a typo that prevents
compilation on some systems.
2009-05-24 19:11:10 +02:00
2004-08-09 Paolo Nenzi <p.nenzi@ieee.org>
* Updated and corrected test files in "tests" directory. Added
"examples" directory.
* src/spicelib/devices/bsim3/b3set.c: Added Dietmar Warning
<warning@danalyse.de> patch to solve a bug that shows up when
acm=2 was used. From Dietmar's mail message:
if we use the acm=2 option we must set the nrd and nrs
2009-05-24 19:11:10 +02:00
defaults to 0.
* src/spicelib/devices/mos3/mos3temp.c: As suggested by Dietmar
Warning <warning@danalyse.de> I removed the >1um limit for the
model.
2009-05-24 19:11:10 +02:00
2004-07-08 Paolo Nenzi <p.nenzi@ieee.org>
* Applied Al Niessner <Al.Niessner@jpl.nasa.gov> negabyte patch
that removed all compiler warnings.
2009-05-24 19:11:10 +02:00
* configure.in, src/xspice/icm/makedefs.in, tests/Makefile.am,
xgraph/aclocal.m4, xgraph/configure.in, xgraph/configure: updated
2009-05-24 19:11:10 +02:00
configuration files for autoconf V2.59 automake V1.8.
2004-07-05 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/resource.c: added __APPLE__ for mac osx support as in
patch sent by Khairulmizam Samsudin <kmbs@hotmail.com>
2009-05-24 19:11:10 +02:00
* src/spicelib/parser/inpdomod.c: fixed some typos as in patch
sent by Khairulmizam Samsudin <kmbs@hotmail.com>
2009-05-24 19:11:10 +02:00
2004-06-22 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/vbic: Vbic code updated. Thanks to Dietmar
Warning (warning@danalyse.de )now we have the four terminal
version of the VBIC model. The old three terminal version has
2009-05-24 19:11:10 +02:00
been discarded.
2004-06-21 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/subckt.c: patch from Stuart Brorson
<sdb@cloud9.net>. This patch adresses the following
problem (as written by Stuart):
Modified modtranslate and devmodtranslate to fix bug noticed
by Liu: codemodel names called out in the device instantiation
line ("A1 1 2 3 4 lim") were not translated correctly if they
were invoked inside a .subckt. Fix involved explicitly adding
code to handle "A" device types when translating the line.
SDB 6.18.2004.
2009-05-24 19:11:10 +02:00
2004-05-30 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/subckt.c: patch from Dietmar Warning
(warning@danalyse.de) to fix memory errors when using very
2009-05-24 19:11:10 +02:00
long model card.
2009-05-24 19:11:10 +02:00
src/spicelibe/devices/vbic/vbicsetup.c: patch from Dietmar Warning
(warning@danalyse.de) to fix vbic behavior.
2004-02-14 Paolo Nenzi <p.nenzi@ieee.ord>
* Trimmed the autoconf interfaces. Added dummy ".out" files
into many tests subdirectories and modified many Makefile.amS.
2004-02-05 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/cktntask.c: Bug: not all the values
of TSKtask structure were copied and got a correct default
value. The bug showed as an infinite loop in gmin stepping.
2004-02-10 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/inpcom.c: Applied patch from Dietmar Warning
to solve the bug discovered by Jelle Haandrikman: wrong
2009-05-24 19:11:10 +02:00
subcircuit expansion when leading spaces are present in the
subcircuit netlist.
2009-05-24 19:11:10 +02:00
2004-01-28 Paolo Nenzi <p.nenzi@ieee.org>
* configure.in: changed version to rework15.
2004-01-27 Paolo Nenzi <p.nenzi@ieee.org>
* configure.in: changed version to rework15-pre3 and other
small changes for release.
2009-05-24 19:11:10 +02:00
* AUTHORS, FAQ: Updates
* src/spicelib/devices/bjt/bjtpzld.c,
2009-05-24 19:11:10 +02:00
src/spicelib/devices/bjt2/bjt2pzld.c: there was an error
in the pole-zero routine. The collector resistance was
loaded into the matrix instead of the condictance.
* inpdomod.c: Updated HiSIM level to 64.
* src/spicelib/devices/vbic/*, src/Makefile.am,
2009-05-24 19:11:10 +02:00
src/spicelib/devices/dev.c, src/spicelibe/parser/inp2q.c,
src/spicelib/parser/inpdomod.c,src/spicelib/devices/Makefile.am,
tests/vbic, contrib/vbic, DEVICES: Added VBIC model from
Dietmar Warning <warning@danalyse.de>. This is the 3 terminal
model without excess phase and termal network.
2004-01-26 Paolo Nenzi <p.nenzi@ieee.org>
* DEVICES: updated isrc an vsrc status
* src/spicelib/devices{isrc,vsrc}: Cleaned up code
2009-05-24 19:11:10 +02:00
* tests/cider: Added example files for cider simulator.
2004-01-25 Paolo Nenzi <p.nenzi@ieee.org>
* configure.in, acconfig.h: Added configure options for the
following debug symbols: ASDEBUG, D_DBG_BLOCKTIMES,
D_DBG_SMALLTIMES, NEWPRED.
2004-01-23 Paolo Nenzi <p.nenzi@ieee.org>
* xgraph: Added xgraph plotting program. It can be added to
the ngspice binaries by adding --enable-xgraph in the
configuration phase.
2009-05-24 19:11:10 +02:00
2004-01-21 Paolo Nenzi <p.nenzi@ieee.org>
* src/include/ifsim.h, src/include/cktdefs.h, src/frontend/spiceif.c,
src/frontend/shyu.c, src/spicelib/cktntask.c: Applied the options
2009-05-24 19:11:10 +02:00
patch made by Charles Williams <C.D.H.Williams@exeter.ac.uk>
2004-01-20 Paolo Nenzi <p.nenzi@ieee.org>
* src/maths/ni/*: Cleaned up code removing unnecessary includes.
2004-01-15 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/{cccs,ccvs,vccs,vcvs}/*: cleaned up the code.
* src/spicelib/devices/csw/*, src/spicelib/devices/sw/*: cleaned
up the code.
* DEVICES: updated switches status.
2009-05-24 19:11:10 +02:00
2004-01-14 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/txl/*: Added TXLunsetup function to allow
for multiple simulations.
* DEVICES: Updated txl status.
2009-05-24 19:11:10 +02:00
2004-01-11 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/*: Removed redundant includes. File stdio.h
is already included via ngspice.h.
2004-01-10 Paolo Nenzi <p.nenzi@ieee.org>
* configure.in: changed version to rework-15pre2.
* src/frontend/{com_history.c, cpitf.c, display.h, evaluate.c,
inpcom.c, misccoms.c, parser/glob.c, plotting/x11.c, resource.c,
runcoms.c, signal_handler.c, subckt.c, variable.c}
src/include/{ftedev.h, ngspice.h}
src/misc{ivars.c, Makefile.am, string.c, tilde.c, tilde.h, util.c,
util.h}
src/{main.c, nghelp.c, ngmultidec.c}
configure.in:
2009-05-24 19:11:10 +02:00
Applied Stuart's patch tclspice-0.2.14_12-03-2003.diff.gz but
with libreadline disabled by default. (Stuart Brorson
2009-05-24 19:11:10 +02:00
<sdb@cloud9.net>).
* Fixed makefiles in src/xspice/icm and src/xspice/cmpp to make
2009-05-24 19:11:10 +02:00
distclean without barfing. (Stuart Brorson <sdb@cloud9.net>).
* configure.in
2009-05-24 19:11:10 +02:00
src/xspice/cmpp/Makefile src/xspice/cmpp/Makefile.in:
Make configure automatically set paths for lex yacc and
2009-05-24 19:11:10 +02:00
install dir (Stefan Jones <stefan.jones@multigig.com>).
* src/Makefile.am Makefile.am README.Tcl
src/xspice/README src/xspice/icm/README
src/xspice/icm/spice2poly/icm_spice2poly/README:
Updated to reflect codemodel support is now complete
(Stefan Jones <stefan.jones@multigig.com>).
* src/xspice/ipc/ipc.c:
Remove linux specific includes which are not needed
(Stefan Jones <stefan.jones@multigig.com>).
* src/xspice/{Makefile.am,xspice.c}
2009-05-24 19:11:10 +02:00
src/xspice/cm/{cmexport.c,Makefile.am}:
Moved the xspice library hooks into the cm directory
(Stefan Jones <stefan.jones@multigig.com>).
* src/xspice/enh/enhtrans.c src/xspice/mif/mif_inp2.c:
Fixed version from Stuart Brorson <sdb@cloud9.net>,
2009-05-24 19:11:10 +02:00
http://www.brorson.com/gEDA/ngspice/
* src/spinit, arc/spinit.in, configure.in: parametrized spinit paths
for codemodel devices.
* src/Makefile.am, src/ngspice.idx: removed ngspice.idx
and make it auto-generated and installed
2009-05-24 19:11:10 +02:00
(Stefan Jones <stefan.jones@multigig.com>).
* src/frontend/aspice.c: Added #ifdef for SOLARIS.
* src/include/cktdefs.h: added prototype for NInzIter().
* src/spicelib/devices/cpl/*: Added CPLask and CPLmAsk functions to
access device's internals. Added CPLunsetup function to allow
for multiple simulations.
* DEVICES: updated with cpl changes.
2009-05-24 19:11:10 +02:00
2003-12-31 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/tra/*: Cleaned code.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/ltra/*: Cleaned code.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/urc/*: Cleaned code.
* tests/transmission/{cpl*, txl*, ibm*}: Added test files for the
kspice's cpl and txl devices.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/cpl/*: Cleaned the cpl code.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/txl/*: Cleaned the txl code.
2009-05-24 19:11:10 +02:00
* src/frontend/subckt.c, src/spicelib/analysis/cktdojob.c,
src/spicelib/analysis/dctran.c: added some txl an cpl specific
code from kspice.
* src/spicelib/devices/mesa/*: Added parallel multiplier and "dtemp",
pole-zero analysis and parallel code switches.
* src/spicelib/devices/mes/*: Added parallel multiplier.
2009-05-24 19:11:10 +02:00
* tests/mes, tests/mes/subth.cir: added test netlist for mes devices.
* DEVICES: updated documentation including MES, MESA, CPL, TXL, TRA,
LTRA and URC changes.
2003-12-30 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelibe/devices/hfet2/*: Added parallel multiplier and "dtemp"
parameters. Added pole-zero analysis and parallel code switches.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/jfet/jfetpzld.c: gspr and gdpr were initialized
with Resist and not Conduct, corrected!
* src/spicelib/devices/hfet1/*: Added parallel multiplier and "dtemp" to
the code. Added the pole-zero analysis and parallel code checks.
Corrected a bug in the unsetup function that caused a segfault.
2009-05-24 19:11:10 +02:00
* tests/hfet/, tests/hfet/id_vgs.cir, tests/inverter.cir: added hfet
test netlists.
* DEVICES: updated hfet1 status.
2009-05-24 19:11:10 +02:00
2003-12-27 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/jfet2/*: Added parallel multiplier and "dtemp"
parameter. Added Alan's CopyNodeSet, and inserted a missing
instruction in JFET2temp (for parallel code).
2009-05-24 19:11:10 +02:00
* DEVICES: Updated documentation for JFET2 model
2009-05-24 19:11:10 +02:00
2003-12-26 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/jfet/*: Added parallel multiplier and
"dtemp" parameter.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/jfet/jfetload.c: reintroduces the old model
code, superseded by Sydney code (Parker Skellern). The code is
not used but is left as reference.
2009-05-24 19:11:10 +02:00
* DEVICES: Updated jfet status
* tests/jfet, tests/jfet/jfet_vds-vgs.cir: added jfet directory
2009-05-24 19:11:10 +02:00
and one netlist.
2003-12-24 Paolo Nenzi <p.nenzi@ieee.org>
* src/maths/cmaths/cmath4.c: Applied
Vera Albrecht patch to enable interpolate
function.
2009-05-24 19:11:10 +02:00
* src/frontend/{come_let.c, control.c, evaluate.c, outitf.c, parse.c},
src/frontend/parser/lexical.c: Applied Vera Albrecht patch that
fixes ngspice bugs in its control language (c shell).
2009-05-24 19:11:10 +02:00
2003-12-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/mos9/*: Added
2009-05-24 19:11:10 +02:00
"dtemp" parameters.
* DEVICES: Updated MOS9 status.
2009-05-24 19:11:10 +02:00
2003-12-08 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/mos6/*: Added "m"
"dtemp" parameters.
* DEVICES: Updated MOS6 status.
2009-05-24 19:11:10 +02:00
2003-11-22 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim2/*: Added "m"
parameter and noise routine.
* DEVICES: Updated file with bsim2 changes.
2009-05-24 19:11:10 +02:00
2003-11-21 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim1/*: Added "m"
parameter and noise routine.
* DEVICES: Updated file with bsim1 changes.
2009-05-24 19:11:10 +02:00
2003-11-12 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/mos2/*: Added "dtemp"
parameter.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/mos3/*: Added "dtemp"
parameter.
* DEVICES: updated file.
2009-05-24 19:11:10 +02:00
2003-11-11 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/mos1/*: Added "dtemp"
parameter.
* DEVICES: Updated MOS1 status.
2009-05-24 19:11:10 +02:00
2003-11-02 Paolo Nenzi <p.nenzi@ieee.org>
2009-05-24 19:11:10 +02:00
* doc/ngspice.texi: updated documentation.
2003-10-29 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bjt2/*: Enhanced bjt level 2
model adding dtemp, parallel mutliplier "m" and
2009-05-24 19:11:10 +02:00
support for CIDER multiprocessor compilation.
* DEVICES: Updated status of Diode and BJT's.
2009-05-24 19:11:10 +02:00
2003-10-26 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bjt/*: Improved bjt level 1 model
adding dtemp and parallel multiplier.
2003-10-24 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/dio/*: Improved diode model with code
sent by Diermar Warning and mine improvements. Forward/Reverse
knee currents, periphery effect, temperature corrections of
some parameters and parallel multiplier.
2009-05-24 19:11:10 +02:00
* doc/ngspice.texi: updated documentation with new diode model.
2003-10-01 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/noisean.c: fixed an arror that caused segfault
when resuming an halted long lasting noise analysis. The source fo
this fix is Vera Albrecht <albrecht@danalyse.de>
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/res/restemp.c: Changed default value for flicker
noise exponent to 1.0 (was 0.0), as in others spice devices.
2009-05-24 19:11:10 +02:00
2003-09-27 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/ind/*, src/spicelib/parser/inp2l.c,
src/spicelib/parser/inpdomod.c, src/include/defines.h,
src/include/const.h: Improved inductor model. Added parallel
multiplier, temperature correction and solenoid/toroid model.
2009-05-24 19:11:10 +02:00
* DEVICES, doc/ngspice.texi: updated documentation to reflect changes
in inductor code.
2009-05-24 19:11:10 +02:00
2003-09-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/bsim3/*: Added new multirevision bsim3 code sent
by Dietmar Warning. This model implements bsim 3v3.2 up to 3v3.2.4 and
has enahnced with ACM.
* DEVICES: updated bsim3 status.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bjt2/*, DEVICES, Changelog: Added bjt2 code sent
by Dietmar Warning, containing some fixes over the original code and
a new feature: temperature correction of re,rb,rc.
2009-05-24 19:11:10 +02:00
* src/frontend/numparam/*, src/frontend/Makefile.am, src/Makefile.am,
configure.in, acconfig.h, src/frontend/subckt.c: Added numparam
2009-05-24 19:11:10 +02:00
library contributed by Georg Post. This library let users to
input parametric netlists in ngspice. Look at readme in library
directory.
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/dctrcurv.c: small bug fix. CKTtime was confused
with CKTtemp.
2003-09-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/cap/*, src/spicelib/parser/inp2c.c,
src/include/defines.h, src/include/const.h: enhanced
capacitor model. Added temperature dependence, model capacitance
and cj computation based on insulator thickness and relative
dielectric constant.
2009-05-24 19:11:10 +02:00
* doc/ngspice.tex, DEVICES: updated documentation reflecting
capacitor model changes.
2009-05-24 19:11:10 +02:00
2003-09-24 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/dctrcurv.c: Fixed resistance sweep. First
point is now correct. A call to CKTtemp was needed in the first
point.
2003-09-20 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/res/*, src/spicelib/analysis/nevalsrc.c,
doc/ngspice.texi, DEVICES: Added new features to resistors:
flicker noise, temperature difference with the rest of the
circuit, noiseless resistors. The implementation of dtemp
required a change in the nevalsrc.c file in the function that
computes the noise densities. Updated documentation.
2009-05-24 19:11:10 +02:00
2003-09-18 Paolo Nenzi <p.nenzi@ieee.org>
2009-05-24 19:11:10 +02:00
* src/spicelib/analysis/dctrcurv.c: Corrected temperature sweep.
Initial temp was the circuit temperature and not the start
value in the input line. There was a missing call to CKTtemp().
2003-08-24 Paolo Nenzi <p.nenzi@ieee.org>
* src/maths/sparse/, src/include/complex.h: Added a function
needed by CIDER in sparse library and started to isolate as
much as possible sparse code from spice, reverting some of
the work did in the previous releases. The idea is to design
an interface between spice and a generic matrix library.
In the future the current sparse code will be upgraded to
version 1.4 (http://sparse.sourceforge.net).
src/frontend/misccoms.c, doc/ngspice.texi: Modified "version"
2009-05-24 19:11:10 +02:00
command to include compilation information when called with
the new "-f" option.
2009-05-24 19:11:10 +02:00
src/frontend/(parse.c,define.c): Applied Stefan patches
that close a memory leak.
2009-05-24 19:11:10 +02:00
src/spicelib/parser/inpgmod.c: Patched Stuart INPgetNetTok
function to correct a parsing error emerged in pole-zero
analysis.
2009-05-24 19:11:10 +02:00
2003-08-14 Paolo Nenzi <p.nenzi@ieee.org>
* configure.in, src/main.c, src/misc/tilde.c, src/misc/tilde.h,
src/frontend/com_history.c, src/frontend/misccoms.h,
src/frontend/signal_handler.c, src/frontend/plotting/x11.c,
src/frontend/parser/glob.c, src/include/ngspice.h:
2009-05-24 19:11:10 +02:00
Added Andrew Veliath patch for readline support. Using
readline with ngspice IS A VIOLATION OF GPL LICENSE, you
have been warned. The final decision is up to you. The
patch has been applied in the perspective of changing
readline library with libedit. Libedit aims to be a
replacement of readline and is covered by BSD license.
Libedit is available at the URL: libedit.sourceforge.net.
2009-05-24 19:11:10 +02:00
Readline code has been extrapolated from a patch available
on http://www.btae.mam.gov.tr/~genc/ngspice/.
2009-05-24 19:11:10 +02:00
2003-08-11 Paolo Nenzi <p.nenzi@ieee.org>
* doc/ngspice.texi: updated documentation. Still incomplete
but on the way...
* main.c, ngnutmeg.c, ngspice.c, frontend/resource.c,
include/bool.h, include/cktdefs.h, include/complex.h,
include/defines.h, include/devdefs.h, include/macros.h,
include/ngspice.h, maths/cmaths/cmath1.c,
maths/cmaths/test_cx_ph.c, maths/ni/nidest.c,
2009-05-24 19:11:10 +02:00
maths/ni/nipred.h, maths/ni/nireinit.c, misc/misc_time.c,
misc/string.c, misc/stringutil.h, spicelib/analysis/cktdltn.c,
spicelib/analysis/cktdojob.c, spicelib/analysis/cktdump.c,
spicelib/analysis/cktload.c, spicelib/analysis/cktmknod.c,
spicelib/analysis/cktntask.c, spicelib/analysis/cktpzstr.c,
spicelib/analysis/cktsens.c, spicelib/analysis/cktsetup.c,
spicelib/analysis/cktsgen.c, spicelib/analysis/cktsopt.c,
spicelib/parser/inp2d.c, spicelib/parser/inp2m.c,
spicelib/parser/inp2q.c, spicelib/parser/inpdomod.c,
spicelib/parser/inpgmod.c:
2009-05-24 19:11:10 +02:00
Updated code for CIDER integration.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim3v2: removed because the V3.2 code
is now in bsim3 directory.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices: various enhancements on models. Mainly
code cleaning (removed spurious #include <stdio.h>). Added
2009-05-24 19:11:10 +02:00
parallel multiplier on some device and corrected implementation
of cpl an txl devices.
* bdrydefs.h, carddefs.h, ciderinp.h, cidersupt.h, contdefs.h,
domndefs.h, dopdefs.h, elctdefs.h, gendev.h, lsort.h,
2009-05-24 19:11:10 +02:00
material.h, matldefs.h, meshdefs.h, meshext.h, methdefs.h,
mobdefs.h, modldefs.h, numcards.h, numconst.h, numenum.h,
numgen.h, numglobs.h, onedev.h, onemesh.h, optndefs.h,
outpdefs.h, profile.h, twodev.h, twomesh.h:
new include files imported with CIDER.
2009-05-24 19:11:10 +02:00
* src/ciderlib/*, src/maths/misc, src/spicelib/devices/nbjt,
src/spicelib/devices/nbjt2, src/spicelib/devices/numd,
src/spicelib/devices/numd2, src/spicelib/devices/numos:
2009-05-24 19:11:10 +02:00
Added CIDER simulator routines, support math functions and
numerical devices.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim3soi: added bsim3soi v3.x model
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim3v0: added version 3.0 of
bsim model.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim3v1a: version 3.1 of bsim model.
This model has been hacked by Alan Gillespie.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim3v1s: version 3.1 of bsim model.
This model has been hacked by Serban Popescu.
* src/spicelib/devices/hisim: added hisim model.
2009-05-24 19:11:10 +02:00
2003-08-06 Paolo Nenzi <p.nenzi@ieee.org>
* Another big commit: Stefan Jones has worked on the xspice
part and added some fix from Vera Albrecht. Tclspice 0.2.13
Changelog (applicable parts) follows:
2009-05-24 19:11:10 +02:00
2003-08-01 Stefan Jones <stefan.jones@multigig.com>
2009-05-24 19:11:10 +02:00
* src/xspice/mif/mif_inp2.c:
Reverted to version 1.1.2.2 so POLY and codemodels work
2009-05-24 19:11:10 +02:00
* src/Makefile.am:
Fixed libspice.so dependencies
2009-05-24 19:11:10 +02:00
* src/frontend/{com_let.c,device.c,evaluate.c}:
more memory leak fixes by Vera Albrecht <albrecht@danalyse.de>
* configure.in src/xspice/icm/* src/xspice/lib/*.cm
2009-05-24 19:11:10 +02:00
src/xspice/Makefile.am :
Added some easy to use makefiles for codemodels and reordered
Removed binary files
Added icm to build list
2009-05-24 19:11:10 +02:00
* src/xspice/icm/{analog,digital,xtradev,xtraevt}:
added the codemodels from xspice in the same
structure as spiceopus
2009-05-24 19:11:10 +02:00
* src/frontend/misccoms.c src/spinit src/conf.c configure.in:
updated email address for bug reports and package version.
2009-05-24 19:11:10 +02:00
2003-07-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/main.c: Studied Vera's main.d and introduced changes
following her advice.
2009-05-24 19:11:10 +02:00
* src/frontend/vectors.c: Applied Vera patch.
2009-05-24 19:11:10 +02:00
* src/spicelib/devices/bsim3soi_{dd,fd,pd}:
Corrected bsim3soi{pd,fd,dd}def.h, owner and states fields
were swapped. Thanks to Jon Elngelbert.
2009-05-24 19:11:10 +02:00
2003-07-23 Paolo Nenzi <p.nenzi@ieee.org>
* A lot of changes that touched too many files to mention each one.
I have introduced the xspice code into ngspice. I take xspice code
2009-05-24 19:11:10 +02:00
from tclspice (0.2.12). Since tclspice started as a branch of
ngspice, I have applied the patches developed for it that correcting
some bugs common to tclspice and ngspice. What follows is the
extract of tclspice Changelog file that describes the changes:
2009-05-24 19:11:10 +02:00
2003-07-18 Vera Albrecht <albrecht@danalyse.de>
* src/{main.c,tclspice.c}
src/frontend/{Makefile.am,control.c,control.h,display.c,
dotcards.c, hcomp.c,hpgl.c,outitf.c,parse.c,postcoms.c,
postsc.c,runcoms.c, spiceif.c,variable.c,variable.h,
parser/complete.c,plotting/pvec.c}
2009-05-24 19:11:10 +02:00
src/include/{cktdefs.h,ngspice.h}
src/misc/{ivars.c,string.c,stringutil.h}
src/spicelib/analysis/{acan.c,ckt.h,dcop.c}
src/spicelib/devices/bsim3/b3temp.c
src/spicelib/parser/{ifnewuid.c,inp2dot.c,inperror.c} :
Memory leaks and some WINDOWS compile fixes.
2003-07-17 Stefan Jones <stefan.jones@multigig.com>
* src/frontend/{subckt.c,vectors.c}
src/spicelib/analysis/dctran.c
src/spicelib/parser/inperror.c
2009-05-24 19:11:10 +02:00
src/xspice/idn/idndig.c src/xspice/mif/mif_inp2.c :
More memory leak fixes
* configure.in src/xspice/xspice.c :
Fix compile problems with garbage collector
2003-07-17 Steven Borley <sjb@salix.demon.co.uk>
src/spicelib/devices/txl/txlload.c :
Fixed duplicate declaration of pool_vi_txl
2003-07-16 Vera Albrecht <albrecht@danalyse.de>
* frontend/{device.c,parse.c,vectors.c,com_compose.c} :
More memory leaks closed in utility commands and functions.
2003-07-16 Stefan Jones <stefan.jones@multigig.com>
* src/frontend/{com_compose.c,cpitf.c,device.c,subckt.c,
vectors.c}
src/frontend/plotting/plotit.c src/include/ngspice.h
src/spicelib/parser/{inp2dot.c,inp2r.c,inpdomod.c,inpdpar.c,
inpgmod.c,inppas3.c} :
Rest of the serious deck reader leaks, plus fixes for the
2009-05-24 19:11:10 +02:00
last batch.
2003-07-15 Stefan Jones <stefan.jones@multigig.com>
* /src/frontend/{com_let.c,com_set.c,evaluate.c,parse.c,
variable.c}
src/frontend/parser/complete.c :
Memory leaks plugged
2003-04-14 Stefan Jones <stefan.jones@multigig.com>
* Make all the devices in src/spicelib/devices be built
as archives not shared libraries, and don't install them
2003-06-22 Stuart Brorson <sdb@cloud9.net>
* Finally got SPICE2 POLY stuff working. This involved
lots of changes in src/xspice/mif and src/xspice/enh.
2009-05-24 19:11:10 +02:00
Particular changes were made in:
-- MIF_INP2A: re-arranged logic to fix parsing problems.
-- two2three_translate: fixed some stupid pointer problems.
-- etc.
2009-05-24 19:11:10 +02:00
* Revamped src/xspice/icm/ and src/xspice/icm/icm_spice2poly
directories to enable build of POLY codemodel.
Makefiles were fixed, and some stuff was added to enable
cmpp (from SPICE Opus) to build the codemodel precursors
correctly. (Note that you need to download and install
SPICE Opus to rebuild the codemodel stuff. See
2009-05-24 19:11:10 +02:00
src/xspice/icm/README for more details.)
* Hacked Makefile.am's for much of the directory hierarchy,
particularly for src/xspice/icm and
src/xspice/icm/icm_spice2poly to build the POLY codemodel
correctly. Note that top level make still doesn't detect
changes in the xspice hierarchy; read the NOTES file for
2009-05-24 19:11:10 +02:00
a workaround.
* Added a SPICE netlist incorporating vendor models with
SPICE2 POLYs in tests/TransImpedanceAmp/. Running this
model successfully demonstrates that you have built the
XSpice POLY codemodel correctly and that life is good
2009-05-24 19:11:10 +02:00
. . . .
* Moved #define TRACE out of src/ngspice.h and made it
a compiler option (-DTRACE) invoked in src/Makefile when
2009-05-24 19:11:10 +02:00
making spice.o.
2003-05-02 Stuart Brorson <sdb@cloud9.net>
* Added #define TRACE to main.c for use in debugging.
Added lots of printf's in the code which are turned on
by defining TRACE. This is used to help figure out what
2009-05-24 19:11:10 +02:00
the program is doing at each step . . . . .
* Added lots of comments all over the source tree.
This should help explain what the prog is doing for
2009-05-24 19:11:10 +02:00
future hackers.
* Fixed parser to allow POLY attributes in dependent
sources (major changes in src/frontend/subckt.c, as
well as move location of call to ENHtranslate_poly in
2009-05-24 19:11:10 +02:00
src/frontend/inp.c)
* Fixed bug in device init files
2009-05-24 19:11:10 +02:00
(src/spicelib/devices/*init.c)
so that Deviceinfo structures operated with XSPICE.
* Fixed nasty malloc problem in src/xspice/mif/mifgetmod.c
2009-05-24 19:11:10 +02:00
which casued frequent segfaults (when compiled with XSPICE).
2009-05-24 19:11:10 +02:00
2002-01-03 Paolo Nenzi <p.nenzi@ieee.org>
* acconfig.h: added define needed for Windows and some aesthetic
rework (from Holger Vogt patch).
* configure.in: added macros to handle windows related
2009-05-24 19:11:10 +02:00
issues (Holger patch and me).
2009-05-24 19:11:10 +02:00
* INSTALL: added documentation on ngspice compilation under
Windows (Holger Vogt patch).
2009-05-24 19:11:10 +02:00
* Makefile.am: added Windows compilation code (Holger Vogt patch and
me).
2009-05-24 19:11:10 +02:00
2001-12-05 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: removed (unnecessary) macros to handle GNU getopt
(I'm an idiot!)
2001-12-04 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in, main.c: Forgot a bit to handle GNU getopt correctly
2001-11-25 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: New way (cleaner) to handle GNU getopt.
2001-01-21 Paolo Nenzi <p.nenzi@ieee.org>
* bsim3soi_dd/*: BSIM3SOI (DD) support added as level 11. Added tests in
2009-05-24 19:11:10 +02:00
tests directory (tests/bsim3soidd/*).
* ???: Integrated patch form Alan Gillespie <Alan.Gillespie@analog.com>
to revert the spice raw format to the spice3 original.
2009-05-24 19:11:10 +02:00
* configure.in: corrected a bug that broke the on line help system.
Help system now works again but its text is a little bit outdated.
* ???: all binaries now have ng prepended, so ngspice can be installed
with other spice flavours.
2009-05-24 19:11:10 +02:00
2000-10-18 Arno W. Peters <A.W.Peters@ieee.org>
* Makefile.am: Changes for notes dir -> NOTES file conversion.
* tests/Makefile.am: Make distcheck target work again.
2000-10-17 Arno W. Peters <A.W.Peters@ieee.org>
* TODO: Little updates.
2000-10-14 Arno W. Peters <A.W.Peters@ieee.org>
* acconfig.h, configure.in, 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.
* *: replaced malloc, realloc and free calls to use tmalloc,
trealloc and txfree.
2000-09-05 Arno W. Peters <A.W.Peters@ieee.org>
* ???: Paolo and I have integrated patches from Alan Gillespie
<Alan.Gillespie@analog.com>.
2000-07-28 Arno W. Peters <A.W.Peters@ieee.org>
* 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-05 Arno W. Peters <A.W.Peters@ieee.org>
* src/devices/dev.c: 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-03 Arno W. Peters <A.W.Peters@ieee.org>
* 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.
Removed.
* 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.
2009-05-24 19:11:10 +02:00
* 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.
2009-05-24 19:11:10 +02:00
* src/include/complex.h: Updates of cast from char * to void *
* src/analysis/cktsens.c: Matrices cannot be created non-complex.
Also added a check to detect an error condition on delta_Y =
spCreate(...).
2000-06-27 Arno W. Peters <A.W.Peters@ieee.org>
* src/parser: Refactored commands from the frontend into the
frontend directory. Major changes to organization, but not to
functionality.
2000-06-19 Arno W. Peters <A.W.Peters@ieee.org>
* src/analysis/cktask.c: moved to src/devices.
2009-05-24 19:11:10 +02:00
* src/analysis/cktbindn.c: moved, renamed to
src/devices/cktbindnode.c.
2009-05-24 19:11:10 +02:00
* src/analysis/cktfdev.c: moved, renamed to
src/devices/cktfinddev.c.
2000-06-18 Arno W. Peters <A.W.Peters@ieee.org>
* AUTHORS, doc/ngspice.texi: Included an acknowledgements
section.
2000-06-16 Arno W. Peters <A.W.Peters@ieee.org>
* 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/Makefile.am src/frontend/plotting/Makefile.am:
Updated to match the new files.
2000-06-15 Arno W. Peters <A.W.Peters@ieee.org>
* src/frontend/graphdb.c, src/frontend/graphdb.c,
src/frontend/Makefile.am, src/frontend/plotting/graphdb.c,
src/frontend/plotting/graphdb.c,
src/frontend/plotting/Makefile.am: Moved plotting specific files
into plotting directory.
2000-06-05 Arno W. Peters <A.W.Peters@ieee.org>
* tests/*: Added a little hierarchy to the tests. Removed
config.sh in favor of check.sh. This script does all checking.
Made names of the tests better reflect the circuit under test.
2000-06-03 Arno W. Peters <A.W.Peters@ieee.org>
* 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-02 Arno W. Peters <A.W.Peters@ieee.org>
* src/circuit/inp2dot.c: Refactoring introduced a bug in the line
parsing. Passing line as an extra parameter to the refactored
functions fixes the bug.
2000-05-30 Arno W. Peters <A.W.Peters@ieee.org>
* TODO: Updated.
* src/maths/cmaths/Makefile.am, src/maths/cmaths/test_cx_mag.c,
src/maths/cmaths/test_cx_j.c: Added first testcases for complex
math library.
2000-05-25 Arno W. Peters <A.W.Peters@ieee.org>
* src/circuit/inp2dot.c: First refactoring of INP2dot into smaller
functions. Still needs work.
* src/circuit/sperror.c: Reworked, now much simpler.
* src/include/inpdefs.h, src/include/sperror.h: Removed redundancy
in the definition of function prototypes.
2000-05-06 Arno W. Peters <A.W.Peters@ieee.org>
* src/include/fte*: Broken header files into smaller pieces. This
avoids long recompile times as less needs to be rebuilt on changes
to the header files. Adjusted all callers to use the new header
files. Left a warning message in the header file to indicate its
obsolescence. You will see this message when compiling.
* src/frontend/*: Reorganized part of the frontend commands into
their own source file. Moved plotting parts into new plotting
directory.
* src/devices/*: 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.
2000-05-04 Arno W. Peters <A.W.Peters@ieee.org>
* src/maths/ni/nipzmeth.c: Corrected an overeager deletion.
2000-05-03 Arno W. Peters <A.W.Peters@ieee.org>
* source tree: removed most of `#ifdef notdef' and made converted
some function calls from K&R -> ANSI.
2000-05-01 Arno W. Peters <A.W.Peters@ieee.org>
* Added .cvsignore files to prevent CVS from marking generated
files as unknown.
* src/devices/Makefile.am, src/devices/dev.c, src/devices/dev.h,
src/Makefile.am, src/ngspice.c, src/main.c: Refactored devices
initialization code into the devices dir.
* tests/respart.cir, tests/respart.out, tests/respart.sh:
additional tests for resistor.
1999-12-07 Arno Peters <A.W.Peters@ieee.org>
* source tree: Added MAINTAINERCLEANFILES to Makefile.am to
eliminate automatically generated cruft from patches. To create a
minimal patch between two trees, just do `make maintainer-clean'
on both trees and run `diff -ruN tree1 tree2'.
1999-10-15 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* source tree: entirely modified by Arno Peters (after discussion
on the mailing list)
1999-09-06 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* AUTHORS: added list provided by Arno Peters
* Applied patch supplied by Arno
1999-09-01 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* AUTHORS: some additions
* FAQ: a few minor corrections
1999-08-31 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: config.h now in top directory
* All Makefile.am's: removed useless 'DEFS' line
1999-08-30 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* FAQ: added the FAQ to the distribution
1999-08-28 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* Removed mfb from build - nutmeg doesn't use it on Unix.
1999-08-23 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: added tests ('make check')
2009-05-24 19:11:10 +02:00
* ng-spice.patch: added cleanup patch by Arno Peters
1999-08-08 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: added some features
1999-08-03 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: added a whole bunch of tests!
1999-08-02 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: added --with-checkergcc option (experimental!)
added some maths checks
1999-07-31 Emmanuel Rouat <emmanuel.rouat@wanadoo.fr>
* configure.in: made X11 tests more efficient
ng-spice-0.0:
-------------
* changed HAX_X11 define to XMISSING_DISPLAY supplied in config.h
* added 'Changelog' files in all subdirectories
* added '--enable-ansi' option to configure
* put src/lib/dev/devsup.c into src/lib/dev/devsup/
* added header files into Makefile.am's
2009-05-24 19:11:10 +02:00
Chianti:
--------
(27/07/99)
* added some tests to configure.in (ncurses/termcap, xaw....)
* cleaned up some directories (examples, patches..)
* removed all .orig files
2009-05-24 19:11:10 +02:00
Pizza:
------
(25/07/99)
* added installation of man pages
* emptied 'COPYING' file until we know what to put in it
2009-05-24 19:11:10 +02:00
* fixed missing install of help and init files (created tune.c.in
to support this)
* added missing -DWANT_X11 and -DWANT_MFB in several compiles
(fixed some headers in: src/lib/fte/x11.c
src/lib/fte/x11disp.c )
2009-05-24 19:11:10 +02:00
Spaghetti:
----------
(25/07/99)
- first attempt at autoconf/automake support
- based on spice3f5-chili, hardly anything touched on it.
<