Commit Graph

799 Commits

Author SHA1 Message Date
Francesco Lannutti 581e0a6d11 fix sense2, which is unsupported code 2013-12-31 16:07:12 +01:00
h_vogt 83d5606da4 ngspice.h: add shared module 2013-12-31 16:06:47 +01:00
h_vogt ac553eedba src/Makefile.am include/ngspice/Makefile.am: add shared module 2013-12-31 16:05:33 +01:00
h_vogt a6976f9857 main file and header for ngspice as shared module 2013-12-31 12:57:55 +01:00
h_vogt 5a44b3f7f8 fix `SetAnalyse()' re-declaration 2013-12-31 12:56:58 +01:00
h_vogt d7e291c53a HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
h_vogt 1e88db6f7d add command 'circbyline' to allow entering circuit line by line 2013-12-31 12:56:56 +01:00
h_vogt 7bc879726d make database dbs local to each circuit 2013-12-31 12:56:53 +01:00
h_vogt c15608c903 unique modtab for each circuit, store in ckt structure 2013-12-31 12:56:38 +01:00
rlar d1764cc7fa inp_readall() change function signature for readability 2013-12-31 12:56:35 +01:00
rlar 6c8f002eea unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
rlar 1ee88a5694 prepare for #ifndef include wrapper unification 2013-12-31 12:54:31 +01:00
rlar 8cafeed8f0 rename #ifndef include wrapper CKT_H 2013-12-31 12:54:30 +01:00
rlar c377b7a6b3 avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
rlar 5086a90746 cleanup some preprocessor macros 2013-12-31 12:54:15 +01:00
h_vogt 8e5ad3d344 ivars.c: prevent crash in CYGWIN batch mode, if NGSPICE_INPUT_DIR given
remove unused Default_MFB_Cap
2013-01-01 17:31:44 +01:00
Stefano Perticaroli 79bffc78a1 next version of PSS2
which was reviewed and rewritten on branch `PSS-2-try-to-rebase+4'
by Stefano Perticaroli and Francesco Lannutti
2012-12-28 18:15:37 +01:00
rlar 0be61b3e5a remove PSS2 2012-12-28 18:10:05 +01:00
Francesco Lannutti 574d39e29c remove almost empty src/maths/ni/nipred.h 2012-12-25 02:27:04 +01:00
h_vogt 12e19d140b measure.c, rewrite do_measure() 2012-12-09 13:27:53 +01:00
h_vogt c5de0c21c9 findvec(), use hash tables for the vector search
patch originally provided by Bill Swartz, 2010
reduces vector search time from O(n) to O(1)
2012-12-09 13:27:53 +01:00
h_vogt 75447dc43c implement spice_dstring_append_lower()
patch originally provided by Bill Swartz, 2010
2012-12-09 13:27:53 +01:00
Francesco Lannutti 08ec219417 remove all .cvsignore files 2012-10-26 18:30:14 +02:00
rlar ba131a5077 remove adms3 #1/2, code
due to license issues, and with the aim to approach the next
  ngspice release 25
we have to move this over to a development branch
2012-10-25 18:54:09 +02:00
Francesco Lannutti c23bd59c44 removed ancient PARALLEL_ARCH feature
removed variables
  ARCHme
  ARCHsize

removed functions
  SMPcombine()
  SMPcCombine()
  CKTpartition()

removed files
  spcombin.c
  cktpartn.c

removed struct slots
  STATcombineTime
  STATtranCombTime
  STATacCombTime
  GENowner
  <MODEL>owner
2012-10-22 23:06:25 +02:00
h_vogt c336f5ec9d outif.c, typesdef.c, sim.h: correct labeling of cap, cur, and charge data 2012-10-03 15:01:36 +02:00
h_vogt 68c4de76b7 new option noopac, don't do op simulation before ac if circuit is linear
May simplify ac simulation of passive RLC networks
(No need to add series resistors in Ls, allows to C inseries)
2012-09-26 16:59:59 +02:00
rlar 3d7ab6a297 cleanup keyword databases on proram termination 2012-08-23 21:19:15 +02:00
rlar 789edee376 rewrite inp_list() avoid duplicate code 2012-08-19 14:04:37 +02:00
rlar 67132108ad out_printf() is not supposed to be a preprocessor macro 2012-08-18 18:40:45 +02:00
rlar d4ced47e8e drop out_pbuf, which was an ancient workaround
obviously an old implementation of out_printf()
  has been unreliable.
