Commit Graph

1485 Commits

Author SHA1 Message Date
r29173 65458e3c80 add routine load_vadev for dynamic loading of modules. 2011-12-14 22:01:10 +00:00
r29173 d674333db9 add dynamic loading of models. shared libs should be libNAME.so. 2011-12-14 21:50:15 +00:00
r29173 102cf08670 use u instance as dynamically defined models in --adms mode 2011-12-14 21:42:02 +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 c09058038c unify OUTpBeginPlot() usage of ckt->CKTcurJob 2011-12-13 19:08:15 +00:00
rlar a7ac45c9cb rename various analysis vars --> `job' 2011-12-13 18:04:28 +00:00
rlar dea9c539c2 auxiliary define `job' --> local variable `job' 2011-12-13 18:02:14 +00:00
rlar ef04192ec0 auxiliary define (ANALYSIS*) anal --> `job' 2011-12-13 18:00:23 +00:00
rlar 5333ab2a4b switch --adms3 over to the new adms3va directories 2011-12-13 17:48:28 +00:00
rlar 206769d241 undo `2011-12-12 Laurent Lemaitre' which broke --adms in favour of --adms3 2011-12-13 17:45:57 +00:00
rlar 5449731860 copy old amds .va files to a new directory `adms3va' 2011-12-13 17:40:29 +00:00
rlar 0779816dbb remove CVS `Id' and `log' keyword incantations 2011-12-12 21:59:21 +00:00
r29173 55a87d1b81 Make veriloga models compliant with Language Reference Manual. They will not compile with --adms flag. 2011-12-12 21:02:18 +00:00
r29173 e117c389b3 Set name of model C routines unique - make linker happy. 2011-12-12 20:46:25 +00:00
rlar 88374b8c70 #4/4 #include <ngspice/...> --> #include "ngspice/..." for adms3 2011-12-11 18:17:39 +00:00
rlar 225f5aef19 #3/4 #include <ngspice/...> --> #include "ngspice/..." for adms 2011-12-11 18:16:09 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
rlar 87d9383971 use a macro to update ckt->CKTstat->STAT.. 2011-12-11 14:50:18 +00:00
rlar fd9dec37a3 auxiliary define `job' --> local variable `job' 2011-12-11 11:37:07 +00:00
rlar f8f4e32875 auxiliary define (ANALYSIS*) ckt->CKTcurJob --> `job' 2011-12-11 11:34:38 +00:00
rlar 56d000f77b variable rename `sen_info' `cv' `pzan' `sen_info' --> `job' 2011-12-11 11:31:37 +00:00
rlar a463c761d8 similiarity dctran.c versus dcpss.c 2011-12-11 11:28:20 +00:00
r29173 e8a55e807f add dynamic loading feature 2011-12-10 09:05:35 +00:00
rlar 513bf853a9 cleanup, aiming for higher similarity of dctran.c and dcpss.c 2011-12-03 10:40:23 +00:00
rlar 04c0e0c6b5 swallow warnings in hisimhv and hisim2 code 2011-10-31 10:51:33 +00:00
rlar e6c7a506ec Fix the source/drain typo for overlap cap's, for mos2 as well 2011-10-31 10:48:27 +00:00
dwarning 304417112b Fix the source/drain typo for overlap cap's 2011-10-30 21:03:38 +00:00
dwarning e3fa1bf7b4 Update to actual hisimhv model version 1.2.2 2011-10-30 20:59:47 +00:00
rlar 0589d22cf9 update bison generated files 2011-10-16 15:25:02 +00:00
rlar c139875468 bug fix, allow special nodenames "/Node" and "Node-4" in `B' expressions 2011-10-16 15:22:56 +00:00
dwarning cd639a007c psp102 module name change 2011-08-28 09:11:47 +00:00
dwarning 15c4c12755 mextram name change 2011-08-24 19:27:51 +00:00
rlar 41c14d7df4 adms, fix an extra backslash 2011-08-24 16:12:03 +00:00
rlar aaf3f9da1b prototypes, and avoid a NULL dereference when PZDEBUG is active 2011-08-21 18:04:33 +00:00
h_vogt 4cbfbad8b5 type long --> int 2011-08-21 10:43:07 +00:00
rlar 1a9ef50edf #7/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:51:14 +00:00
rlar 884ed12334 #6/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:49:37 +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
rlar f360d06d18 update bison generated files 2011-08-13 16:10:41 +00:00
rlar 830829ba56 bison files, swallow warnings 2011-08-13 16:08:16 +00:00
rlar cca4047f8f adms, fix parallel execution when using make -j 2011-08-12 19:30:56 +00:00
rlar afb4ad7921 pull two -adms3 fixes into -adms 2011-08-12 15:18:41 +00:00
h_vogt 890d049a5b uic to end of line in pss 2011-08-09 19:58:40 +00:00
h_vogt f6921573ae spaces and braces 2011-08-09 19:37:23 +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
rlar 08b2c8d111 reduce scope of variable `temp' 2011-08-09 08:34:44 +00:00
rlar cf2cc37fca reduce scope of variables `fproj' and `err' 2011-08-09 08:33:43 +00:00
rlar a92f6f369d reduce scope of variable `tv_01', and use `MAX' 2011-08-09 08:32:40 +00:00
rlar 11e38ee19b remove unsed variable `cont_1' 2011-08-09 08:31:39 +00:00
rlar 9e86e5ca66 rewrite (double)literal --> floating-point-literal 2011-08-09 08:07:56 +00:00
rlar a38165662c rewrite pointer dereferences to array subscripts 2011-08-08 08:58:29 +00:00
dwarning 25935978a6 add "4.x" as a short form for version 2011-08-06 20:13:19 +00:00
dwarning 82e0cac8e3 fix missing model parameter defaults 2011-08-06 20:12:04 +00:00
rlar 87dc06f1b2 reposition NG_IGNOREABLE for non C99 compiler compatibility 2011-08-06 17:27:40 +00:00
rlar 77d1104880 fix broken commit `type fix for Visual Studio' 2011-08-06 08:38:09 +00:00
rlar 94a4e45d08 type fix for Visual Studio 2011-08-05 20:32:11 +00:00
rlar 49000cc7e2 fix warning of potential (actuall impossible) usage of uninitialized node5..7 2011-08-05 19:17:50 +00:00
h_vogt e5a255a030 Windows progress message 2011-08-04 22:12:39 +00:00
rlar 899d5516c3 initial PSS commit 2011-08-04 16:16:46 +00:00
rlar 70b7ef1bc1 bug fix, broken insert at the front of CKTbreaks[] 2011-08-04 16:01:29 +00:00
dwarning 2a2497ec62 update va code from version 504.7 to 504.9.1 2011-07-30 15:58:11 +00:00
dwarning 95ed4ef3d7 semicolon after macro was wrong 2011-07-30 10:07:21 +00:00
rlar 8bfc98d008 lower-case the first string in an IOP("HuGo",...) incantation 2011-07-26 19:51:29 +00:00
r29173 c77ad38f30 remove perl command in generated Makefime.am 2011-07-26 18:09:24 +00:00
rlar 6f2f634413 swallow unsed variable warnings in adms generated code, upagrade dependencies 2011-07-26 17:43:08 +00:00
r29173 6c651b31de Fixed code generation for ekv by adding definition of min and max and logE. 2011-07-26 07:17:51 +00:00
rlar 6e8dd404b7 convert K&R function definitions to ansi style 2011-07-25 18:22:29 +00:00
r29173 29e3bdd7e6 fixed handling of expressions used as default value in parameter definition: parameter real p=ln(q); 2011-07-25 10:42:35 +00:00
rlar 087667dfa0 avoid incorrect bindnodes when falling back to a 4 node device 2011-07-24 19:21:02 +00:00
rlar a9aea839b4 bug fix, incomplete check for NAN 2011-07-24 18:30:05 +00:00
rlar a3969da827 polish saj's resume fix, use it for `acan' as well 2011-07-24 17:20:46 +00:00
rlar 6613127f7d bug fix, stepsize in `noisean' 2011-07-24 16:38:24 +00:00
rlar 06bbefb5ee fix usage of an uninitialized variable 2011-07-23 20:02:19 +00:00
dwarning 5993a30d9c lower case substitution in xml module 2011-07-23 07:57:07 +00:00
r29173 b59c36ae48 add code to create Makefile.am using flag --create_makefile_am at admsXml command line 2011-07-22 13:52:59 +00:00
r29173 860dd0e626 resync ngspice.xml with adms api changes 2011-07-21 18:13:06 +00:00
rlar 0892d04c8a explicit `int' casts for some ptrdiff_t expressions, where an `int' seems to be big enough 2011-07-09 19:45:22 +00:00
rlar ca9e956323 some long versus int type fixes 2011-07-09 18:56:49 +00:00
dwarning bcb826197a multiplier for channel thermal noise 2011-07-02 11:21:41 +00:00
rlar 046dc4410b hsm2eval.c, hsmhveval.c, swallow type conversion warnings 2011-06-30 18:37:56 +00:00
dwarning 50da26feb6 macros for CeilingPow and smoothZero 2011-06-30 18:18:14 +00:00
rlar 461246c70b use TMALLOC, funcall, and NULL casts 2011-06-30 16:27:04 +00:00
rlar a8cf660625 BJTtlev, BJTtlevc, DIOtlev, DIOtlevc, swallow type conversion warnings 2011-06-30 16:03:52 +00:00
rlar 416885e4b5 copy_coeffs(), swallow type conversion warnings 2011-06-30 16:01:26 +00:00
dwarning bbe409fbd2 correct init the correlated noise slot 2011-06-26 12:59:13 +00:00
dwarning 461bd39008 zero init with TMALLOC 2011-06-26 12:58:51 +00:00
rlar 451f88c5e1 swallow type conversion warnings 2011-06-24 15:26:52 +00:00
rlar 10615d5e73 tiny rewrite, (integer + integer)/2 2011-06-23 16:52:34 +00:00
rlar 9ee308a2a5 function pointer invocation, (*p)(...) ---> p(...) 2011-06-23 16:45:32 +00:00
rlar 25a8ea2f44 cleanup bsim4 prototypes 2011-06-22 17:08:24 +00:00
rlar 82d05be244 remove ancient artifact "ckt.h" 2011-06-22 17:03:54 +00:00
dwarning 5e2b381639 few corrections regarding noise w/ multiplier 2011-06-20 18:47:04 +00:00
dwarning 6df67c76a8 Name changed NevalSrc2 to NevalSrcInstanceTemp and include new bsim4 function 2011-06-19 14:18:06 +00:00
dwarning 6b35352b64 Update to version 4.7.0 & Code merged into bsim4v4 2011-06-19 14:03:07 +00:00
dwarning c93ca8410d Code merged into bsim4v4 2011-06-19 13:59:18 +00:00
dwarning 0132e5430d Update to version 4.7.0 2011-06-19 13:55:15 +00:00
dwarning a1d0aca288 Code merged into bsim4v4 2011-06-19 13:45:53 +00:00
h_vogt 3547fdc5f3 explicit casts double -> int 2011-06-11 18:38:38 +00:00
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +00:00
dwarning 042dfaadf8 introduce ccc parameter 2011-06-01 20:06:29 +00:00
dwarning 83f7548b9b compatibility issues 2011-05-31 04:58:11 +00:00
h_vogt f94cc3a8a0 comp issues 2011-05-29 10:07:10 +00:00
dwarning 905afdef5a HiSIM1 to HiSIM2 2011-05-28 18:38:51 +00:00
dwarning 7d1dc4224e changed to hisim2 2011-05-24 20:08:28 +00:00
dwarning 5dd55910c7 changes for hisim version 2.5.1 2011-05-23 20:37:11 +00:00
rlar c004719bf7 hisim2, add hisim2 to configure.ac etc 2011-05-22 10:29:24 +00:00
rlar c969452864 hisim2, fix hsm2itf.h 2011-05-22 10:27:08 +00:00
rlar 330f791af2 hisim2, add ngspice specific hsm2init.[ch] 2011-05-22 10:25:35 +00:00
rlar d6cb9e0f62 hisim2, add HSM2unsetup() 2011-05-22 10:23:30 +00:00
rlar ae96d59e45 hisim2, add ngspice specific GENinstance struct slot 'HSM2owner' aka `GENowner' 2011-05-22 10:21:45 +00:00
rlar 59006a51e2 hisim2, drop unused static functions (swallow warnings) 2011-05-22 10:20:16 +00:00
rlar 91e073eed6 hisim2, drop unused vars (swallow warnings) 2011-05-22 10:18:10 +00:00
rlar 5af509dcc7 hisim2, fix NevalSrc(), Nintegrate() redeclaration 2011-05-22 10:16:08 +00:00
rlar 2d4e904963 hisim2, drop (GENERIC **) NULL pointer casts 2011-05-22 10:14:20 +00:00
rlar 615f3f3d9c hisim2, rename FABS() -> fabs() 2011-05-22 10:12:01 +00:00
rlar 446a346caf hisim2, convert K&R function definitions to ansi style 2011-05-22 10:09:40 +00:00
rlar 40cecd644e hisim2, remove #include "fteconst.h" 2011-05-22 10:06:29 +00:00
rlar b4d53d56aa hisim2, use NG_IGNORE() (swallow warnings) 2011-05-22 10:04:41 +00:00
rlar debe7f9988 hisim2, remove #include "util.h" 2011-05-22 10:02:59 +00:00
rlar 25b4f9dbfa hisim2, #include "spice.h" --> "ngspice.h" 2011-05-22 10:00:29 +00:00
rlar dbb2068463 hisim2, remove unused labels (swallow warnings) 2011-05-22 09:57:19 +00:00
rlar 095b8849b3 hisim2, new files Makefile.am and .cvsignore 2011-05-22 09:54:58 +00:00
rlar b8c95de3cc hisim2, populate this new directory 2011-05-22 09:51:52 +00:00
rlar 7904be53ff extend HSMHVunsetup() to process some more CKTmkVolt() generated nodes 2011-05-21 14:28:09 +00:00
rlar 9dd48a1b4e revert ngspiceMakfile.am.xml 2011-05-20 16:15:03 +00:00
dwarning 39026d1d24 correct mulu0 entry place 2011-05-19 19:05:56 +00:00
rlar dc3e0704c7 undo the accidental commit of intemediate files 2011-05-19 17:02:12 +00:00
r29173 fbf52906b0 remove usage of ngspiceVersion.xml in autogen.sh 2011-05-19 14:26:58 +00:00
r29173 a8a743d620 all xml files are concatenated into one single file ngspice.xml - except ngspiceMakefile.am.xml 2011-05-19 10:11:06 +00:00
h_vogt da574eb2bf remove checking for thismodel->INPmodType 2011-05-15 09:42:49 +00:00
rlar 2b66531eb4 mop up some fixme comments 2011-05-08 12:52:58 +00:00
dwarning 36b3c18401 delvto and mulu0 instance parameter 2011-05-05 20:09:24 +00:00
dwarning ffbfe5b19e model update to the last changes 2011-05-05 20:01:48 +00:00
rlar 838612467e spelling fixes from debian, thank you ! 2011-05-01 20:20:58 +00:00
rlar 2ac219221c mop up, in the shadow of the last commits 2011-05-01 20:11:21 +00:00
rlar 6feac56f73 rename variable typename --> type_name 2011-05-01 19:51:59 +00:00
rlar 77431f8ac5 rename struct member public --> if_analysis 2011-05-01 19:05:08 +00:00
rlar 2ebe2d6277 mop up, in the shadow of the last two commits 2011-05-01 17:44:15 +00:00
rlar 3d8fb96647 cleanup, (modtmp) --> modtmp 2011-05-01 17:29:21 +00:00
rlar c1683a5571 cleanup, some more (*p).foo --> p->foo 2011-05-01 17:27:52 +00:00
rlar 3349b98145 c89 compatibility, move NG_IGNORE() after declarations 2011-04-30 15:17:18 +00:00
rlar 70678fb77e warnings, use NG_IGNORE() 2011-04-30 13:10:51 +00:00
rlar 55638c8023 various cleanups 2011-04-30 12:29:19 +00:00
rlar 1d3bd15c5c minor bug fix (broken diagnostic printout) and swallow some warnings 2011-04-29 21:04:30 +00:00
rlar cef0392d7a hisimhv implementation, ngspice has one more slot (GENowner) in GENinstance 2011-04-29 18:22:15 +00:00
dwarning 71e51c8400 no message 2011-04-29 16:54:31 +00:00
dwarning 1906903fb4 add the HiSIM_HV model vers. 1.2.1 2011-04-29 16:47:55 +00:00
rlar b778c50bd6 code cleanup, some warnings, some casts, ... 2011-04-28 17:05:22 +00:00
rlar 23056573d8 code cleanup, drop NULL pointer casts 2011-04-28 15:59:36 +00:00
dwarning 7132470c9a bjt2 merged to bjt model 2011-04-27 21:10:36 +00:00
dwarning 33fdd85ee2 merged to bjt model 2011-04-27 21:07:30 +00:00
rlar 0b6a557334 code cleanup 2011-04-27 18:30:15 +00:00
dwarning 9c8f7abdf5 stupid c&p error - drain is first node 2011-04-23 11:20:00 +00:00
dwarning 68a84d2b1a allow multiple setup call 2011-04-17 20:06:45 +00:00
rlar e970d0b530 fix allocation and ownership of auxiliary CKTmatrix CKTrhs etc objects 2011-04-15 18:50:42 +00:00
dwarning 171c8687b4 code merge for bsim3 version 0 and 1 2011-04-13 20:22:39 +00:00
dwarning 4b74852dce code merge for bsim3 version 0 and 1 2011-04-13 19:52:27 +00:00
dwarning 7785cfce91 obsolete - merged with bsim3v1 2011-04-13 19:22:12 +00:00
dwarning 696601ca21 obsolete - merged with bsim3v0 2011-04-13 19:20:13 +00:00
rlar 8fe8f39e96 bugfix, fix sensitvity calculation (for the dc-2+.cir testcase) 2011-04-09 17:11:21 +00:00
dwarning 64174665b4 no message 2011-03-20 09:33:58 +00:00
dwarning 35c8848b62 skip printout in bsimtemp for sens analysis 2011-03-16 21:26:19 +00:00
dwarning c64b1e80ac int for XPARTS flag in ancient debug usage 2011-03-13 17:51:39 +00:00
dwarning 72db3c9ba5 skip printout in bsimtemp for sens analysis 2011-03-13 17:49:24 +00:00
dwarning afa8786972 NKF beta rolloff 2011-03-10 22:21:09 +00:00
dwarning e9d18ba849 correct init of icheck and pz sub 2011-03-05 10:49:05 +00:00
rlar 165d26be3e bug fix, isrc polarity inversion 2011-03-04 21:48:29 +00:00
dwarning 0a14caeb11 no message 2011-03-04 17:34:21 +00:00
dwarning 34644f9671 segfault fix 2011-03-03 21:34:56 +00:00
dwarning 1671cf2f02 temperature model update tlev, tlevc 2011-03-03 21:31:35 +00:00
rlar c797dedb7c merge vsrc PULSE -> isrc 2011-02-28 20:35:31 +00:00
rlar 2a693e2d80 merge TRRANDOM vsrc -> isrc 2011-02-28 20:32:34 +00:00
rlar 49211d2153 vsrc, isrc, whitespace cleanup 2011-02-27 20:40:48 +00:00
rlar 598b4c6b83 vsrc, isrc, cleanup aiming for more similarity 2011-02-27 20:39:03 +00:00
rlar 0916de085c vsrc, isrc, parameter descriptors, synchronize to each other 2011-02-27 20:32:36 +00:00
rlar 454ade725f vsrc, isrc, merge checks for length of vector parameters 2011-02-27 20:28:42 +00:00
rlar 015741260f bug fix, three of them (vsrc, isrc) 2011-02-27 20:05:32 +00:00
dwarning 70856441df diode & bjt temperature model update 2011-02-22 21:45:38 +00:00
dwarning 86f8d13b56 better maintainer-clean 2011-02-21 19:40:23 +00:00
h_vogt 7e27d6c9ac MINGW error: truncating instead of rounding 2011-02-15 23:12:03 +00:00
h_vogt 30d4b95931 explicit type cast 2011-02-13 08:47:34 +00:00
rlar 30c2578751 bug fix, when rewriting a resistors tc = number number ==> tc=number tc2=number 2011-02-11 19:51:19 +00:00
rlar 84ca0986a5 add a missing `ask' function for VSRC_TRRANDOM 2011-02-11 17:13:13 +00:00
rlar 281d1952c4 fix a bug when `alter' a vector parameter (VSRC PWL for example) 2011-02-11 17:09:40 +00:00
rlar d0392a026b small fixes to make some `Makefiles' ready for build in a separate directory 2011-01-25 17:33:36 +00:00
pnenzi 8e005571e0 Fix from yuri Mahotin. Missing break. 2011-01-21 08:48:28 +00:00
h_vogt c162d3273f vsrc trrandom option 2011-01-16 19:19:42 +00:00
dwarning a79ca4e3d9 additional gmin for nonlinear barnches c1c2 & b1b2 2011-01-15 22:34:36 +00:00
dwarning 649d73beaf set version parameter to 2.3.0 2011-01-13 17:05:46 +00:00
dwarning 47fc13c8bc allow gmin stepping by using ckt->CKTdiagGmin 2011-01-12 20:06:59 +00:00
h_vogt cc6100f5cb 'stop' and 'altermod' command execution modified 2011-01-01 14:38:47 +00:00
h_vogt 6d7ee3632e remoce compiler warnings 2010-12-30 14:49:35 +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
dwarning 7debdf4ec6 correct multiplier m 2010-12-18 17:19:55 +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 e5e4ddd7a4 multiplier not for gm, gds, gmbs 2010-12-15 21:00:23 +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
dwarning 5dbaff0226 cvs ignore *.lo, *.la, .libs, Makefile.* 2010-12-12 09:58:40 +00:00
dwarning 3ab9e6d060 cvs ignore .libs 2010-12-12 09:42:47 +00:00
dwarning b964cf949c cvs ignore *.lo and *.la 2010-12-12 09:34:10 +00:00
h_vogt 5e1ed023c6 transient noise simulation 2010-11-27 16:36:03 +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
h_vogt f21f2a05bc PULSE: correct timing in case of phase != 0 2010-11-21 21:06:00 +00:00
h_vogt 4ab496dd1b PULSE: correct timing in case of phase != 0 2010-11-21 17:16:49 +00:00
h_vogt 2e06867da6 PULSE: correct timing in case of phase != 0 2010-11-21 15:06:55 +00:00
h_vogt 95b7a297fa PULSE: correct timing in case of phase != 0 2010-11-21 00:32:54 +00:00
h_vogt 39fccad193 PULSE: correct timing in case of phase != 0 2010-11-21 00:30:22 +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 ad8ad56955 Nr 3/5 (x = ...) != 0 , swallow warnings 2010-11-19 18:51:03 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 7d1950e131 fix a missing dependencies problem 2010-11-16 19:31:33 +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
dwarning 576c7e2880 obsolete labels/variables configuring --enable-nobypass and --enable-predictor 2010-11-14 11:30:18 +00:00
dwarning abf65c511f correct the nipred include for PREDICTOR defined 2010-11-14 10:26:37 +00:00
dwarning 7adf4d9703 obsolete labels/variables configuring --enable-nobypass and --enable-predictor 2010-11-13 12:10:28 +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
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 21a31ab2c2 tiny rewrite, make use of strtolower() and strtoupper() 2010-11-06 17:39:18 +00:00
rlar e3ea250a4d tiny rewrite, don't invoke strlen() to check for strlen() == 1 2010-11-06 17:22:06 +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 6e3bbd49ae casts, to make int <-> char conversions explicit 2010-11-02 17:31:19 +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 db9125fecc convert some variables, from `int' to `size_t' 2010-11-02 17:20:05 +00:00
rlar 01566f2b49 add casts to make `int' versus `size_t' conversions explicit 2010-11-02 17:07:57 +00:00
dwarning 6e2e6e9927 better readability 2010-10-31 17:43:09 +00:00
dwarning a5bfc9d6bd Allow maxord=1 w/o crash 2010-10-31 17:42:46 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +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
rlar 7e8f7d08a7 MALLOC usage unification, (in comments) 2010-10-24 13:29:26 +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 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 d7a9d71a1a remove prototypes, avoid redeclarations 2010-10-16 15:58:14 +00:00
rlar 484f678f5c add local prototype for add_device() 2010-10-15 18:52:37 +00:00
rlar 3c3b31fa60 declare some functions `static' 2010-10-15 18:43:52 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
dwarning dd7ae38ade re-arranged trtol setting 2010-10-15 07:18:42 +00:00
dwarning bd985bc28f trtol to 1 only for A devices 2010-10-14 09:18:48 +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 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 cf3514b9ae remove ancient #defines for AND OR NOT substitute with && || ! 2010-10-09 11:40:00 +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 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 44e244dde8 NevalSrc() NevalSrc2() Nintegrate() prototypes --> include files 2010-10-08 18:17:24 +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 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 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 74d62ab486 use the types TSKtask and JOB, instead of void 2010-10-08 16:46:06 +00:00
rlar 7047535f96 type bistromatic 2010-10-08 16:41:13 +00:00
rlar 04dea78e58 fix an incorrect prototype 2010-10-08 16:32:36 +00:00
rlar d51c1e1b7d fix a compiler warning, void* versus void(*)(void) 2010-10-08 16:30:07 +00:00
dwarning 0d2b618f31 modification for sun compiler 2010-10-06 20:06:05 +00:00
h_vogt 7c7ff52262 no pmf, DBL_MAX 2010-10-02 18:44:50 +00:00
h_vogt 0a1a142023 NAN in parameter output removed 2010-10-02 10:14:55 +00:00
rlar 83d1de00fe bugfix, missing return(OK) in some switch statements 2010-10-01 18:06:40 +00:00
dwarning 921fad758d initialize some variables 2010-09-22 13:58:00 +00:00
dwarning f951f3b5de update to version 2.24 2010-09-19 20:20:30 +00:00
dwarning 883eba85be Correct bitwise operation 2010-09-18 15:45:19 +00:00
dwarning 461d229da7 Correct bitwise operation 2010-09-18 09:02:33 +00:00
rlar 001ad0c2bc `make dist' add some missing artifacts 2010-09-17 16:24:01 +00:00
rlar c1647ed1a1 `make dist' improvements for `NDEV' 2010-09-17 16:21:12 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
h_vogt 56679b429b add __MINGW32__ 2010-09-10 20:22:29 +00:00
h_vogt 355384e459 libiberty.h inclusion modified 2010-09-10 15:06:04 +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
rlar b1f6da536a whitespace cleanup, add missing trailing newlines 2010-09-07 19:04:20 +00:00
rlar e20e18b855 whitespace cleanup, \r\n -> \n 2010-09-07 18:57:22 +00:00
h_vogt d89d52039f bug in B source parsing removed 2010-09-03 12:51:42 +00:00
rlar e1a5526381 use the type CKTnode instead of void* 2010-08-15 17:44:40 +00:00
rlar 99b2f9febf drop (GENinstance*) casts, which are no longer necessary 2010-08-15 17:19:39 +00:00
rlar 5c59267768 check for shorted voltage sources, to avoid a segmentation fault 2010-08-15 17:16:51 +00:00
rlar 44a182c1ba use the type CKTnode instead of void* 2010-08-11 18:54:31 +00:00
rlar 773670b38f cleanup 2010-08-11 16:15:24 +00:00
rlar d897817800 drop a bunch of (void**) NULL casts {invocation of IFnewUid()} 2010-08-10 19:54:41 +00:00
rlar 085afaee37 use GENinstance*, instead of void* 2010-08-10 19:11:26 +00:00
rlar 3340f46e80 missing `extern' 2010-08-10 18:16:04 +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 307b0f9142 drop (GENinstance*) casts 2010-08-10 18:04:48 +00:00
rlar aa11b7b84f drop (GENmodel*) casts 2010-08-10 17:59:49 +00:00
rlar 8babf0ff44 bug fix, incorrect indirection level, yet without consequence 2010-08-09 18:26:51 +00:00
rlar 618732c7bd fix assignment to a member of union IFvalue 2010-08-09 18:16:02 +00:00
dwarning e923354206 fix some wrong 'double' to 'int' assignments 2010-08-07 17:00:54 +00:00
dwarning 2991e1a5b9 add prototype for controlled_exit 2010-08-06 07:49:14 +00:00
h_vogt b82ef13db7 update for adms 2010-08-01 10:28:18 +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 618c5961ad fix some literal floating point constants, which should have been integers 2010-07-30 15:30:10 +00:00
rlar b31aef0557 find a suitable home for **DEVices and DEVmaxnum in devdefs.h 2010-07-24 21:16:50 +00:00
rlar 60ff9aaef2 muffle `nested extern' warnings, and drop a handcrafted malloc prototype 2010-07-24 20:24:26 +00:00
rlar 4cdd842cd8 muffle compiler warnings 2010-07-24 18:51:06 +00:00
rlar d0a7220f6f muffle `unused variable' warnings 2010-07-24 18:24:43 +00:00
rlar 1d6b744b1c remove static char rcsid[] = "$Id$" to muffle `unused variable' warnings 2010-07-24 18:07:30 +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 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
h_vogt 9afba3083c correct typing error 2010-07-19 19:39:31 +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 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 a23c482c23 #include "vccsext.h" to make the function declarations visible to their function definitions 2010-07-11 11:02:42 +00:00
rlar 7d6abb2fde upgrade some casts from void* to more specific type 2010-07-09 19:03:02 +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 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
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
rlar 59d4e5d961 fix various type glitches 2010-07-04 17:54:22 +00:00
rlar 463ef4a3b1 convert K&R function definitions to ansi style 2010-07-03 20:37:00 +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
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 c178bdb059 cosmetical changes 2010-06-30 20:08:57 +00:00
h_vogt a62db6942b OpenMP support for BSIM4, slight upgrade of OpenMP for BSIM3 2010-06-28 17:51:55 +00:00
rlar a120a5d049 drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
rlar c79d21af82 convert K&R function definitions to ansi style 2010-06-27 09:27:49 +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
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
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
rlar 27e25aa615 add some license and test files to `make dist' 2010-06-13 16:58:40 +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 806227a164 scientific notation of level parameter 2010-05-22 15:46:41 +00:00
h_vogt 8ddd172cc9 tmalloc patch R Larice 2010-05-14 20:26:54 +00:00
h_vogt 7be4dc785e derivatives for min, max 2010-05-09 18:57:31 +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 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 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
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
dwarning 22d1617182 remove the CR in some printf's 2010-03-09 19:29:44 +00:00
h_vogt 288e0b7214 patches R. Larice 2010-03-08 22:20:25 +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 f73055d7be limiting exp() 2010-03-07 00:14:13 +00:00
dwarning abe7a63311 omit icc complains 2010-03-03 20:01:32 +00:00
h_vogt 75d891e4c0 new parser for B source 2010-02-28 16:00:40 +00:00
h_vogt 5221bffddf pwl td= r= 2010-02-26 22:55:40 +00:00
h_vogt 76feebbbfa various bug fixes 2010-02-25 21:43:03 +00:00
dwarning 278f3c64fd update to 4.3 2010-02-21 13:44:19 +00:00
h_vogt c7470aa895 line endings 2010-02-15 10:28:48 +00:00
h_vogt 71c371485c K&R->ANSI patches by R. Larice 2010-02-13 16:01:56 +00:00
h_vogt 31203ce2ab macro ERROR -> MERROR 2010-02-11 22:32:10 +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 8585a00243 controlled_exit implementation 2010-01-30 13:21:27 +00:00
dwarning bf6358e38e corrections regarding len parameter on instance 2010-01-26 21:04:11 +00:00
dwarning b0b8624bfc using a controlled_exit 2010-01-19 21:49:29 +00:00
h_vogt d8810a841a patches by R. Larice 2010-01-17 16:40:22 +00:00
dwarning 6929a8c6b7 correct P element comment 2010-01-16 22:27:10 +00:00
dwarning 0b3c133233 few polishments 2010-01-16 22:26:47 +00:00
dwarning 13f737c32d change atof to INPevaluate to allow 10p 2010-01-16 22:26:22 +00:00
h_vogt 2dc814f613 patches by R. Larice 2009-12-31 15:37:08 +00:00
h_vogt 99533fa109 start value for sine 2009-12-20 08:44:50 +00:00
pnenzi aa93968573 Fixed bug in time computation for vsrc and isrc with xspice extensions. 2009-12-19 18:15:03 +00:00
dwarning cd4dd742bd comment tnom celsius -> kelvin transformation change 2009-12-18 17:30:04 +00:00
dwarning 6a7c441e7e tnom celsius -> kelvin transformation changed 2009-12-18 17:29:34 +00:00
dwarning d6ba20299f reconstruct NEWCONV code, also if not used 2009-12-18 16:59:16 +00:00
dwarning 587e34821a add the ngspice specific copyNodesets approach 2009-12-18 16:58:05 +00:00
dwarning 740b1d4971 omit some debug printf's 2009-12-10 21:02:44 +00:00
h_vogt 40de598586 *** empty log message *** 2009-11-29 15:58:57 +00:00
h_vogt 73d241fe69 function declarator to new format 2009-11-29 15:23:51 +00:00
dwarning 586af63f36 changed the declarator to new format 2009-11-26 20:04:09 +00:00
h_vogt 514c8e8573 memory allocation struct pwldata->vals 2009-11-21 22:21:14 +00:00
dwarning ef33d01012 rm the annoying bjt level warning 2009-11-17 19:28:05 +00:00
dwarning a0667438f1 changed ancient double vector declaration in pwldata 2009-11-17 19:27:43 +00:00
pnenzi 55926f4375 Fixed a remaining .cvsignore 2009-11-04 11:19:15 +00:00
pnenzi 335a4a89af Removed .deps and .cvsignore from dist package 2009-11-03 10:06:06 +00:00
dwarning 123b247bed correct __func__ usage for different compiler 2009-10-18 13:45:35 +00:00
dwarning ef245cee3d rm debug printf's 2009-10-13 20:17:32 +00:00
dwarning 8e8ecc784c PWL functionality for B sources 2009-10-11 08:50:54 +00:00
dwarning 05116f0e0e commnet: structure extension is ngspice specific 2009-10-11 08:40:23 +00:00
dwarning 5600225c8f correct version to 4.6.5 2009-10-04 12:28:07 +00:00
dwarning 3944f29034 Cbg1 wrong assignment 2009-10-04 11:49:10 +00:00
dwarning e9d829409f typo in b4temp, formatting 2009-10-04 07:32:06 +00:00
pnenzi 2ff50ea37d Updated BSIM4 code to 4.6.5 (source and drain diode currents) 2009-09-22 09:05:20 +00:00
h_vogt 2eba12d518 bugfix no. 2859013, comments 2009-09-20 20:28:12 +00:00
h_vogt 881908ec47 bug no. 2859013 2009-09-19 21:18:04 +00:00
h_vogt 7ec7495457 tran setup info, cleanup 2009-09-19 14:16:04 +00:00
h_vogt c25d028cbf SetAnalyse output extended 2009-09-13 19:42:19 +00:00
dwarning 86f3a7b480 correct u2 derivative 2009-08-26 06:08:51 +00:00
dwarning 87e5559088 Update to version 4.6.4 2009-08-22 18:13:17 +00:00
h_vogt 257d218893 option noinit, ref. to _logb 2009-08-22 16:54:03 +00:00
dwarning f8b3737a0b init Cbg1 2009-08-04 19:29:17 +00:00
dwarning fb58732801 correct args size 2009-08-04 19:28:34 +00:00
dwarning 865eaed5ab element instantiation e.g. r=50 2009-07-30 18:31:15 +00:00
dwarning 289a9e6113 init struct pParam 2009-07-25 10:20:17 +00:00
dwarning c37624a89b delete !Size_Not_Found branch 2009-07-25 08:34:29 +00:00
dwarning fbe087baff rm FREE(model->pSizeDependParamKnot) 2009-07-22 21:06:11 +00:00
h_vogt 1de4a31321 bipolar handling fixed 2009-05-16 10:11:24 +00:00
h_vogt 4ef61a65cf SIGSEGV handling for Windows 2009-05-02 09:40:33 +00:00
h_vogt bdbee943bf maxord set to min 2 or max 6 2009-05-01 17:30:35 +00:00
h_vogt 05c0d50e55 SetAnalys, maxord 2009-04-28 21:53:29 +00:00
dwarning d337f4bce5 prototype not needed 2009-04-27 20:55:09 +00:00
h_vogt b5db0a1e36 #ifdef CIDER added to line 70 2009-04-23 07:51:03 +00:00
dwarning ba3549a8bc Parameter declaration in new format 2009-04-22 05:40:27 +00:00
dwarning 5c0bccbd36 Parameter declaration in new format 2009-04-21 20:22:13 +00:00
dwarning 30e9bd952c node - model compare must be correct 2009-04-19 10:57:17 +00:00
dwarning 06ae02fbde Update to bsimsoi v4.1 2009-04-19 10:43:09 +00:00
h_vogt 8a4b560324 memory leaks: code improved 2009-04-05 08:57:55 +00:00
h_vogt 56f77e45f5 some cleanup 2009-03-15 15:09:33 +00:00
h_vogt c22fa4be3f noacct supresses printing of 'Initial transient solution' 2009-03-09 20:34:31 +00:00
dwarning 0e424010ed Using GMIN from simulator will improve op solution 2009-03-01 17:59:25 +00:00
dwarning 65f853cab5 Allow 4-terminal devices for adms models 2009-03-01 10:29:32 +00:00
h_vogt 2750b076bb line 436 error message corrected 2009-02-25 22:05:25 +00:00
dwarning f375b3e3f0 5-terminal only for adms bipolars 2009-02-25 19:31:57 +00:00
dwarning 3931562d98 Correct strstr compare 2009-02-23 19:38:57 +00:00
dwarning 9e5f6f89c5 Update to release version 504.7 now with selfheating 2009-02-22 22:32:51 +00:00
dwarning 00a141073f Correct handling of adms 5 terminal models 2009-02-22 11:58:33 +00:00
dwarning 9c7e45b1d7 Update to release version 504.7 now with selfheating 2009-02-22 11:56:48 +00:00
dwarning 7f2f045223 update va code from model developer 2009-02-14 20:05:38 +00:00
dwarning f35e2fb625 some mappings for bsimsoi and bsim4 2009-02-14 12:24:06 +00:00
pnenzi 8c3ca11c62 New capability of print command for sin source print @vin_sin[sin] and
alter command for sin source alter @vin_sin[sin] = ( 1 1 3000Hx ). Patch
from Espice - A. Roldan
2009-01-15 22:16:32 +00:00
dwarning a02cb7f623 using ngspice.h 2009-01-11 21:31:23 +00:00
dwarning 2a61f9976e using ngspice.h 2009-01-11 20:43:27 +00:00
dwarning 38de26c58a update to actual version 2.22 2009-01-05 21:33:19 +00:00
dwarning 46bcc82c51 compatibility regarding S/D diode behaviour 2009-01-04 11:21:26 +00:00
dwarning 9a76299a78 XTI default 0 2009-01-02 10:47:59 +00:00
dwarning 760b55367a A more serious implementation 2009-01-02 10:35:57 +00:00
dwarning 31b74d12d5 some cc needs double for isinf macro 2009-01-01 20:48:48 +00:00
h_vogt 1fa4faf88c tclspice for Windows 2008-12-31 14:42:49 +00:00
dwarning b03cf4e6c2 update to hicum0 v1.2 2008-12-28 17:30:10 +00:00
h_vogt d618da1a22 fprintf(... replaced by fprintf(stdout,.. 2008-12-23 18:00:10 +00:00
h_vogt f345bb62d7 checks for BSIM3, BSIM4 modofied 2008-12-22 12:42:07 +00:00
dwarning 959a73a893 switch to libtool 2008-12-22 08:16:59 +00:00
h_vogt 0c4b672bd9 3.2 and 3.20 added to BSIM3 versions 2008-12-20 17:47:07 +00:00
dwarning b61bb11195 Only prevent warning if NDEF is not defined 2008-12-04 20:40:57 +00:00
dwarning 0f23becb8d Initialization of the struct pParam with NULL 2008-11-28 19:07:09 +00:00
dwarning 9e24a8ac83 no stimod switch as model parameter 2008-11-26 21:12:34 +00:00
h_vogt 75f68291aa various compiler warnings removed 2008-11-26 20:33:20 +00:00
pnenzi 1e9ba171d8 Updated some Makefiles for generating distribution tarball. 2008-11-26 09:40:16 +00:00
saintel 6fe0cebe58 *** empty log message *** 2008-11-22 10:31:46 +00:00
dwarning f2ddbf8211 extending state vector 2008-11-18 11:57:40 +00:00
dwarning 0f37a7e943 bug fix dev info structure and correct version 2008-11-16 09:53:55 +00:00
dwarning 0d00387575 BSIM4.6.3 update 2008-11-09 22:42:50 +00:00
dwarning 4fd732f450 vbic was lost 2008-10-27 20:28:13 +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 ee349375bd error during debug:' time' not defined 2008-09-23 22:15:27 +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
pnenzi cacdda8fde Removed --enable-intnoise switch and related ifdef. Integrated noise
plot now is always generated.
2008-08-25 18:58:00 +00:00
pnenzi 7f6ad5c706 Updated to new automake standard. Replaced all INCLUDES with AM_CPPFLAGS 2008-08-24 17:12:50 +00:00
pnenzi 64baf803b6 Small corrections: duplicate entries and redundant include. 2008-08-23 07:51:08 +00:00
r29173 2742986059 add dependency $module.c: admsva/$module.va 2008-08-19 08:48:26 +00:00
dwarning 6bd5f8470b Changes to compile under Sun Studio 11 for Solaris 2008-05-18 19:25:17 +00:00
dwarning 189421c373 let us concentrate to one revision 2008-05-18 18:08:16 +00:00
dwarning a299cdf8b0 uninitialized variables initialized 2008-05-12 08:42:42 +00:00
dwarning af3afcca38 Reconstruct NEWCONV macro 2008-04-20 09:33:06 +00:00
dwarning 0e52a0fcc2 backup NEWCONV because of using original BSIM code 2008-04-16 20:20:49 +00:00
dwarning c2d79e44b6 New bsim3soi version 4.0 2008-04-16 20:14:09 +00:00
dwarning ecd45d7ce3 old version 2008-04-16 20:09:23 +00:00
h_vogt 8ed853345e BOOLEAN definition 2008-04-13 12:46:36 +00:00
dwarning da6d5ea3d7 better TRACEing 2008-03-23 11:40:10 +00:00
dwarning ae1d4f899f add NL at the EOF 2008-01-06 17:45:33 +00:00
dwarning e352cb46dd correct subckt expansion and new bsim model level/version selection 2008-01-06 14:09:33 +00:00
dwarning 9b9f858ec5 also version=3.30 usable 2008-01-03 21:17:21 +00:00
dwarning 28e90e6330 Using a real double compare to equal. 2008-01-02 18:52:04 +00:00
dwarning c6f86b9067 only forms 2007-12-27 16:18:48 +00:00
dwarning 832ec26d97 No usage of C99 Designated Initializers 2007-12-27 16:13:07 +00:00
dwarning 71362bf7eb allow mingw build w/o GUI 2007-12-15 16:35:35 +00:00
sjborley 68a8c9f296 Added .cvsignore files to some device directories 2007-12-14 09:50:40 +00:00
dwarning 95ff0a0277 if no bsim3 version given then use 3.30 2007-12-10 21:14:49 +00:00
dwarning f276ab0c21 remove unused variables and add prototypes 2007-12-01 23:25:19 +00:00
dwarning 0618ecbf8b prototypes for asprintf 2007-11-28 17:38:00 +00:00
dwarning f7691d8902 Fix name conflict of noise functions 2007-11-24 12:11:15 +00:00
dwarning 468ddc23dc BSIM3v3.3.0 added 2007-11-24 12:07:36 +00:00
dwarning b2e9e30a14 BSIM3v3.2.x shifted to folder bsim3v32 2007-11-24 12:00:19 +00:00
dwarning 8be6630ccd BSIM3v3.3.0 added 2007-11-24 11:53:21 +00:00
dwarning b7e71db2ad AlmostEqualUlps on central place 2007-11-21 17:05:51 +00:00
dwarning c45bc50421 no std header 2007-11-21 17:02:09 +00:00
dwarning f08f8e4149 multiplier introduced 2007-11-21 17:01:09 +00:00
dwarning 698c5ad77e accept version 3.xx form 2007-11-21 16:56:57 +00:00
dwarning 1807ad0179 scale option included 2007-11-17 22:26:02 +00:00
dwarning 3e1a0ea99f xspice dev info needed 2007-11-14 20:43:36 +00:00
dwarning abcd242444 unused variable step 2007-11-14 20:24:09 +00:00
dwarning 2d07152cd3 5 nodes only for adms 2007-11-14 20:23:45 +00:00
dwarning 0133e20412 til now only bsim4 has version processing 2007-11-14 10:39:54 +00:00
pnenzi 47ebcd0c95 Debug information on xspice device loading masked with #ifdef TRACE 2007-11-13 19:31:22 +00:00
dwarning a49408633d 4.6.1 instead 4.6.0 2007-11-04 20:26:11 +00:00
dwarning 4fe7326db7 BSIM4.2.0/4.3.0/4.5.0 version code added 2007-11-04 20:00:43 +00:00
dwarning e7fbeb6705 consistent naming convention 4v4 2007-11-04 19:39:46 +00:00
dwarning f4f0949d84 update to version 4.6.1 2007-11-04 19:34:56 +00:00
dwarning 4ec429100f bsim4v4 version code added 2007-10-31 07:22:05 +00:00
dwarning 09f3b68acb stay with tmalloc instead of MALLOC 2007-10-20 19:57:41 +00:00
dwarning 41325622fd some clean-up's to come through MSC 2007-10-18 19:34:30 +00:00
pnenzi 8d5b7f7b60 Redundant parameters 2007-10-10 11:22:40 +00:00
pnenzi a52a87ddd8 Added "r" option to vsrc, aliased some parameters on r and c, added safe floating point comparison (from Phil Barker) 2007-10-09 08:44:49 +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 008c9d7a4c Improved reporting (from Phil Barker) 2007-10-08 15:36:56 +00:00
dwarning 2958b19aa4 new version 102.1 2007-07-24 17:26:23 +00:00
dwarning 1ae1913fd6 text macros defined 2007-07-24 10:12:15 +00:00
dwarning 0f5cf5a9d9 node info are useful 2007-07-24 10:00:48 +00:00
dwarning 23707f4069 node info are useful 2007-07-24 09:54:50 +00:00
dwarning 00ad16b464 unique limexp behaviour 2007-07-23 17:24:14 +00:00
r29173 5ea58f9f05 fixed computation of ddx when ddx not used in contribs 2007-07-05 13:31:55 +00:00
r29173 b7aa19243e added declaration of noise variables 2007-07-05 10:20:33 +00:00
r29173 fdb2fa9424 started noise implementation (added just a template!) 2007-07-05 09:45:33 +00:00
r29173 b2598cbe58 added new evaluate function (support of ddx operator used inside contribs) 2007-07-05 09:44:11 +00:00
gdiso 85a73411e6 allow NULL pointer in DEVices array 2007-06-17 03:20:42 +00:00
dwarning bd92e84218 case sensitiv for ekv 2007-05-15 19:04:59 +00:00
pnenzi 613deca2f7 Updated the code for ekv model. 2007-05-13 09:55:13 +00:00
pnenzi 61a324fec5 This file is atuomatically generated by autogen.sh 2007-05-13 09:53:42 +00:00
r29173 c087846c38 added support to 'div' builtin function 2007-05-11 07:19:57 +00:00
dwarning 844fd93f92 Only the ekv long channel version as a placeholder 2007-05-09 19:24:17 +00:00
dwarning 85d44a5fa4 Only the long channel version as a placeholder 2007-05-08 19:33:40 +00:00
r29173 f3c3cd8909 traverse blocks named 'noise' or 'initial_step' during guesstopology code creation 2007-05-07 09:01:18 +00:00
dwarning 6edbe344ca small adms adaptions to ekv and psp102 2007-05-06 17:15:42 +00:00
dwarning 1a1c6171ef One additional NL prevent problems in vbicload.c 2007-05-05 21:11:46 +00:00
r29173 cc728d0dd8 fixed implementation of tempate 'fname' (created unvalid C code) 2007-05-04 14:48:09 +00:00
r29173 a674f92acf changed required adms version to 2.2.6 2007-05-02 14:56:49 +00:00
r29173 de1121a117 initial import: ngspice customization made to original psp code 2007-05-01 16:06:27 +00:00
gdiso 8234088f3e Add indicator 2007-05-01 03:39:21 +00:00
gdiso b56645af57 parser for NDEV 2007-05-01 03:36:59 +00:00
gdiso 0d97318ee8 add ndev to device list 2007-05-01 03:35:53 +00:00
gdiso e98da264e1 Numerical Device Interface 2007-05-01 03:34:34 +00:00
r29173 57b40c8470 redefined macro P(txt) in order to 'see' instance parameters 2007-04-30 13:33:29 +00:00
r29173 9539cc2470 added initializeModel, initiliazeInstance to initial_model, initial_instance 2007-04-30 13:12:21 +00:00
r29173 1caee800ee improved 'guesstopology'
fixed implementation of macro 'noise'
when building 'load' traverse block 'noise'
2007-04-30 13:10:35 +00:00
r29173 53f05d9aef added cases initializeModel, initiliazeInstance (block name used by psp102) 2007-04-26 13:04:34 +00:00
pnenzi 92c4be77b6 Updated model to 4.6.0 2007-04-26 09:58:35 +00:00
pnenzi c9d9b2f337 psp model 102 initial import 2007-04-25 17:46:56 +00:00
pnenzi 2b2d2efce0 Added support for new verilog-a models. 2007-04-25 17:44:58 +00:00
r29173 23ecb3a896 add case 'blockvariable' 2007-04-24 12:26:36 +00:00
r29173 22ef8823ce added missing new lines (due to changes in adms225)
renamed pspva to psp102
2007-04-24 08:59:09 +00:00
dwarning c0458610e3 fifth node binding only for ADMS defined 2007-02-10 16:13:22 +00:00
dwarning b5ce155b97 unification for func and derivative 2007-02-10 16:08:41 +00:00
pnenzi 00cf9ec22a Fixed code for BJT devices with less than 5 nodes. 2007-01-20 12:37:35 +00:00
pnenzi 68b765e3cd Truncation error calculation. 2006-03-10 09:55:53 +00:00
r29173 a14d3a60bd replaced '<' by xml special sequence '&lt;' 2006-03-07 10:12:12 +00:00
dwarning f034cc153f Macros for exp() limiting added. 2006-03-06 16:36:55 +00:00
r29173 3bc2a371a6 added support to 'analog functions' 2006-03-06 12:50:15 +00:00
pnenzi 103763d407 Updated version to 2.2.0 2006-03-05 09:38:41 +00:00
r29173 39cc7553da add missing xml code (computation of $function) 2006-03-03 08:41:41 +00:00
r29173 a6c791e7b4 add simparam definitions when possible 2006-03-03 08:39:31 +00:00
r29173 8e71bad753 started handling of adms elements 'case' and 'nilled' 2006-03-02 09:04:38 +00:00
r29173 304fbe9c41 started implementing of functions $simparam(), $given(), analysis() 2006-03-02 08:53:51 +00:00
r29173 f0df77fa0e added macro _scale (scaling factor) - always set to 1.0 2006-03-02 08:51:08 +00:00
pnenzi 38e68869a2 Added mdel, del and dest functions to interface. 2006-03-01 14:30:24 +00:00
pnenzi cf7e5f8d67 Added support for pole-zero analysis (experimental). 2006-02-26 22:09:01 +00:00
dwarning 8204213186 Add hicum2 and remove some ancient spice3 directives (*_USED). 2006-02-23 08:26:49 +00:00
dwarning 2f8c867e37 The original HICUM level2 model. Only ddt() terms are separated. 2006-02-22 19:11:48 +00:00
dwarning 7d554eb230 Move to hicum0.va 2006-02-22 19:06:36 +00:00
dwarning 837ccea880 Change to mextram.va. 2006-02-22 19:00:52 +00:00
dwarning f02b4ee320 Set pnp default to 0. 2006-02-21 20:06:05 +00:00
pnenzi 5bb2babf9f Added cleanfile target to remove generated .c and .h and .c.bak 2006-02-21 18:32:04 +00:00
pnenzi 2bfcb8cf4c Bipolar devices support 5 nodes now (Dietmar) 2006-02-21 15:25:23 +00:00
dwarning b6763b9a39 Fit the adms naming rule. 2006-02-21 12:58:57 +00:00
r29173 ec502ae373 removed printf statements used for debug purpose 2006-02-21 10:27:10 +00:00
dwarning 2a2dc8d502 Introduction of alias names for modules to prevent cryptic naming. 2006-02-21 08:05:18 +00:00
dwarning 9191d42a5f Only delete HAVE_ADMS in a comment. Don't worry. 2006-02-20 11:07:53 +00:00
dwarning 3a86df8b0b For make adms we don't need make an new Makefile. Is done by autogen.sh. 2006-02-20 09:07:14 +00:00
dwarning 122de6abe7 Consistent VLADEVDIR 2006-02-19 20:17:42 +00:00
dwarning 067da3e860 Correct the ADMS macro. 2006-02-18 09:15:17 +00:00
pnenzi 9d5b6727f9 Corrected errors. 2006-02-17 17:19:24 +00:00
pnenzi af2b0819eb Removed conflict indicator (left in previous commit) 2006-02-17 14:54:16 +00:00
pnenzi f659abd416 Fixed support for adms devices (Mextram and hicum0) 2006-02-17 14:52:57 +00:00
dwarning b89dd232dd Close an else branch. 2006-02-17 12:05:55 +00:00
dwarning 35206820c2 Adapted to the actual adms dir configuration. 2006-02-16 15:57:27 +00:00
dwarning 9e74c9ee62 Added adms compiled devices: hicum0, mextram 2006-02-16 15:42:04 +00:00
dwarning 0dbcc804e6 Adapted to the actual adms dir configuration. 2006-02-16 15:38:42 +00:00
dwarning b1d1986876 Adapted to the actual adms dir configuration. 2006-02-16 15:11:29 +00:00
pnenzi f3070062eb Removed support for EKV and generation of C code from autogen.sh for verilog devices. 2006-02-16 11:44:42 +00:00
dwarning cf88f14383 The MEXTRAM Bipolar Model level 504 in Verilog-A (Original Version 504.6) 2006-02-16 09:25:19 +00:00
dwarning 2afbcfd070 The HICUM Level0 Bipolar Model in Verilog-A (Original Version 1.1 - only VT0 changed to Vt0) 2006-02-16 09:22:06 +00:00
dwarning acfefe4da2 Add .bak to perl -i switch because some interpreter versions struggles about 2006-02-16 09:17:40 +00:00
pnenzi da5d1b5660 Added section for r and c elements (Laurent) 2006-02-10 06:59:56 +00:00
pnenzi a8bc248dce Latest update from Laurent and Dietmar: (empty instances) 2006-02-09 11:25:24 +00:00
pnenzi 0505b2cd63 Fixed a typo (Dietmar) 2006-02-08 09:36:48 +00:00
pnenzi 271e940abd Dietmar uptade 2006-02-08 09:31:34 +00:00
pnenzi 35df92f882 Changed admsXml.exe to admsXml
+8
2006-02-08 09:28:11 +00:00
dwarning 57ec95ae87 Problem with nested comment. 2006-02-03 20:09:36 +00:00
pnenzi 4dbd9c51a8 Changed adms required version to 2.1.3 ,J 2006-02-02 17:56:31 +00:00
pnenzi 9f43df7a47 Removed nmos and pmos from list of parameters. (Laurent) 2006-02-02 14:26:50 +00:00
pnenzi 5990ff03cc Initial import for admst (Verilog-AMS) translators for ngspice. 2006-01-31 17:53:48 +00:00
dwarning 65ba4599c1 External resistors can be 0 because nodes are merged 2006-01-24 21:30:15 +00:00
dwarning 78cb65eef6 Var tmp should be int. 2005-12-06 19:58:46 +00:00
dwarning 5e1ebed38b Remove cpp comment - and make more readable 2005-12-05 20:46:03 +00:00
dwarning 6dd4777218 Remove cpp comment 2005-12-05 20:36:25 +00:00
pnenzi 486764292e Back to the original code from Berkeley around line 4015-4020. 2005-12-04 09:17:35 +00:00
pnenzi 5296cd51b8 Partially applied Paul Reich patch (missing include and c++ style comments) 2005-12-04 08:52:10 +00:00
pnenzi 99c1f901e3 Added fixes from Hitoshi Tanaka and Dietmar Warning over original code. 2005-11-13 21:22:37 +00:00
pnenzi 3403580a05 Updated BSIM4 model to BSIM4.5.0 (Hitoshi Tanaka and Dietmar Warning) 2005-11-13 20:56:33 +00:00
pnenzi d921759a2a Patch sent by Dietmar Warning: fixed double allocation of substrate node, current sign and tempo for rb and rc. 2005-11-07 13:57:10 +00:00
sjborley c2fb0224ed Implemented patches supplied by Andreas Unger <a_unger@gmx.de>. Fixes XSpice bug; variable PER was being used before initialisation. 2005-10-15 13:53:58 +00:00
pnenzi ebb48f93ed Bug fix for error "unknown parameter(save)" 2005-09-18 08:24:07 +00:00
pnenzi 33b254609b Patch sent by Hitoshi to fix ltra code and "listing" command. See Changelog. 2005-09-04 16:41:27 +00:00
pnenzi 363ffb85e0 Fixed bug in memory management when xspice codemodels are used. 2005-08-04 08:23:32 +00:00
pnenzi cfb185c3bb Bug in power function fixed. 2005-06-30 11:41:17 +00:00
pnenzi b8dca1b4c2 Fixed xspice extensions. 2005-06-25 19:11:57 +00:00
sjborley 51988dfb80 Changes supplied bt Hitoshi Tanaka to allow XSpice to compile using MinGW in Windows. 2005-06-16 00:28:16 +00:00
sjborley 16db93285e Added #ifdef TRACE etc. to replace /* */ in code 2005-06-10 07:14:30 +00:00
sjborley 3c0fab2bfb Fixed a divide-by-zero bug in the MOS level=2 device model. The fix was supplied by Hitoshi Tanaka. 2005-05-23 20:30:43 +00:00
sjborley 427c3e3b3c Removed unused variables to avoid compile warnings 2005-05-23 06:58:42 +00:00
sjborley eec6b623b0 Fixed compile warning that occur due to unused variables 2005-05-21 13:33:49 +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 eff209d8a3 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 2005-05-18 20:25:05 +00:00
sjborley f1ab1481ea Reverted to previous version. Changes in this file were intended for temporary debug and should not have been committed to CVS. 2005-05-18 19:17:13 +00:00
sjborley e62d45ad4f Exclude local isnan() when library version exists - MinGW prompted change 2005-05-18 13:09:16 +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 75fe905cc9 Added debug tracing. Activated by defining TRACE 2005-05-10 21:31:20 +00:00
sjborley 0a78434a17 Added missing .cvsignore files
Added #ifdef CIDER ... #endif arround DEVdump and DEVacct field in initialisation of SPICEdev instances, to match decalaration of SPICEdev in include/devdefs.h
2005-05-10 21:23:44 +00:00
pnenzi aae86db65c Added XSPICE extensions (PHASE parameter) and AM transient function. 2005-05-10 07:01:47 +00:00
pnenzi e7369b7c03 Added xspice extension (PHASE parameter and current variable) and AM transient function. 2005-05-10 06:59:05 +00:00
sjborley ac9edfbbc5 Added .cvsignore file 2005-05-09 21:21:04 +00:00