Commit Graph

1413 Commits

Author SHA1 Message Date
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 3e95037b0e convert K&R function definitions to ansi style 2010-07-23 17:16:27 +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 3942bc2ade drop #include <frontend/variable.h>, (even for non MSC_VER) 2010-07-20 19:10:51 +00:00
rlar a49d446826 fix an incorrect type, (&char versus &bool) 2010-07-20 19:06:25 +00:00
rlar 8851f67efd Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
rlar d44f818cad allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
h_vogt 9afba3083c correct typing error 2010-07-19 19:39:31 +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
h_vogt 5cbb4d2c67 update changelog, number of types 2010-07-17 10:25:52 +00:00
rlar ff459393d0 `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
rlar a0a7d0ca70 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 15:47:05 +00:00
rlar ba91a6074a add a missing `const' qualifier 2010-07-16 15:42:46 +00:00
rlar 1915f964dc xspice, digital/d_fdiv, fix the type of counter and counter_old
from Digital_State_t to int
2010-07-16 15:38:27 +00:00
rlar 84a69a3896 xspice, flip-flops and ram, 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
2010-07-16 15:33:25 +00:00
rlar 26412f883e xspice, cast so called `STATIC_VAR' pointers to their concrete type 2010-07-16 15:26:05 +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 e1a86fad43 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 15:52:44 +00:00
rlar cab9417c9a eliminate co_stringargs, which is used nowhere 2010-07-14 15:43:50 +00:00
rlar 0772afc517 fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
rlar 5397fd9fdd split the function printstr() into printstr_n() and printstr_m() 2010-07-13 18:17:06 +00:00
rlar 922d5c69ac fix the type of the function pointer argument of wl_forall() 2010-07-13 18:10:57 +00:00
rlar 4102c27164 fix function pointer initialization 2010-07-11 20:18:47 +00:00
rlar 62c6626254 add casts for void* returning functions 2010-07-11 19:34:15 +00:00
rlar a44cc3dd7e for c++, lex input() function is named yyinput() 2010-07-11 19:22:36 +00:00
rlar 1bb9d1c633 missing (void*) casts 2010-07-11 19:15:26 +00:00
rlar 460f7a6485 fix type and usage of some function pointers 2010-07-11 18:10:08 +00:00
rlar a19f5dc9ac fix some function pointer casts 2010-07-11 18:03:49 +00:00
rlar fd7ef635a2 missing casts 2010-07-11 16:04:27 +00:00
rlar f7f4a7dd91 tiny, fix two casts 2010-07-11 16:02:23 +00:00
rlar cc1cdbeeac dont compare with '\0' when NULL was meant 2010-07-11 12:33:54 +00:00
rlar a23c482c23 #include "vccsext.h" to make the function declarations visible to their function definitions 2010-07-11 11:02:42 +00:00
rlar 98ae3c949f cast the udn*() function args 2010-07-11 10:59:03 +00:00
rlar a0b0f550ab ansi style function args for a function pointer arg of spInitialize() 2010-07-10 14:06:14 +00:00
h_vogt e07486df2a patch B. Swartz 2010-07-04 2010-07-10 13:22:44 +00:00
rlar 3600f91ab0 drop some malloc prototypes, use <stdlib.h> 2010-07-10 12:48:56 +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 7d6abb2fde upgrade some casts from void* to more specific type 2010-07-09 19:03:02 +00:00
rlar d7e2e7f7f0 cast malloc... return values 2010-07-09 16:53:34 +00:00
rlar eb6e3e9827 fix some casts 2010-07-08 18:27:17 +00:00
rlar 805f60448a INPtables, remove some casts 2010-07-08 17:50:29 +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 8496ba3f91 comments added 2010-07-06 14:04:48 +00:00
h_vogt be99864a86 debug warnings removed 2010-07-06 13:52:52 +00:00
h_vogt 46e5436aa8 sighandler_t not under Wondows, spetrum script updated 2010-07-06 12:24:08 +00:00
rlar e26cec467d initialization of the struct IFdevice.flags element in generated code 2010-07-05 16:42:48 +00:00
rlar d6d7fbde26 cast the return values of the void* returning functions 2010-07-05 16:16:56 +00:00
rlar 59d4e5d961 fix various type glitches 2010-07-04 17:54:22 +00:00
rlar 2744462d01 void *AllocatedPtr 2010-07-04 17:41:17 +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 463ef4a3b1 convert K&R function definitions to ansi style 2010-07-03 20:37:00 +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 70420197e6 ansi style function args for some function pointers 2010-07-02 17:00:21 +00:00
h_vogt 39c98ad798 OpenMP for B4SOI version 4.3.1 2010-07-02 09:35:05 +00:00
h_vogt e3b0a4b0dd .TITLE line 2010-07-02 07:34:18 +00:00
h_vogt 9f84139ffa no white space removal in echo ' ' 2010-07-01 20:42:20 +00:00
h_vogt 2edf6bafd2 no white space removal in echo ' ' 2010-07-01 20:29:53 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
rlar 0dbebc870c fix some typecasts to *malloc() return values 2010-07-01 17:20:35 +00:00
rlar 643728aca4 explicit compare with NULL 2010-07-01 16:43:28 +00:00
rlar c178bdb059 cosmetical changes 2010-06-30 20:08:57 +00:00
h_vogt 6874c454fc allow {$var} 2010-06-30 19:20:01 +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
h_vogt a62db6942b OpenMP support for BSIM4, slight upgrade of OpenMP for BSIM3 2010-06-28 17:51:55 +00:00
rlar b1151b4934 drop useless cast of a copy() return value 2010-06-27 17:57:30 +00:00
rlar a120a5d049 drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
h_vogt 111d25b0fc short -> int 2010-06-27 16:42:59 +00:00
h_vogt 3a96b98900 short -> int 2010-06-27 16:19:27 +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 c79d21af82 convert K&R function definitions to ansi style 2010-06-27 09:27:49 +00:00
rlar ad947547a8 ansi function prototypes, and stdlib.h for exit() 2010-06-26 20:22:50 +00:00
rlar 5e35b809ec drop cast of NULL to non-ansi function pointer 2010-06-26 19:58:42 +00:00
rlar be57f10b3b avoid some function pointer warnings 2010-06-26 17:12:56 +00:00
rlar b58722b18b remove redundant nested function declarations 2010-06-25 19:49:13 +00:00
rlar 5b5297ac2f remove abandoned prototypes 2010-06-25 17:23:40 +00:00
rlar 3a6540b584 use allready defined enumerate Digital_State_t and Ipc_Status_t 2010-06-24 19:00:15 +00:00
h_vogt 8b1c9dde7f OpenMP for BSIM3 ver 3.3.0 2010-06-24 10:25:05 +00:00
rlar a14e59866e ansi function declarations (prototypes) 2010-06-23 19:33:54 +00:00
rlar 5946300a97 upgrade foo() --> foo(void) ansi function definition 2010-06-23 18:57:13 +00:00
rlar 4420a3ecdd add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
h_vogt 81dd27a730 Cbg1 assignment 2010-06-22 15:23:15 +00:00
h_vogt 97d0e801f4 dekete reference to MOS levels 60, 61 2010-06-20 07:27:52 +00:00
h_vogt a3a4d4409c .measure skip braces in a special case 2010-06-19 18:50:39 +00:00
h_vogt aab308e863 bug, see support tracker no. 3013968 2010-06-19 18:23:32 +00:00
rlar 1f290ed13e remove junk from tarball, and fix some Makefile.am dependencies 2010-06-19 16:08:07 +00:00
h_vogt 7f9885c842 remove extra white spaces in inp_fix_gnd_name() 2010-06-17 21:55:40 +00:00
h_vogt 1dcb43bf14 WINDOWS: no help files 2010-06-15 22:39:09 +00:00
rlar ed556f3afc Makefile.am cleanups 2010-06-14 20:01:29 +00:00
rlar 69465c5aa3 `make dist' improvements 2010-06-13 18:55:18 +00:00
rlar 27e25aa615 add some license and test files to `make dist' 2010-06-13 16:58:40 +00:00
h_vogt 24094bc623 notice: help file outdated 2010-06-11 08:40:09 +00:00
h_vogt a38846464f bug fix 300800 2010-06-04 20:45:03 +00:00
h_vogt 0c3cbd5410 bug report 3008000 2010-06-04 20:16:43 +00:00
h_vogt ba48d85de1 return NULL 2010-06-03 22:17:25 +00:00
h_vogt a633a0d50f update bsim4soi to vers. 4.3.1 2010-06-03 22:11:20 +00:00
h_vogt 16e01a69e2 update for 'show all' 2010-05-30 17:17:50 +00:00
h_vogt 180087ec0f include bison files in dist 2010-05-30 10:22:42 +00:00
h_vogt d080f6dfc0 updates for making dist, new internal fcn getline_xgrapgh 2010-05-30 09:26:34 +00:00
h_vogt af32733fa8 remove unused array 2010-05-27 19:33:57 +00:00
h_vogt 92abb04185 update on B source pwl handling 2010-05-27 19:20:10 +00:00
h_vogt 1fe8cbbf26 xspice api update 2010-05-26 05:51:04 +00:00
h_vogt 806227a164 scientific notation of level parameter 2010-05-22 15:46:41 +00:00
h_vogt 2fe85974ce ternary fcn in numparam bugfix 2936702 2010-05-21 20:58:31 +00:00
h_vogt dd66fc7220 abort if .inc fails 2010-05-16 16:31:03 +00:00
h_vogt 1cf306f8e8 remove bugs in processing of lines 2010-05-16 11:55:07 +00:00
h_vogt 63c6260696 update fcn inp_bsource_compat 2010-05-14 22:39:56 +00:00
h_vogt 8ddd172cc9 tmalloc patch R Larice 2010-05-14 20:26:54 +00:00
h_vogt 8a69132a1c cleanup 2010-05-12 21:02:58 +00:00
h_vogt 0bebd1e9e0 new replacement of gnd by 0 2010-05-12 20:48:23 +00:00
h_vogt d850fdd7a3 fcn finishLine: add e. or h. to token inside i(...) 2010-05-10 21:57:36 +00:00
h_vogt 7be4dc785e derivatives for min, max 2010-05-09 18:57:31 +00:00
h_vogt 5d3c29cb77 ngbehavior 2010-05-09 18:46:56 +00:00
h_vogt 030011fc79 new comments 2010-05-09 13:58:39 +00:00
h_vogt 9548bdd710 tiny update 2010-05-09 12:47:43 +00:00
h_vogt e5e54f9270 correct resistor expression line 3707 2010-05-08 15:47:24 +00:00
h_vogt 9eaba91bf2 update on E, G sources with expressions 2010-05-08 14:21:31 +00:00
h_vogt bfd1b3cb23 L, C implementation: avoid substraction from a builtin 1.0 2010-05-08 09:36:57 +00:00
dwarning 7cd4839d1b correct parsing of integer model parameter in vectors too 2010-04-28 21:18:10 +00:00
dwarning 1ba2d635c8 correct parsing of integer model parameter 2010-04-26 20:28:58 +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 625b3d14fc no crash after 'unset undefined' 2010-03-21 21:23:47 +00:00
h_vogt df5931e570 circuit flag CKTvarHertz 2010-03-20 17:35:56 +00:00
h_vogt af4e5ebcdc comments 2010-03-20 15:42:50 +00:00
h_vogt 9e2f02fbe2 HERTZ added to B source 2010-03-20 15:32:23 +00:00
h_vogt b85ea660dd comment 2010-03-20 15:28:54 +00:00
h_vogt 85788591ff remove 291,292 2010-03-16 23:10:18 +00:00
dwarning 3df1779133 correct a typo of eais/eaic parameter 2010-03-13 11:52:46 +00:00
dwarning 05c24bbc03 want only the parameter names in output 2010-03-09 19:31:10 +00:00