2012-08-18 18:27:13 +02:00
rlar 9ed7ce4e9e wlist.c, `const' ness 2012-08-03 21:46:13 +02:00
rlar cdef8aa10e implement wl_delete_slice() 2012-07-29 13:11:42 +02:00
rlar e2be942b72 implement wl_find() 2012-07-28 12:29:22 +02:00
h_vogt 4d0d0fafb9 repair broken ternary function in B-Source
failed if parameters were included in function.
fixed by finding nested parens in gettok_char()
2012-07-21 22:23:49 +02:00
rlar 561d30e5bf implement wl_chop() 2012-07-21 14:42:18 +02:00
rlar d9ddaec784 implement wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 09:18:39 +02:00
h_vogt 3a603cf17c Visual Studio: isatty --> _isatty 2012-07-02 19:45:43 +02:00
h_vogt 0a087a47c8 enable B source debugging in behavioral models, exit on error if variable strict_errorhandling is set 2012-06-13 19:15:21 +02:00
rlar 11878ee4ad misccoms.c, use strncasecmp() 2012-06-12 21:26:30 +02:00
rlar 3d34b22ebf fix file modes 2012-06-12 21:26:29 +02:00
rlar d8105873db remove error.h, use fteext.h for controlled_exit() 2012-06-12 21:26:29 +02:00
rlar 58b0614467 fix memory leaks in ASRC and in INPgetTree()
implement a reference counter `usecnt' for the elements
  of the `INPparseTree'
2012-06-12 21:26:26 +02:00
h_vogt 8f3f757813 command mrdump 2012-02-19 11:11:31 +00:00
h_vogt dffe4ed156 command mdump 2012-02-19 10:23:56 +00:00
h_vogt 5d101f46f9 updates tcl for Windows 2012-02-11 11:59:12 +00:00
rlar fce7548bd2 #4/4 finish the switch from ngcomplex* args to ngcomplex 2012-02-07 19:55:20 +00:00
rlar a056ea3065 #3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex 2012-02-07 19:53:12 +00:00
rlar 94e3abd847 #2/4 switch cph() and cmag() args from ngcomplex* to ngcomplex 2012-02-07 19:49:31 +00:00
rlar 50aea0be0c #1/4 drop cast (enable compiler type check) 2012-02-07 19:46:34 +00:00
rlar f38aa32b5f adms3, fix some types 2012-02-07 18:43:57 +00:00
rlar e396b15104 use type `struct ccom' 2012-02-07 17:45:41 +00:00
rlar f70fd8ea1b use type `runDesc' 2012-02-07 17:43:07 +00:00
rlar 5df8e981e5 struct runDesc forward declaration 2012-02-07 17:28:27 +00:00
rlar a716572233 rewrite INPlookMod(), return INPmodel*/NULL instead of int 1/0 2012-02-06 17:49:19 +00:00
rlar f285dd0aa8 use strchr() instead of index() 2012-02-06 17:46:33 +00:00
rlar b4424c9d2c define NAN for non C99 environments 2012-01-28 11:57:43 +00:00
rlar dc2938812b revert last commit, simply insane 2012-01-13 16:47:32 +00:00
rlar 8b4cbf05c9 wrap isnan declaration, isnan is a macro on modern systems 2012-01-11 19:17:51 +00:00
rlar 598238f46a conditionally compile PSS analysis 2012-01-02 12:31:22 +00:00
h_vogt d2f9faf66b .lib handling 2012-01-01 13:58:03 +00:00
rlar c7ddee5923 remove CVS `Id',`log' etc. keyword incantations 2011-12-30 15:52:45 +00:00
rlar 4aa91d22a5 install headers in $(pkdatadir)/include/ngspice 2011-12-29 15:21:53 +00:00
rlar 4ca58067a2 #2/6 config.h --> ngspice/config.h, #include's 2011-12-27 11:33:01 +00:00
rlar ee48c0952a #1/6 config.h --> ngspice/config.h, configure.ac 2011-12-27 11:31:10 +00:00
h_vogt 75767fcc3d floor(), ceil() added 2011-12-26 11:34:21 +00:00
h_vogt 94e9f07b90 Gxxx n1 n2 TABLE {expression} = (x0, y0) (x1, y1) (x2, y2) 2011-12-21 21:33:47 +00:00
rlar 0d7f64657c move stringutil.h --> src/include/ngspice 2011-12-17 17:16:29 +00:00
rlar 0e1f5a29f7 type fixes 2011-12-17 13:41:04 +00:00
h_vogt bcc23c1f78 exit on all circuit parsing errors if var strict_errorhandling is set 2011-12-17 11:33:30 +00:00
rlar f7ea50c287 new: configure --enable-adms3 2011-12-15 20:44:45 +00:00
r29173 bab7e17a6a added SPICEadmsdev - a super structure of SPICEdev used to build dynamic device libraries 2011-12-15 15:34:50 +00:00
r29173 f8f1e1f974 add routine load_vadev to public definitions. 2011-12-14 22:03:56 +00:00
rlar 0b5042e7da remove CVS `Id',`log' etc. keyword incantations 2011-12-13 19:57:45 +00:00
rlar 7d75ebcb81 unify OUTpBeginPlot() invocation 2011-12-13 19:10:34 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
h_vogt 4cbfbad8b5 type long --> int 2011-08-21 10:43:07 +00:00
rlar 738d3813b8 #2/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:43:07 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
h_vogt 220cc83458 fft calculation with type double (instead of float) 2011-08-19 20:46:23 +00:00
rlar f8e41f9fb5 remove second incarnation of `grid.h' 2011-08-12 09:31:52 +00:00
h_vogt 57c9b44c73 inproved error messages in pipe mode 2011-08-10 16:39:46 +00:00
pnenzi 5ba0b8b86c Statistics patch: added netlist loading and parsing time in acct command.
Added devhelp command to obtain information about available devices and device parameters
Added inventory command to print the number of instances per device.
2011-08-09 18:41:36 +00:00
h_vogt 2e2bf04d6a function cph() 2011-08-06 14:52:41 +00:00
rlar e57c96abda disable Visual Studio "warning: C4127: conditional expression is constant" 2011-08-05 20:30:10 +00:00
rlar 899d5516c3 initial PSS commit 2011-08-04 16:16:46 +00:00
rlar 6f2f634413 swallow unsed variable warnings in adms generated code, upagrade dependencies 2011-07-26 17:43:08 +00:00
rlar a057ea7bd4 nghash cleanup, use stdint.h for proper sized integers representing a pointer 2011-07-17 10:59:00 +00:00
rlar 2b2dcb7f31 nghash cleanup, cleanup default functions 2011-07-17 09:58:27 +00:00
rlar c680e70e8e nghash cleanup, polish types 2011-07-17 09:56:45 +00:00
rlar abfa90832d nghash cleanup, fix typeof compare_func 2011-07-17 09:54:20 +00:00
rlar 7ac266e2e7 nghash cleanup, fix typeof nghash_func 2011-07-17 09:53:07 +00:00
rlar 2aa778552f nghash cleanup, struct forward declarations 2011-07-17 09:51:48 +00:00
h_vogt 4679fdf046 sinh, cosh, tanh 2011-07-16 23:03:27 +00:00
h_vogt d5e5c31345 add & to correcting bug in MACRO 2011-07-03 20:08:48 +00:00
h_vogt e0ee07b491 NaN for MS VS 2011-07-03 19:32:27 +00:00
rlar 24e80f5013 main.c, ft_nutmeg is a const global bool, (forgotten out of order commit) 2011-07-02 20:50:40 +00:00
rlar 90360ef24c swallow type conversion warnings 2011-06-26 20:00:03 +00:00
h_vogt 661d287029 env. var NGSPICE_INPUT to hold additional path for input files 2011-06-25 16:03:05 +00:00
h_vogt d4667d17c5 imrpoved shutdown message 2011-06-25 10:18:40 +00:00
rlar aa0b602b87 cleanup some reoccuring function prototypes 2011-06-22 17:06:40 +00:00
dwarning 6b35352b64 Update to version 4.7.0 & Code merged into bsim4v4 2011-06-19 14:03:07 +00:00
h_vogt 747c606e30 remove bug in command meas, allow / and \ in Windows file paths 2011-06-18 17:45:43 +00:00
h_vogt f94cc3a8a0 comp issues 2011-05-29 10:07:10 +00:00
h_vogt 7365459f75 move #define NUMCOLORS to x11.c 2011-05-03 21:19:57 +00:00
rlar 66289067ba rename variable class --> kw_class 2011-05-01 19:45:12 +00:00
dwarning 72db3c9ba5 skip printout in bsimtemp for sens analysis 2011-03-13 17:49:24 +00:00
h_vogt ebda0af288 update FIND ... WHEN measurements 2011-02-19 22:11:45 +00:00
rlar f40f6c705a fix `make check' for build in a separate directory 2011-01-25 18:39:06 +00:00
h_vogt c162d3273f vsrc trrandom option 2011-01-16 19:19:42 +00:00
rlar 39aac106c5 updates for the make infrastructure (trannoise and tests/xspice) 2011-01-15 22:08:06 +00:00
dwarning c315293c5c __inline for _MSC_VER 2011-01-02 16:18:36 +00:00
h_vogt 6d7ee3632e remoce compiler warnings 2010-12-30 14:49:35 +00:00
h_vogt f476389531 RTS noise 2010-12-18 17:05:44 +00:00
rlar c5c551a70a rewrite TRNOISE, with the intention to separate the noise sequenze computation
from its use in the VSRC device.
2010-12-12 19:41:29 +00:00
h_vogt 5e1ed023c6 transient noise simulation 2010-11-27 16:36:03 +00:00
rlar 05441d5823 Nr 5/5 (x = ...) == NULL , swallow warnings 2010-11-19 18:54:40 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 4e8e49e698 local prototypes for "tclspice.c" 2010-11-16 19:18:09 +00:00
rlar 9150ae9afb introduce macro `IGNORE(x)', which shall used to mark unused parameters 2010-11-16 18:59:06 +00:00
rlar 3affeff848 move device dependent colors[] array from `graph' to the x11 specific struct 2010-11-04 19:32:53 +00:00
rlar c3f20f8321 cleanup TMALLOC etc macros 2010-10-31 19:36:57 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar d6353fb9ee struct member devdep, use void* instead of char* 2010-10-24 13:15:35 +00:00
rlar 46aeab65a8 ngcomplex_t instead of complex, #2/2 2010-10-24 12:47:48 +00:00
rlar 4622d0876e ngcomplex_t instead of complex, #1/2 2010-10-24 12:45:05 +00:00
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
rlar c04fd4df28 unconditional visibility of the cider prototypes limit*() 2010-10-16 16:00:58 +00:00
rlar d7a9d71a1a remove prototypes, avoid redeclarations 2010-10-16 15:58:14 +00:00
rlar f49a0e765b collect inp_deckcopy() inp_subcktexpand() in "subckt.h" 2010-10-16 15:56:07 +00:00
rlar 2c975413b7 collect arg_*() prototypes in "arg.h" 2010-10-16 15:54:51 +00:00
rlar 894dcead35 collect if_inpdeck() if_run() if_cktfree() if_dump() if_option() in "spiceif.h" 2010-10-16 15:50:32 +00:00
rlar a9ca8d7331 collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h" 2010-10-16 15:48:39 +00:00
rlar b22f75c9f4 collect hcomp() in "hcomp.h" 2010-10-16 15:47:16 +00:00
rlar ed73405d0f collect ft_nutmeg() in "fteext.h" 2010-10-16 15:44:23 +00:00
rlar fe2a308698 remove prototypes, avoid redeclarations 2010-10-16 15:40:48 +00:00
h_vogt afdf6ee134 new command wrs2p 2010-10-16 12:05:09 +00:00
rlar 7f8ee8818e collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc' 2010-10-15 19:24:52 +00:00
rlar ce014b3eb5 add prototypes for some functions --> "cmproto.h" 2010-10-15 18:38:00 +00:00
rlar b897dfa857 collect extern timebegin in "misc_time.h" 2010-10-15 18:32:57 +00:00
rlar 92a4a2cda4 avoid redeclaration, signalhandler 2010-10-15 18:25:30 +00:00
rlar 7db0ed44ee collect NewGraph() FindGraph() CopyGraph() RemoveWindow() in "ftedbgra.h" 2010-10-15 18:20:56 +00:00
rlar 513c1d50a6 collect datestring() and seconds() in "misc_time.h" 2010-10-15 18:15:29 +00:00
rlar 8209c0aef3 collect smktemp() in "mktemp.h" 2010-10-15 18:11:11 +00:00
dwarning bd985bc28f trtol to 1 only for A devices 2010-10-14 09:18:48 +00:00
rlar 2de6345a5e revert, remove typedef for _complex, which is used nowhere 2010-10-09 18:46:27 +00:00
rlar 882b3b4155 add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...) 2010-10-09 14:26:41 +00:00
rlar 65ef4f037a collect MESH*() prototypes in "meshext.h" 2010-10-09 12:44:31 +00:00
rlar 5bc8777a9b remove #define for EOS use '\0' instead 2010-10-09 11:42:10 +00:00
rlar cf3514b9ae remove ancient #defines for AND OR NOT substitute with && || ! 2010-10-09 11:40:00 +00:00
rlar 526a3fce6c remove obsolete #defines for BEGIN END LENGTH FORWARD 2010-10-09 11:35:17 +00:00
rlar 31a8c98462 remove obsolete #defines for MAXARITY NUM STRING PNODE 2010-10-09 11:33:57 +00:00
rlar 306cf43d79 remove typedef for _complex, which is used nowhere 2010-10-09 11:32:21 +00:00
rlar e945ab68bc collect some cx_*() prototypes in "cmath2.h" 2010-10-08 18:59:41 +00:00
rlar 28282dda56 collect the other INP*() prototypes in "inpdefs.h" 2010-10-08 18:54:06 +00:00
rlar d0c287f81f collect the INP2?() prototypes in "inp.h" 2010-10-08 18:51:55 +00:00
rlar 9b0df330b5 collect the PT*() prototypes in "inp.h" 2010-10-08 18:49:19 +00:00
rlar 9e75489e9f consider the op_*() functions to be less public 2010-10-08 18:46:38 +00:00
rlar 8382aceba3 sens_getp() prototype --> include file 2010-10-08 18:31:32 +00:00
rlar 1b1a3ef185 #ifdef include file wrapper 2010-10-08 18:18:52 +00:00
rlar 44e244dde8 NevalSrc() NevalSrc2() Nintegrate() prototypes --> include files 2010-10-08 18:17:24 +00:00
rlar b5f1a18f7c ngspice_compat_mode() prototype --> include files 2010-10-08 18:15:04 +00:00
rlar 63d3f113ff TanDeriv() prototype --> include files 2010-10-08 18:13:23 +00:00
rlar ef26170d5a DkerProc() CKTdisto() prototypes --> include files 2010-10-08 18:09:02 +00:00
rlar ddd6d5911c EVTfindvec() prototyp 2010-10-08 18:00:11 +00:00
rlar 8db45f4205 CKTdnames() prototype 2010-10-08 17:58:34 +00:00
rlar 933bd11c43 use the type JOB, remove redundant casts 2010-10-08 16:49:18 +00:00
rlar d49b1d7d0b use the type JOB, remove redundant casts 2010-10-08 16:49:18 +00:00
rlar 74d62ab486 use the types TSKtask and JOB, instead of void 2010-10-08 16:46:06 +00:00
rlar d51c1e1b7d fix a compiler warning, void* versus void(*)(void) 2010-10-08 16:30:07 +00:00
rlar 1149ad86c4 use autoconf to find a suitable signal function type 2010-09-30 20:26:57 +00:00
h_vogt 8db3c17bc0 welcome message, version 22 2010-09-25 14:15:26 +00:00
rlar 001ad0c2bc `make dist' add some missing artifacts 2010-09-17 16:24:01 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
h_vogt 355384e459 libiberty.h inclusion modified 2010-09-10 15:06:04 +00:00
rlar 5e64936a3f rename include file wrapper, #ifndef CONST -> CONST_H 2010-09-08 18:23:35 +00:00
rlar af4589529d function rename, struct DISPDEVICE . Text() -> DrawText() 2010-09-08 18:11:26 +00:00
rlar 4f915cb283 function rename, struct DISPDEVICE . Arc() -> DrawArc() 2010-09-08 18:09:30 +00:00
rlar f7c8eb1d2a muffle some visual-C warnings 2010-09-07 20:23:07 +00:00
rlar 241783d0b5 use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
dwarning 69cc1eb730 recover signaltype for SunStudio compiler 2010-09-04 12:40:37 +00:00
h_vogt 453b565f71 improve random number generation 2010-09-01 21:13:01 +00:00
dwarning 03d91ab8b0 new function sunif() 2010-08-29 09:23:34 +00:00
h_vogt cc27e3f53f new random number generator 2010-08-28 18:03:23 +00:00
rlar 73a80756d4 typedefs for JOB and TSKtask into "typedefs.h" 2010-08-15 17:54:33 +00:00
rlar 44a182c1ba use the type CKTnode instead of void* 2010-08-11 18:54:31 +00:00
rlar 085afaee37 use GENinstance*, instead of void* 2010-08-10 19:11:26 +00:00
rlar aae53f5564 use GENinstance*, instead of void* 2010-08-10 18:14:02 +00:00
rlar 9e07ef2d67 use GENmodel*, instead of void* 2010-08-10 18:11:21 +00:00
rlar 0d1661658d fix broken tclspice compilation 2010-08-07 09:49:43 +00:00
rlar 2fcbcc5f48 bug fix, implementation of the X11 draw arc implementation. 2010-08-01 13:47:33 +00:00
rlar 8ff62fd262 add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar 73890e3cdb remove some #ifdef __STDC__ wrappers, and some stray '#' 2010-07-30 15:38:27 +00:00
rlar b31aef0557 find a suitable home for **DEVices and DEVmaxnum in devdefs.h 2010-07-24 21:16:50 +00:00
rlar 689c7662f8 K&R function definitions and GENmodel and GENinstance usage for the NDEV device 2010-07-24 17:40:26 +00:00
rlar e95eb0d4aa add two #include files,
to fix broken cider compilation, caused by the changes from 2010-07-23
2010-07-24 13:44:25 +00:00
rlar d074de41f2 fix the type signature of the cx_* functions 2010-07-24 12:37:41 +00:00
rlar 92353ab6d5 better place for the prototype of spConstMult() 2010-07-23 20:09:50 +00:00
rlar f4d0163885 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 17:33:10 +00:00
rlar 1ee29c3e96 use a void* instead of a char* for anonymous `InitInfo' in src/sparse/*.c 2010-07-23 17:23:13 +00:00
rlar 73cf2a8ea5 use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
rlar 2990821053 use type void* to pass anonymous data to function if_option()
indicate its actual type with an enum cp_types argument
2010-07-17 22:11:51 +00:00
rlar 61bba96f42 textual replacement vt_types to cp_types, to complete the last change 2010-07-17 20:56:12 +00:00
rlar a76cd1e104 textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
rlar 0aa1c09d73 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 15:14:45 +00:00
rlar ff459393d0 `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
h_vogt e23fae5376 correct update 2010-07-14 21:15:56 +00:00
h_vogt 79831ac331 'option' command 2010-07-14 20:59:23 +00:00
rlar cab9417c9a eliminate co_stringargs, which is used nowhere 2010-07-14 15:43:50 +00:00
rlar 4102c27164 fix function pointer initialization 2010-07-11 20:18:47 +00:00
rlar a0b0f550ab ansi style function args for a function pointer arg of spInitialize() 2010-07-10 14:06:14 +00:00
rlar 26f2d23e6c cleanups 2010-07-10 12:37:49 +00:00
rlar c2ca9a7998 drop -1, extend enum Mif_Cntl_Src_Type_t 2010-07-10 12:23:33 +00:00
h_vogt fe2d079b31 par('expression') 2010-07-10 11:27:57 +00:00
rlar 63fae60605 use the GENmodel and GENinstance type instead of void* 2010-07-08 17:20:03 +00:00
rlar c9bfe72187 use CKTcircuit instead of void*, #4/4 2010-07-07 17:36:56 +00:00
rlar 94518fdb02 use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
rlar fe68605770 use CKTcircuit instead of void*, #2/4 2010-07-07 17:28:29 +00:00
rlar 72fc1a0186 use CKTcircuit instead of void*, #1/4 2010-07-07 17:26:05 +00:00
rlar 12dc45118b ansi function declarations (prototypes) for some functions 2010-07-06 19:06:50 +00:00
rlar d6ad853ecb fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
rlar a57a381ea7 new include file "typedefs.h" for struct forward declarations 2010-07-06 18:58:15 +00:00
h_vogt 46e5436aa8 sighandler_t not under Wondows, spetrum script updated 2010-07-06 12:24:08 +00:00
rlar 59d4e5d961 fix various type glitches 2010-07-04 17:54:22 +00:00
rlar 5444f878d0 fix signal prototypes 2010-07-04 17:37:39 +00:00
rlar c30028310b ansi style function args for some function pointers 2010-07-03 21:27:53 +00:00
rlar d19476685a tiny fixes 2010-07-03 17:55:44 +00:00
rlar 68c0ee9cd3 whitespace change, cleanup, untabify 2010-07-03 15:36:05 +00:00
rlar a321d7f419 forward declaration of structs, unions and typedefs 2010-07-03 15:33:23 +00:00
rlar c178bdb059 cosmetical changes 2010-06-30 20:08:57 +00:00
rlar 779e5a978c ansi prototypes for the function pointers in struct DISPDEVICE 2010-06-30 16:50:09 +00:00
h_vogt 947e19bde7 no command file handling in numparam 2010-06-29 21:18:34 +00:00
rlar 6c4e0cb6d0 add two unused arguments to arg_display(), to fit with struct comm.co_argfn 2010-06-27 15:44:53 +00:00
rlar 0000dda9af ansi function declarations (prototypes) 2010-06-27 13:28:09 +00:00
rlar ad947547a8 ansi function prototypes, and stdlib.h for exit() 2010-06-26 20:22:50 +00:00
rlar be57f10b3b avoid some function pointer warnings 2010-06-26 17:12:56 +00:00
rlar 5b5297ac2f remove abandoned prototypes 2010-06-25 17:23:40 +00:00
rlar a14e59866e ansi function declarations (prototypes) 2010-06-23 19:33:54 +00:00
rlar 4420a3ecdd add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
h_vogt d080f6dfc0 updates for making dist, new internal fcn getline_xgrapgh 2010-05-30 09:26:34 +00:00
h_vogt 1fe8cbbf26 xspice api update 2010-05-26 05:51:04 +00:00
h_vogt 8ddd172cc9 tmalloc patch R Larice 2010-05-14 20:26:54 +00:00
h_vogt e66ef33c57 ngspice compatibility mode 2010-04-23 22:00:40 +00:00
dwarning 5fcf9c2afe ternary operation in control blocks 2010-04-11 08:49:05 +00:00
dwarning cc5ede68e7 Bill Swartz patch 2010-03-26 18:42:42 +00:00
dwarning 112261297d Bill Swartz patch 2010-03-25 22:44:37 +00:00
h_vogt df5931e570 circuit flag CKTvarHertz 2010-03-20 17:35:56 +00:00
h_vogt 9e2f02fbe2 HERTZ added to B source 2010-03-20 15:32:23 +00:00
h_vogt 486ae1b66e patch R. Larice Feb. 28, add time and temper varianbles to B source 2010-03-07 19:53:32 +00:00
dwarning f210758bdb applied patch to prevent sun cc warnings 2010-03-01 10:28:22 +00:00
dwarning 651e749a03 prototypes for typesdef.c 2010-02-28 17:51:39 +00:00
h_vogt 75d891e4c0 new parser for B source 2010-02-28 16:00:40 +00:00
h_vogt a6c4756581 new files 2010-02-25 22:09:23 +00:00
h_vogt 76feebbbfa various bug fixes 2010-02-25 21:43:03 +00:00
h_vogt 07f90563dc patches R. Larice 2010-02-13 14:47:45 +00:00
h_vogt 31203ce2ab macro ERROR -> MERROR 2010-02-11 22:32:10 +00:00
h_vogt c6088c8db1 use format (__printf__, 1, 2) 2010-02-11 21:51:09 +00:00
h_vogt d7d5a38583 patches by R. Larice 2010-02-08 21:15:17 +00:00
dwarning ba54c4d9b8 big kspice model update 2010-02-07 18:16:17 +00:00
dwarning 911d607871 set maximum cpl lines to eight 2010-01-28 20:18:30 +00:00
h_vogt d8810a841a patches by R. Larice 2010-01-17 16:40:22 +00:00
h_vogt ecf5665104 patch for translate(), R. Larice, .global bug 2010-01-15 22:05:23 +00:00
h_vogt 248e44b883 new measure commands 2009-12-20 16:43:51 +00:00
h_vogt 68b06c7a73 comments 2009-12-19 16:04:22 +00:00
h_vogt 13819432bd flag for compatibility mode 2009-11-15 21:22:04 +00:00
dwarning 8e8ecc784c PWL functionality for B sources 2009-10-11 08:50:54 +00:00
dwarning 1a8bf20866 sys_memory struct w/o static type, sysinfo w/o void Parameter 2009-10-04 11:46:35 +00:00
h_vogt 5be507a97f command sysinfo 2009-09-30 22:22:36 +00:00
h_vogt 881908ec47 bug no. 2859013 2009-09-19 21:18:04 +00:00
h_vogt 5f9f71b5a4 variable ngdebug for additional debug info 2009-09-19 12:38:03 +00:00
h_vogt 9f1ee290a4 new code for .measurement 2009-08-23 10:02:28 +00:00
h_vogt 257d218893 option noinit, ref. to _logb 2009-08-22 16:54:03 +00:00
h_vogt 1dd7a2869f comments added 2009-08-15 09:27:08 +00:00
dwarning 7ce77bbbca looking for unistd.h & usage 2009-08-04 19:27:28 +00:00
dwarning 91988a734a prototype for getpid under mingw 2009-07-25 10:21:00 +00:00
h_vogt 1ac8c1ce07 repaired 2009-05-21 15:18:13 +00:00
h_vogt 13acf2cef1 SV_ADMITTANCE, signal prototype 2009-05-21 15:11:06 +00:00
dwarning 4c2569518b float.h before defines.h 2009-04-27 20:55:50 +00:00
h_vogt 9b2170953c line renumbering to end of inp_readall added 2009-03-21 13:30:03 +00:00
h_vogt 7cf016f98b .options NOACCT 2009-02-22 18:28:25 +00:00
dwarning 33cfd6e886 fix a conflict for isinf 2009-02-12 19:33:07 +00:00
pnenzi 1ada4d3530 Finish first batch of imports from espice. 2009-01-16 15:35:00 +00:00
pnenzi 5f716e4b61 Added new datatypes to vectors (impedance, admittance,atc.) A. Roldan -
espice
2009-01-16 14:31:07 +00:00
pnenzi f543aa8c06 Improvements in vector derivative computation and new functions to
compute group delay and moving average. From espice (A. Roldan).
2009-01-15 21:08:09 +00:00
pnenzi f0d3b7c976 Introduced the possibility to look for parameters in models and not only
in devices.
2009-01-15 16:46:31 +00:00
dwarning 014357e0f4 read fct. prototype 2009-01-14 20:44:09 +00:00
dwarning 143b74aeb4 prototype for hrealloc 2009-01-05 21:32:36 +00:00
dwarning 91f10abc65 small polish regarding HAVE_DECL_XXX macros 2009-01-05 21:31:45 +00:00
dwarning c702897d13 correct HAVE_DECL_XXX asking 2009-01-04 20:36:25 +00:00
dwarning abc18c40f0 try to catch isinf over ieeefp.h 2009-01-04 13:23:58 +00:00
dwarning af03646462 POSIX conform configure isnan 2009-01-01 20:44:49 +00:00
h_vogt e7fe33ece8 random number generation organized 2008-11-29 20:21:56 +00:00
dwarning 1ae055dfad hate c++ comments in c files 2008-11-28 20:10:25 +00:00
h_vogt 75f68291aa various compiler warnings removed 2008-11-26 20:33:20 +00:00
saintel 6fe0cebe58 *** empty log message *** 2008-11-22 10:31:46 +00:00
dwarning b32feaa18d hopefull better scalb handling 2008-11-19 19:57:27 +00:00
dwarning 040c48feb2 polishing 2008-11-19 19:52:28 +00:00
h_vogt 3dc3d42553 Small changes, e.g. _MS_VER macro, added to allow compilation of tclspice with MS VC++ 2008 2008-10-04 22:44:52 +00:00
h_vogt 73e581f015 VC++ 2008 compatibility 2008-09-23 22:10:56 +00:00
h_vogt 4b055a4ca8 Small changes to allow compilation with MS Visual C++ 2008 2008-09-21 22:18:06 +00:00
pnenzi fa549df82a TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00
h_vogt 655d8aea02 Fast fourier transform for transient data analysis 2008-05-24 18:06:33 +00:00
dwarning 6bd5f8470b Changes to compile under Sun Studio 11 for Solaris 2008-05-18 19:25:17 +00:00
dwarning a28ad1a197 math functions in one central place maths/misc 2008-05-11 20:27:28 +00:00
dwarning 5159eac292 srandom has a macro in ngspice.h 2008-05-03 16:05:47 +00:00
dwarning 0e52a0fcc2 backup NEWCONV because of using original BSIM code 2008-04-16 20:20:49 +00:00
h_vogt 8ed853345e BOOLEAN definition 2008-04-13 12:46:36 +00:00
dwarning 0f5618619c removing BOOLEAN definition (checked under mingw) 2008-04-06 19:33:38 +00:00
dwarning b84cbc7127 xspice ipc is possible 2008-01-12 16:24:22 +00:00
dwarning 28e90e6330 Using a real double compare to equal. 2008-01-02 18:52:04 +00:00
dwarning 6464cf535d backup - no unique long long function 2007-12-27 22:02:06 +00:00
dwarning b22a7666c1 AlmostEqualUlps in double is needed 2007-12-27 17:02:22 +00:00
dwarning d07cc28819 polishing 2007-11-28 17:43:53 +00:00
dwarning b7e71db2ad AlmostEqualUlps on central place 2007-11-21 17:05:51 +00:00
dwarning b20af86749 without stddef.h types like size_t are not defined on some systems 2007-10-27 20:00:22 +00:00
dwarning 41325622fd some clean-up's to come through MSC 2007-10-18 19:34:30 +00:00
pnenzi 6f3f195158 Additions from Phil Barker (subckt nodeset and ic, simvars, mosfet binning, various fixes) 2007-10-09 07:19:45 +00:00
pnenzi 53e52f4a59 Model improvements from Phil Barker 2007-10-08 21:45:00 +00:00
pnenzi 936cd7a4fc Improvements in frontend by Phil Barker 2007-10-08 21:10:34 +00:00
pnenzi 56626999fc Improved current vectors output and added element for last analysis run 2007-10-08 20:18:38 +00:00
pnenzi 363ffb85e0 Fixed bug in memory management when xspice codemodels are used. 2005-08-04 08:23:32 +00:00
sjborley e4fdd6719c Added a CIDER dpendent reference 2005-05-30 20:30:09 +00:00
sjborley 304049224a Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:49:50 +00:00
sjborley cbdd811aa5 Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:29:52 +00:00
sjborley c61b756ea2 Replace C++ style comment with C style comment 2005-05-22 20:37:06 +00:00
sjborley fd7d4001f6 Removed the files src/misc/terminal.h/.c and src/include/terminal.h The first two were empty and the last just included the second. The relavent makefile.am files have been updated 2005-05-21 13:37:31 +00:00
sjborley 5c08bf1576 Fixed a structure initailisation problem in the VBIC device that occurs when cider is enabled. Also fixed lots of warning within ciderlib related to unused variables. 2005-05-21 12:37:23 +00:00
sjborley 368f6b0699 Changes to allow compile with MinGW. Macros JMP_BUF, LONGJMP, and SETJMP 2005-05-17 21:52:14 +00:00
sjborley 7376fa66e5 Fixed line-endings (DOS to UNIX)
and translated German to English in comments.
2005-05-11 21:37:24 +00:00
sjborley 1facfd764d Added new syntax to the the resistor card to support HSpice style temperature dependence (from Hitoshi Tanaka <HDA01055@nifty.com>) 2005-05-09 20:20:18 +00:00
sjborley a1991eee19 Fixed issues with the alternate prompt 2005-05-04 01:26:53 +00:00
pnenzi 261778cec4 Code cleaning 2005-04-26 19:44:38 +00:00
pnenzi b3e47fbbd3 New logis in initialization files for ngspice. 2005-04-26 19:42:41 +00:00
pnenzi 742186b44f Trimmed include file and removed some warnings. 2004-08-20 09:44:08 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 9066452b23 Trimmed Makefiles.am for "make dist" and added tests placeholders. 2004-02-14 19:19:23 +00:00
pnenzi 4b6bef82fe Option management patch. CDHW 2004-01-21 19:15:48 +00:00
pnenzi 5708a54ce4 Applied CDHW patch for options management. 2004-01-21 18:27:57 +00:00
pnenzi b03a70760b Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y). 2004-01-10 21:39:36 +00:00
pnenzi a872f83194 Added prototype. 2004-01-10 12:07:03 +00:00
pnenzi 9c26e40abc Added constants needed for new inductor model. 2003-09-27 17:27:47 +00:00
pnenzi 488e1cf2b3 Added a couple of constants: epsilon0 and epsilonSiO2. 2003-09-25 06:53:41 +00:00
pnenzi 6242054c2a Code Cleaning. 2003-08-23 19:54:52 +00:00
pnenzi 8686a73047 Added readline patch (support for command history). 2003-08-14 19:21:10 +00:00
pnenzi 63c93eca79 Modified sparse include files to obtain better separation from rest of the code.
(added spFindElement in spbuild.c needed by cider).
2003-08-13 23:27:17 +00:00
pnenzi 9ee4064c46 Added more separation between sparse and the rest of the package. 2003-08-13 13:00:12 +00:00
pnenzi 88b8906c9a Removed multiple definition of CMPLX_MUL macro. 2003-08-12 11:45:39 +00:00
pnenzi 8d893d890a CIDER integration. Code updated for cider support. 2003-08-11 20:53:33 +00:00
pnenzi 33c3e863b8 Cider simulator (Include files). Import. 2003-08-11 20:25:19 +00:00
pnenzi 758bedc716 Second batch of added files. 2003-07-23 20:06:10 +00:00
pnenzi 8362dec274 Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
stefanjones add5a573f2 rming 2002-11-26 11:31:39 +00:00
stefanjones ab9ab1640d Remove rubbish from import 2002-11-26 11:27:28 +00:00
stefanjones d2ae47441b Initial revision 2002-11-26 10:11:59 +00:00
pnenzi a7e1405208 Windows port of Ngspice (Holger Vogt) (part 2) 2002-01-03 22:47:29 +00:00
pnenzi 937e3db647 Holger Vogt Windows port for Ngspice. 2002-01-03 22:44:21 +00:00
pnenzi 6696aac9e6 Updated changelogs 2001-12-14 18:42:56 +00:00
pnenzi 65392b77ff Modified printnum function to avoid printing bugs and memory leaks. 2001-12-02 10:03:11 +00:00
rouat 84c3d3fbc0 Updated BSIM4 model to latest version (BSIM4.2.1) 2001-11-25 17:56:26 +00:00
pnenzi fc8956b08c Added min, max and d(iff) to vectors from code submitted by Routoure. 2001-11-23 18:01:38 +00:00
pnenzi c099f63794 CKThead structure now allocated dynamically. 2001-05-05 09:54:41 +00:00
pnenzi e96628b7bd Linked stag model to the simulator 2001-05-02 20:33:10 +00:00
pnenzi b07e35d150 Linked the new devices (mesa hfet1 hfet2) into the ngspice simulator 2001-04-25 17:58:59 +00:00
pnenzi 913b715c51 This damn dependence hidden in the source. Have modifed the max number of devices 2001-04-22 12:31:57 +00:00
pnenzi fd6d0b0723 Fixed stringutil missing bug. 2001-02-11 20:13:45 +00:00
pnenzi c68f3470e4 Code cleanup. 2001-02-09 19:46:36 +00:00
pnenzi 6f55975cc0 Code clean up (removed some warning) 2001-02-09 13:27:21 +00:00
pnenzi d735c9a871 Some code cleanup 2001-02-09 08:18:35 +00:00
pnenzi d1d4832b65 odification to parsing function for new device model (BSIM3SOIDD). Prepended
ng to binaries and manpages. Online help works again (at least!). Corrected
a bug in cktsgen.
2001-01-21 17:24:23 +00:00
pnenzi 97e77a523e Added support for bsim3soi fd devices (fully depleted). 2000-12-08 16:58:47 +00:00
pnenzi cdae0ed0b5 Fixed a couple of bugs in the files 2000-11-21 21:44:33 +00:00
pnenzi 9606b353db Added support for BSIM3SOI_PD 2.2.1 and changed configuration scripts, makefiles and support routines. 2000-11-21 07:38:51 +00:00
pnenzi ccfdf80c2e Applied patches for BSD OSes 2000-11-13 19:30:00 +00:00
pnenzi 8669c613b2 Corrected path for gc include file. 2000-11-05 16:02:46 +00:00
arno 86f326d11e * NEWS TODO acconfig.h configure.in src/ngspice.idx
src/frontend/inpcom.c src/include/complex.h
	src/include/macros.h src/include/memory.h
	src/include/ngspice.h src/maths/cmaths/Makefile.am
	src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c
	src/maths/cmaths/test_cx_j.c src/maths/cmaths/test_cx_mag.c
	src/maths/cmaths/test_cx_ph.c src/misc/alloc.c
	src/misc/alloc.h: Added support for the Boehm-Weiser
	conservative garbage collector.

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

	* notes/Linux.changes notes/dbx notes/internal notes/mac_port
	notes/porting notes/spice2: Removed or incorporated into
	NOTES.
2000-10-14 21:49:25 +00:00
arno cc51f0e8db * src/main.c, src/multidec.c, src/proc2mod.c,
src/frontend/display.c, src/frontend/outitf.c,
	src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
	src/frontend/parser/complete.c, src/frontend/parser/glob.c,
	src/frontend/plotting/graf.c,
	src/frontend/plotting/graphdb.c,
	src/frontend/plotting/x11.c, src/include/graph.h,
	src/include/iferrmsg.h, src/include/ifsim.h,
	src/include/macros.h, src/maths/poly/polyfit.c,
	src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
	src/misc/alloc.c, src/misc/mktemp.c,
	src/spicelib/analysis/cktpzstr.c,
	src/spicelib/devices/bsim2/b2temp.c,
	src/spicelib/devices/bsim3/b3temp.c,
	src/spicelib/devices/bsim3v1/b3v1temp.c,
	src/spicelib/devices/bsim3v2/b3v2temp.c,
	src/spicelib/devices/bsim4/b4temp.c: replaced malloc
	realloc and free calls to use tmalloc trealloc and txfree.

	* tests/diffpair.out, tests/fourbitadder.out,
	tests/resistance/res_partition.out: Updated.
2000-10-14 13:16:53 +00:00
arno 67976b05dc * fteext.h: Removed prototype for com_fourier(). Use
src/frontend/fourier.h for the proper prototype.
2000-09-09 13:26:02 +00:00
arno 8dc5eac0ee * TODO, doc/ngspice.texi: Small updates
* configure.in: New --enable-smoketest.

	* src/main.c
	src/ngspice.c src/frontend/outitf.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/parser/numparse.c
	src/include/cktdefs.h src/include/fteext.h
	src/include/inpdefs.h src/include/jobdefs.h
	src/include/ngspice.h src/include/tskdefs.h
	src/spicelib/analysis/Makefile.am
	src/spicelib/analysis/acsetp.c
	src/spicelib/analysis/cktaskaq.c
	src/spicelib/analysis/cktdojob.c
	src/spicelib/analysis/cktnewan.c
	src/spicelib/analysis/cktsetap.c
	src/spicelib/analysis/cktsopt.c
	src/spicelib/analysis/ckttroub.c
	src/spicelib/analysis/dcosetp.c
	src/spicelib/analysis/dctsetp.c
	src/spicelib/analysis/dsetparm.c
	src/spicelib/analysis/nsetparm.c
	src/spicelib/analysis/pzsetp.c
	src/spicelib/analysis/senssetp.c
	src/spicelib/analysis/tfsetp.c
	src/spicelib/analysis/transetp.c
	src/spicelib/devices/bjt/bjtdset.h
	src/spicelib/devices/bjt/bjtext.h
	src/spicelib/devices/bjt/bjtsetup.c
	src/spicelib/devices/bsim2/b2set.c
	src/spicelib/devices/bsim3/b3acld.c
	src/spicelib/devices/bsim3/b3set.c
	src/spicelib/devices/bsim3/bsim3def.h
	src/spicelib/devices/csw/cswtrunc.c
	src/spicelib/devices/dio/diodset.c
	src/spicelib/devices/dio/dioinit.c
	src/spicelib/devices/jfet/jfetset.c
	src/spicelib/devices/mes/messetup.c
	src/spicelib/devices/mos1/mos1ask.c
	src/spicelib/devices/mos1/mos1set.c
	src/spicelib/devices/mos1/mos1temp.c
	src/spicelib/devices/mos3/mos3load.c
	src/spicelib/devices/mos6/mos6set.c
	src/spicelib/devices/sw/swtrunc.c
	src/spicelib/parser/inppas2.c src/spicelib/parser/inppas3.c
	src/spicelib/parser/inppas3.h: Paolo and I have integrated patches from Alan Gillespie
        <Alan.Gillespie@analog.com>.
2000-09-05 19:48:22 +00:00
pnenzi 34f9e54174 Corrected a bug 2000-09-05 16:51:55 +00:00
pnenzi 0875108157 Added patches extracted from Alan Gillespie's code. Documentation and
author's file not updated.
2000-09-03 09:00:08 +00:00
arno 57dfb0f945 * main.c frontend/com_ahelp.c frontend/com_asciiplot.c
frontend/com_help.c frontend/com_plot.c frontend/com_set.c
	frontend/com_unset.c frontend/quote.c include/cpdefs.h
	include/defines.h include/wordlist.h maths/ni/niconv.c
	misc/Makefile.am parser/Makefile.am parser/numparse.c
	misc/wlist.c parser/wlist.c parser/wlist.h: Sorry for the big
	commit, I screwed up the last one.  See the ChangeLogs for an
	account of what changed.
2000-07-18 18:07:16 +00:00
arno 7ac9278389 * src/include/spconfig.h: Removed spCOMPLEX,
spSEPARATED_COMPLEX_VECTORS and spCOMPATIBILITY defines.  This
	made including this file from src/include/spmatrix.h unnecessary.
	Moved this file to src/maths/sparse/spconfig.h.

	* src/include/spmatrix.h: Removed include of
	src/include/spconfig.h.

	* src/maths/sparse/spalloc.c, src/maths/sparse/spbuild.c,
	src/maths/sparse/spcombin.c, src/maths/sparse/spdefs.h,
	src/maths/sparse/spfactor.c, src/maths/sparse/spoutput.c,
	src/maths/sparse/spsmp.c, src/maths/sparse/spsolve.c,
	src/maths/sparse/sputils.c: The other files affected by the
	removal of spCOMPLEX, spSEPARATED_COMPLEX_VECTORS and
	spCOMPATIBILITY defines.  Also: assertions are enabled by
	default.

	* src/include/smpdefs.h, src/maths/sparse/spsmp.c: SMPmatrix is
	now a typedef for void, instead of char.  Updated all function
	declarations to match this.  Also added function prototypes not
	previously mentioned in src/include/smpdefs.h.

	* src/include/complex.h: Updates of cast from char * to void *
2000-07-03 15:28:50 +00:00
arno 489fc66afd src/Makefile.am src/help.c src/main.c
src/circuit/Makefile.am src/circuit/ifnewuid.c
	src/frontend/Makefile.am src/frontend/aspice.c
	src/frontend/circuits.h src/frontend/com_display.c
	src/frontend/com_hardcopy.c src/frontend/commands.c
	src/frontend/commands.h src/frontend/cpitf.c
	src/frontend/debugcom.c src/frontend/device.c
	src/frontend/diff.c src/frontend/display.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/inp.c src/frontend/inpcom.c src/frontend/linear.c
	src/frontend/misccoms.c src/frontend/mw_coms.c
	src/frontend/nutinp.c src/frontend/options.c
	src/frontend/outitf.c src/frontend/parse.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/rawfile.c src/frontend/resource.c
	src/frontend/runcoms.c src/frontend/runcoms2.c
	src/frontend/shyu.c src/frontend/spec.c src/frontend/spiceif.c
	src/frontend/subckt.c src/frontend/vectors.c
	src/frontend/where.c src/frontend/plotting/Makefile.am
	src/frontend/plotting/agraf.c src/frontend/plotting/graf.c
	src/frontend/plotting/plotcurv.c
	src/frontend/plotting/plotit.c src/frontend/plotting/x11.c
	src/frontend/plotting/xgraph.c src/include/Makefile.am
	src/maths/cmaths/cmath4.c src/misc/terminal.c
	src/misc/terminal.h src/parser/cshpar.c src/parser/front.c
	src/parser/front.h src/parser/history.c src/parser/history.h
	src/parser/modify.c src/parser/var2.c src/parser/var2.h
	src/parser/variable.c: Refactoring of frontend code.

	* src/include/ftehelp.h src/include/variable.h: Moved into
	frontend directory.

	* src/include/cpdefs.h src/include/cpextern.h
	src/include/ftedefs.h src/include/plot.h: Updates.
2000-06-27 16:09:02 +00:00
arno 1f82eccd29 * src/devices/disto/*: Moved all files to src/maths/deriv/
* configure.in src/Makefile.am src/devices/Makefile.am
	src/include/ngspice.h src/maths/Makefile.am: Necessary updates
	to get it to compile again.
2000-06-16 21:11:59 +00:00
arno 1025e978bc * src/include/complex.h, src/include/macros.h,
src/include/memory.h, src/maths/sparse/spdefs.h: Moved definitions
        of complex into complex.h.  There are three different ways to
        declare a complex number in Spice.  We need further work to reduce
        this to only one.

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

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

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

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

	src/include/Makefile.am src/include/ftecmath.h: Removed header
	file and adjusted Makefile.am
2000-05-13 16:22:16 +00:00
arno be76b6dd44 * src/include/bool.h src/include/cpextern.h
src/include/fteext.h: Added proper prototypes to avoid compile
	errors.
2000-05-13 10:43:15 +00:00
arno 1840e80330 * src/include/Makefile.am: Update for removed header files. 2000-05-13 10:42:04 +00:00
arno b6879a3bcb * src/include/arch.h src/include/ftegraf.h
src/include/struct.h: These include files never got used;
	removed.
2000-05-13 10:41:13 +00:00
arno 1820d1a249 * src/parser/output.c src/parser/output.h: Moved these files
to src/misc directory.

	* src/include/terminal.h src/misc/terminal.c
	src/misc/terminal.h: new home to output.[ch] files.

	* src/parser/Makefile.am src/misc/Makefile.am: Updated for move.
2000-05-13 10:15:32 +00:00
arno 8696a52e89 * src/Makefile.am src/main.c src/sconvert.c
src/analysis/cktdisto.c src/analysis/cktnoise.c
	src/analysis/noisean.c: Updates for the
	new header files.

	* src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c: Updates
	for the new header files.

	* src/frontend/.cvsignore src/frontend/Makefile.am: Updates
	for the new files.

	* src/frontend/agraf.c src/frontend/aspice.c
	src/frontend/breakp.c src/frontend/breakp2.c
	src/frontend/circuits.c src/frontend/cpitf.c
	src/frontend/debugcom.c src/frontend/define.c
	src/frontend/diff.c src/frontend/dimens.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/evaluate.c
	src/frontend/fourier.c src/frontend/graf.c
	src/frontend/grid.c src/frontend/inp.c src/frontend/inpcom.c
	src/frontend/interp.c src/frontend/linear.c
	src/frontend/misccoms.c src/frontend/misccoms.h
	src/frontend/miscvars.c src/frontend/mw_coms.c
	src/frontend/newcoms.c src/frontend/nutinp.c
	src/frontend/options.c src/frontend/outitf.c
	src/frontend/parse.c src/frontend/plotcurv.c
	src/frontend/points.c src/frontend/postcoms.c
	src/frontend/rawfile.c src/frontend/runcoms.c
	src/frontend/runcoms2.c src/frontend/shyu.c
	src/frontend/spec.c src/frontend/spiceif.c
	src/frontend/typesdef.c src/frontend/vectors.c
	src/frontend/where.c src/frontend/postcoms.c: Updates for the
	new header files.  Some commands have moved into the new files
	below.

	* src/frontend/README src/frontend/com_compose.c
	src/frontend/com_compose.h src/frontend/com_display.c
	src/frontend/com_display.h src/frontend/com_let.c
	src/frontend/com_let.h src/frontend/com_setscale.c
	src/frontend/com_setscale.h src/frontend/commands.c
	src/frontend/commands.h src/frontend/completion.h
	src/frontend/streams.h src/frontend/testcommands.c:
	Separation into different com_* commands.  This is a start.
	The rest of the subdirectory needs doing.

	* src/include/complex.h src/include/cpdefs.h
	src/include/cpextern.h src/include/cpstd.h
	src/include/fteconst.h src/include/ftedata.h
	src/include/ftedev.h src/include/fteext.h
	src/include/ftegraph.h src/include/fteparse.h
	src/include/dvec.h src/include/grid.h src/include/plot.h
	src/include/pnode.h src/include/sim.h src/include/variable.h
	src/include/wordlist.h src/include/bool.h: Separation of
	header files into smaller pieces.  This limits recompilation
	to only the affected source files.  The original header
	files have a warning message embedded to flag obsoleted use.

	* src/frontend/compose.c src/frontend/compose.h
	src/frontend/nutctab.c src/frontend/nutctab.h
	src/frontend/plot5.c src/frontend/plot5.h
	src/frontend/spcmdtab.c src/frontend/x11.c
	src/frontend/x11.h src/frontend/xgraph.c
	src/frontend/xgraph.h: Moved these files into
	src/frontend/plotting subdirectory.

	* src/frontend/plotting/.cvsignore
	src/frontend/plotting/Makefile.am
	src/frontend/plotting/plot5.c src/frontend/plotting/plot5.h
	src/frontend/plotting/plotting.c
	src/frontend/plotting/plotting.h
	src/frontend/plotting/pvec.c src/frontend/plotting/pvec.h
	src/frontend/plotting/x11.c src/frontend/plotting/x11.h
	src/frontend/plotting/xgraph.c
	src/frontend/plotting/xgraph.h: The new libplotting library
	with automake and CVS infrastructure.
2000-05-06 14:12:51 +00:00
arno 4e605553de * src/sconvert.c src/frontend/circuits.c src/frontend/circuits.h
src/frontend/inp.c src/frontend/inpcom.c src/include/fteext.h
	src/parser/front.c: ANSIfication, removed some empty functions.
2000-05-05 11:07:10 +00:00
arno 0fb8f339b8 * man/man1/nutmeg.1 man/man1/spice.1 src/multidec.c
src/analysis/cktinit.c src/analysis/cktpzld.c
	src/analysis/cktpzstr.c src/analysis/cktsens.c
	src/analysis/sensaskq.c src/analysis/senssetp.c
	src/analysis/tfanal.c src/circuit/inpgtok.c
	src/circuit/inpptree.c src/circuit/sperror.c src/devices/dev.c
	src/devices/asrc/asrcacld.c src/devices/devsup/devsup.c
	src/devices/jfet/jfetload.c src/devices/ltra/ltra.c
	src/devices/ltra/ltraset.c src/devices/mos6/mos6ext.h
	src/frontend/aspice.c src/frontend/device.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/gens.c src/frontend/graf.c src/frontend/grid.c
	src/frontend/inp.c src/frontend/interp.c
	src/frontend/nutctab.c src/frontend/plotcurv.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/resource.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/typesdef.c
	src/frontend/x11.c src/hlp/readhelp.c src/hlp/x11disp.c
	src/include/complex.h src/include/devdefs.h
	src/include/fteconst.h src/maths/ni/nipzmeth.c
	src/maths/sparse/spalloc.c src/maths/sparse/spbuild.c
	src/maths/sparse/spcombin.c src/maths/sparse/spextra.c
	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/parser/lexical.c
	src/parser/unixcom.c: removed most `#ifdef notdef', converted
	some function calls from K&R to ANSI.
