Commit Graph

1192 Commits

Author SHA1 Message Date
h_vogt 6d7ee3632e remoce compiler warnings 2010-12-30 14:49:35 +00:00
h_vogt 1ea76af678 add statistical functions to numparam and nutmeg parsers 2010-12-28 19:01:30 +00:00
rlar 7632ca3ef3 include ./thing ---> include thing 2010-12-27 09:45:50 +00:00
rlar fbf5708786 bug fix, missing isrc trnoise ask function
breaks tests/vbic/diffamp.cir (infinite recursion of error messages)
2010-12-27 09:40:58 +00:00
h_vogt cfe6c96d19 add ')' to fcn inp_sort_params 2010-12-25 08:35:19 +00:00
h_vogt 5fd49349f6 update to RTS noise 2010-12-19 11:05:03 +00:00
dwarning 7debdf4ec6 correct multiplier m 2010-12-18 17:19:55 +00:00
h_vogt 4d1202d7ef rts example 2010-12-18 17:16:00 +00:00
h_vogt f476389531 RTS noise 2010-12-18 17:05:44 +00:00
h_vogt 91a0efbea7 transient noise in independent current source 2010-12-16 23:45:24 +00:00
dwarning d5b1570db4 no message 2010-12-15 21:01:07 +00:00
h_vogt 53ba204cbb char* identifiers 2010-12-13 22:15:19 +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 b1e1c03430 sichere Breakpoints bei TRNOISE 2010-12-12 12:27:51 +00:00
rlar 5941237b18 Change bool from `unsigned char' to `int' 2010-12-11 19:42:33 +00:00
rlar 6fa71d275b support another non-equality '<>' token 2010-12-11 18:51:43 +00:00
rlar 34a6676dc8 don't transform operators ('&|' -> '&&' '&' -> '&&' etc) pass them *literally* 2010-12-11 18:34:29 +00:00
h_vogt 2b4069f93e bug no. 3127808, and rem trailing white spaces 2010-12-11 17:26:22 +00:00
rlar e1292b0c3a bug fix, segmentation fault caused by `reset' when xspice used 2010-12-04 10:59:28 +00:00
h_vogt 3070001ed1 transient noise example added 2010-11-28 09:59:40 +00:00
h_vogt 4fbb4e7383 transient noise option to vsrc 2010-11-27 16:54:08 +00:00
rlar eaadf5d2bc tiny fix, a boundary check 2010-11-25 19:42:20 +00:00
rlar b7d969a472 drop -D CM_WINDOWS and -D CM_LINUX 2010-11-25 19:39:09 +00:00
rlar 83f9110dc1 use NG_IGNORE() ... 2010-11-23 20:00:50 +00:00
rlar d602e0b75c attract gcc's attention to some printf format strings (for type checking) 2010-11-23 19:36:21 +00:00
rlar eb06eeb4d9 swallow type conversion warnings 2010-11-23 19:26:00 +00:00
rlar 5ea63abb47 fix an ancient bug (typo `!=' versus `=!') 2010-11-23 19:22:57 +00:00
rlar bda8dfa2c6 swallow type conversion warnings (assignment of an int to unsigned:1 flags) 2010-11-23 19:20:30 +00:00
rlar 7ef6155ea5 touch (timestamp) bison output files 2010-11-22 19:07:48 +00:00
rlar 1755ee8626 d_source, bug fix 2010-11-22 18:54:46 +00:00
rlar b5702020b7 d_source d_state d_ram, rewrite bit operations 2010-11-21 15:44:56 +00:00
rlar 560126526a d_source d_state d_ram, rewrite index operations 2010-11-21 15:43:12 +00:00
rlar c57c3fe972 d_source d_state, change float --> double 2010-11-21 15:41:38 +00:00
rlar c575e60356 d_source d_state d_ram, test cases for those xspice codemodels 2010-11-21 15:40:11 +00:00
h_vogt 2e06867da6 PULSE: correct timing in case of phase != 0 2010-11-21 15:06:55 +00:00
h_vogt 413d0ff103 PULSE: correct timing in case of phase != 0 2010-11-21 00:11:43 +00:00
h_vogt 8ba1e81a9b PULSE: allow time < 0.0 2010-11-20 17:18:23 +00:00
rlar 05441d5823 Nr 5/5 (x = ...) == NULL , swallow warnings 2010-11-19 18:54:40 +00:00
rlar e6c30efe46 Nr 4/5 (x = ...) != NULL , swallow warnings 2010-11-19 18:52:44 +00:00
rlar ad8ad56955 Nr 3/5 (x = ...) != 0 , swallow warnings 2010-11-19 18:51:03 +00:00
rlar 6256f69499 Nr 2/5 (x = ...) != '\0' , swallow warnings 2010-11-19 18:49:05 +00:00
rlar acb1c33d66 Nr 1/5 (x = ...) == 0 , swallow warnings 2010-11-19 18:46:58 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
h_vogt 00177fe5ab prevent loop in case of vector not found 2010-11-16 19:41:24 +00:00
rlar d768b25ab7 fix another missing dependencies problem 2010-11-16 19:38:18 +00:00
rlar 7d1950e131 fix a missing dependencies problem 2010-11-16 19:31:33 +00:00
rlar 4e8e49e698 local prototypes for "tclspice.c" 2010-11-16 19:18:09 +00:00
rlar 2355ed9a83 regenerate bison output files 2010-11-16 19:14:53 +00:00
rlar 5412e4bfd2 convert macro `U()' to `IGNORE()' 2010-11-16 19:13:20 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
rlar 9150ae9afb introduce macro `IGNORE(x)', which shall used to mark unused parameters 2010-11-16 18:59:06 +00:00
h_vogt 506703b64c bug no. 3072940 2010-11-14 11:56:52 +00:00
dwarning 7adf4d9703 obsolete labels/variables configuring --enable-nobypass and --enable-predictor 2010-11-13 12:10:28 +00:00
rlar 699ba544fa bug fix, current-controlled switch, `w' device 2010-11-08 19:30:05 +00:00
rlar faa4943218 ci_prefix() returns a `bool', and change struct element `ivl' type to `int' 2010-11-06 20:29:33 +00:00
rlar aaaf547951 remove some unused functions from the numparam world 2010-11-06 20:25:21 +00:00
rlar 75b6eeb94a add `int' casts to some strlen() expressions, and center labels on a xlog scale 2010-11-06 20:17:19 +00:00
rlar 1779d62558 add some `int' and `size_t' casts 2010-11-06 20:14:21 +00:00
rlar d0dba768f8 change the type of a bunch of variables from `int' to `size_t' 2010-11-06 20:11:24 +00:00
rlar 8cd9d88d40 tiny rewrite, avoid type conversion warnings 2010-11-06 18:08:27 +00:00
dwarning 503e47089f use ceil for round up 2010-11-06 18:06:45 +00:00
rlar d803d1e622 drop some unused static variables 2010-11-06 17:53:53 +00:00
rlar 4e8a1f9656 tiny rewrite, make use of copy_substring() 2010-11-06 17:52:36 +00:00
rlar 2d6930b3bc tiny rewrite, make use of cieq() 2010-11-06 17:43:52 +00:00
rlar 21a31ab2c2 tiny rewrite, make use of strtolower() and strtoupper() 2010-11-06 17:39:18 +00:00
rlar dbdd7dc741 tiny rewrite, type fixes 2010-11-06 17:29:28 +00:00
rlar c5c6fe477b drop a redundant check 2010-11-06 17:24:34 +00:00
rlar e3ea250a4d tiny rewrite, don't invoke strlen() to check for strlen() == 1 2010-11-06 17:22:06 +00:00
rlar fbe0def68e change a (int) cast application, to avoid type conversion warnings 2010-11-06 17:16:53 +00:00
rlar 8141892f72 tiny rewrite, to avoid type conversion warnings 2010-11-06 17:14:34 +00:00
rlar dd34b783cf minor rewrite, a local variable type change 2010-11-06 17:12:13 +00:00
rlar 7422d5d618 tiny rewrite to avoid "variable ... might be clobbered by 'longjmp'" warnings 2010-11-06 17:00:12 +00:00
rlar 5f4b0aa798 (int) cast the return value of some strlen() invocations 2010-11-06 16:54:11 +00:00
rlar 927470e12f minor rewrite, avoid type conversion warnings 2010-11-06 16:50:21 +00:00
rlar b4b3cb38a2 change the bsim1 `xpart' model parameter from IF_REAL to IF_FLAG 2010-11-06 15:22:16 +00:00
rlar f7bd3f56c8 change some model parameters from IF_REAL to IF_INTEGER 2010-11-06 15:16:39 +00:00
dwarning 8a8fbcafe5 enable backward Euler 2010-11-06 13:30:44 +00:00
dwarning b4d3cc8646 ancient configure options removed 2010-11-06 13:23:25 +00:00
rlar 2cdd98715a minor modification of strtolower(), and implement strtoupper() 2010-11-04 20:01:46 +00:00
rlar 3afbeb53e2 minor rewrite, fix a minor bug in the x11 zoom-in function 2010-11-04 19:42:09 +00:00
rlar 0eccd17d9a add casts for x11 operations, to silence type conversion warnings 2010-11-04 19:35:57 +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 411c6fc8c3 minor rewrites 2010-11-04 19:28:00 +00:00
rlar f30f96a4c7 use `size_t' variables for fread/fwrite operations 2010-11-04 19:15:41 +00:00
rlar 96992f770a use the type `bool' instead of `unsigned char' in the numparam world 2010-11-02 17:55:32 +00:00
rlar 6e3bbd49ae casts, to make int <-> char conversions explicit 2010-11-02 17:31:19 +00:00
rlar 6ac005103b add some more `int' versus `size_t' casts 2010-11-02 17:28:22 +00:00
rlar 754406a335 minor beautification 2010-11-02 17:25:32 +00:00
rlar 6b5debfc1e use `NUMELEMS' and add some `(int)' casts 2010-11-02 17:23:46 +00:00
rlar 4ca91fbd82 local prototypes in `dlmain.c' 2010-11-02 17:21:49 +00:00
rlar db9125fecc convert some variables, from `int' to `size_t' 2010-11-02 17:20:05 +00:00
rlar b4ffca60c4 (int) casts for some `strlen()' expressions 2010-11-02 17:17:43 +00:00
rlar 01566f2b49 add casts to make `int' versus `size_t' conversions explicit 2010-11-02 17:07:57 +00:00
h_vogt a0235ee242 exit upon make errors 2010-11-01 15:50:19 +00:00
rlar c3f20f8321 cleanup TMALLOC etc macros 2010-10-31 19:36:57 +00:00
h_vogt 1372c00bf4 exit upon autogen or configure error 2010-10-31 19:03:04 +00:00
dwarning 57b1f5e9de no message 2010-10-31 17:44:03 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar ea8d250999 bug fix, incorrect handling of `co_spiceonly' commands 2010-10-28 18:12:27 +00:00
rlar 2b3bcfea74 bug fix, const data space was used, instead of malloced area 2010-10-27 16:59:50 +00:00
rlar de35847146 realloc does work, even with NULL argument 2010-10-27 16:40:10 +00:00
rlar 29f34fc734 use tmalloc instead of malloc 2010-10-27 16:36:34 +00:00
rlar cc5b9007a7 use tmalloc and trealloc instead of MALLOC and REALLOC 2010-10-27 16:34:27 +00:00
rlar 5edf18bbc8 bug fix ?, this fix is a mere guesswork, FIXME 2010-10-27 16:30:55 +00:00
rlar 930bf53c3f bug fix, malloced space too small 2010-10-27 16:27:41 +00:00
h_vogt 3ddc20621a guards for strstr 2010-10-25 10:45:55 +00:00
rlar 6e9e8e2e51 trealloc usage unification 2010-10-24 13:32:17 +00:00
rlar 7e8f7d08a7 MALLOC usage unification, (in comments) 2010-10-24 13:29:26 +00:00
rlar 15d12df25b tmalloc usage unification, parenthesize some terms 2010-10-24 13:27:18 +00:00
rlar 11c2ff1720 RALLOC usage unification, drop braces around the second argument 2010-10-24 13:24:02 +00:00
rlar bfc7a4cd7b use char* instead of void* 2010-10-24 13:19:29 +00:00
rlar d6353fb9ee struct member devdep, use void* instead of char* 2010-10-24 13:15:35 +00:00
rlar 32a255f47c tmalloc usage, minor usage unification 2010-10-24 13:06:23 +00:00
rlar 5e8e44cc0a cast the tmalloc, MALLOC, return value 2010-10-24 12:59:20 +00:00
rlar b96989b506 fix incorrect usage of tmalloc/sizeof, incorrect indirection level 2010-10-24 12:56:11 +00:00
rlar bf0b7b4386 qsort() usage, drop cast of the first argument (which is a void *) 2010-10-24 12:53:52 +00:00
rlar 3cc50320e3 rename ALLOC, REALLOC, CALLOC, FREE, in the "src/maths/sparse" domain 2010-10-24 12:51:43 +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
h_vogt 3dd27472bc add mktemp.h 2010-10-17 16:04:34 +00:00
h_vogt 6a7c0eb74d prototypes 2010-10-16 22:40:20 +00:00
rlar e2ab67bda0 stronger warning levels, redeclarations, missing prototypes, k&r style ... 2010-10-16 17:55:26 +00:00
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
h_vogt 102420262c error message 'no graphics interface... 2010-10-16 16:05:42 +00:00
rlar c04fd4df28 unconditional visibility of the cider prototypes limit*() 2010-10-16 16:00:58 +00:00
rlar 60caf347a3 remove unused variables 2010-10-16 15:59:37 +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 16e8689529 collect vec_get() in "fteext.h" 2010-10-16 15:53:33 +00:00
rlar e71ca2c2b7 collect plot_cur in "fteext.h" 2010-10-16 15:52:19 +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 320258dbd2 collect internalerror() in "fteext.h" 2010-10-16 15:45:53 +00:00
rlar ed73405d0f collect ft_nutmeg() in "fteext.h" 2010-10-16 15:44:23 +00:00
rlar d0b7dae2e8 remove local prototypes, which are already included 2010-10-16 15:42:51 +00:00
rlar fe2a308698 remove prototypes, avoid redeclarations 2010-10-16 15:40:48 +00:00
h_vogt 07fd5f5cac new command wrs2p 2010-10-16 12:06:29 +00:00
h_vogt afdf6ee134 new command wrs2p 2010-10-16 12:05:09 +00:00
h_vogt 32c134f481 #include "../misc/tilde.h" 2010-10-15 21:04:44 +00:00
rlar 7f8ee8818e collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc' 2010-10-15 19:24:52 +00:00
rlar de10506199 cmpp shall add a function prototype to the generated "cfunc.c" file 2010-10-15 18:59:07 +00:00
rlar 4a70e758c4 visibility for the NDEVacct() prototype 2010-10-15 18:57:44 +00:00
rlar 1a3be07881 remove obsolete artifact XtDispatchEvent() (dummy implementation) 2010-10-15 18:56:33 +00:00
rlar e3cdd8ee4d visibility for the printVoltages() prototype 2010-10-15 18:55:13 +00:00
rlar 59e223c5e4 disable dangling artifact 2010-10-15 18:53:58 +00:00
rlar 484f678f5c add local prototype for add_device() 2010-10-15 18:52:37 +00:00
rlar 7f7504f30a collect prototype for ifs_yyerror() in "ifs_yacc_y.h", and fix return type 2010-10-15 18:49:12 +00:00
rlar 1c2bae2c48 collect prototype for mod_yyerror() in "mod_yacc_y.h", and fix return type 2010-10-15 18:47:20 +00:00
rlar bdd308ede7 visibility for tildexpand() prototyp 2010-10-15 18:45:50 +00:00
rlar 3c3b31fa60 declare some functions `static' 2010-10-15 18:43:52 +00:00
rlar ce014b3eb5 add prototypes for some functions --> "cmproto.h" 2010-10-15 18:38:00 +00:00
rlar 47d271d0c0 declare udn_int_ and udn_real_functions `static' 2010-10-15 18:36:28 +00:00
rlar b897dfa857 collect extern timebegin in "misc_time.h" 2010-10-15 18:32:57 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
rlar 47472b867b prototypes, make use of "cidersupt.h" 2010-10-15 18:29:10 +00:00
rlar ccfef4110d collect extern JMP_BUF jbuf in "frontend/signal_handler.h" 2010-10-15 18:27:25 +00:00
rlar 92a4a2cda4 avoid redeclaration, signalhandler 2010-10-15 18:25:30 +00:00
rlar a10759a699 remove static fftext() from "com_fft.h" 2010-10-15 18:24:10 +00:00
rlar a1e09cdcd1 collect free_pnode_o() in "parse.h" 2010-10-15 18:22:39 +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 80b2f2b164 update the bison generated files 2010-10-09 14:38:43 +00:00
rlar 0fb5f2142a avoid function redeclaration, PPparse() and PTparse() 2010-10-09 14:28:28 +00:00
rlar 882b3b4155 add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...) 2010-10-09 14:26:41 +00:00
rlar 1d62b41bfa collect cp_* prototypes / extern-declarations in "cpextern.h" 2010-10-09 12:49:34 +00:00
rlar fda6aafc9f additional #includes for prototype visibility 2010-10-09 12:46:42 +00:00
rlar 65ef4f037a collect MESH*() prototypes in "meshext.h" 2010-10-09 12:44:31 +00:00
rlar a1b178c3f0 include bsim4*def.h (bsim4*geo.c files) 2010-10-09 12:41:05 +00:00
rlar 34e1037396 BSIM*Geo() prototypes --> include files 2010-10-09 12:39:21 +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 8a7b507f84 remove winmessage() prototype, there is no such thing (hopefully) 2010-10-08 18:56:32 +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 fa156de8dd avoid function redeclaration (devices) 2010-10-08 18:44:15 +00:00
rlar 8382aceba3 sens_getp() prototype --> include file 2010-10-08 18:31:32 +00:00
rlar 746c9d1212 static function definition 2010-10-08 18:20:39 +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 101f6d5f4a str_to_lower() init_error() protoypes --> include files 2010-10-08 18:11:48 +00:00
rlar ef26170d5a DkerProc() CKTdisto() prototypes --> include files 2010-10-08 18:09:02 +00:00
rlar 3d9a742802 remove some stuttered prototypes 2010-10-08 18:07:03 +00:00
rlar 4d31d2a12f some .c file local prototypes 2010-10-08 18:05:00 +00:00
rlar 36b9d794df cx_avg() prototype 2010-10-08 18:02:58 +00:00
rlar cef8a530af com_dotmeasure() prototype 2010-10-08 18:01:40 +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