2000-05-03 20:01:30 +00:00
arno e92356e43c * DEVICES: Adjusted spacing.
* doc/.cvsignore man/.cvsignore man/man1/.cvsignore
	src/.cvsignore src/analysis/.cvsignore src/circuit/.cvsignore
	src/devices/.cvsignore src/devices/asrc/.cvsignore
	src/devices/bjt/.cvsignore src/devices/bsim1/.cvsignore
	src/devices/bsim2/.cvsignore src/devices/bsim3/.cvsignore
	src/devices/bsim3soi_dd/.cvsignore
	src/devices/bsim3soi_fd/.cvsignore
	src/devices/bsim3soi_pd/.cvsignore
	src/devices/bsim3v1/.cvsignore src/devices/bsim3v2/.cvsignore
	src/devices/bsim4/.cvsignore src/devices/cap/.cvsignore
	src/devices/cccs/.cvsignore src/devices/ccvs/.cvsignore
	src/devices/csw/.cvsignore src/devices/devsup/.cvsignore
	src/devices/dio/.cvsignore src/devices/disto/.cvsignore
	src/devices/ind/.cvsignore src/devices/isrc/.cvsignore
	src/devices/jfet/.cvsignore src/devices/jfet2/.cvsignore
	src/devices/ltra/.cvsignore src/devices/mes/.cvsignore
	src/devices/mos1/.cvsignore src/devices/mos2/.cvsignore
	src/devices/mos3/.cvsignore src/devices/mos6/.cvsignore
	src/devices/res/.cvsignore src/devices/sw/.cvsignore
	src/devices/tra/.cvsignore src/devices/urc/.cvsignore
	src/devices/vccs/.cvsignore src/devices/vcvs/.cvsignore
	src/devices/vsrc/.cvsignore src/frontend/.cvsignore
	src/hlp/.cvsignore src/include/.cvsignore src/maths/.cvsignore
	src/maths/cmaths/.cvsignore src/maths/ni/.cvsignore
	src/maths/sparse/.cvsignore src/misc/.cvsignore
	src/parser/.cvsignore tests/.cvsignore: Help CVS ignore
	automatically regenerated files.
2000-05-01 18:23:50 +00:00
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00