Commit Graph

2904 Commits

Author SHA1 Message Date
Francesco Lannutti a707256456 Speeded up the KCL Verification Method, performing the KCL Check only after that the Voltage Check result is good 2013-07-15 22:56:37 +02:00
Francesco Lannutti c74e0d703a Added a preliminary version of the BSIM4v7 model for the KCL verification 2013-07-15 22:56:37 +02:00
Francesco Lannutti efe9f389b5 Added BSIM3 to the "new_kirchhoff" KCL verification 2013-07-15 22:56:37 +02:00
Francesco Lannutti 2f8d8a59b3 Added MOS6 to the "new_kirchhoff" KCL verification 2013-07-15 22:56:37 +02:00
Francesco Lannutti 083904d847 Added BSIM2 to the "new_kirchhoff" KCL verification 2013-07-15 22:56:37 +02:00
Francesco Lannutti 1f53d76a37 Added MOS1 to the "new_kirchhoff" KCL verification 2013-07-15 22:56:37 +02:00
Francesco Lannutti 521302fd00 Added support for "new_kirchhoff" for CCCS, CCVS, VCCS and VCVS devices 2013-07-15 22:56:36 +02:00
Francesco Lannutti fb306e5385 Reviewed IND, ISRC, RES and VSRC to work with the "new_kirchhoff" KCL verification 2013-07-15 22:56:36 +02:00
Francesco Lannutti f3891e5af3 Added support for "new_kirchoff" for IND, RES, VSRC devices 2013-07-15 22:56:36 +02:00
Francesco Lannutti 765af7836d Added support for "new_kirchoff" for CAP, ISRC devices 2013-07-15 22:56:36 +02:00
Francesco Lannutti d1c6492157 Implemented the KCL verification in place of the classical SPICE3 check for the circuit currents
This version modifies every model directly to obtain fvk in a separate vector, instead of using a matrix-vector product
2013-07-15 22:56:36 +02:00
rlar 1e85da2369 simplify #ifdef nesting #4/4 2013-07-14 20:31:05 +02:00
rlar 656db6805d simplify #ifdef nesting #3/4 2013-07-14 20:31:04 +02:00
rlar 1f21bcfbe3 simplify #ifdef nesting #2/4 2013-07-14 20:31:04 +02:00
rlar 950d372e13 simplify #ifdef nesting #1/4 2013-07-14 20:31:04 +02:00
rlar b85a3b6c9d fix "misc_time.c: make timediff always availabe when timeb.h is found" 2013-07-14 20:31:01 +02:00
h_vogt 8066aacfff sharedspice.c, .h: fcn to initialize Sync, fcn to set breakpoint,
callback fcn to read vsrc external inputs
2013-07-14 18:54:44 +02:00
h_vogt b973d32778 shared ngspice, dctran.c fcn to add breakpoints 2013-07-14 18:49:25 +02:00
h_vogt 5754a21362 shared ngspice: external voltage source 2013-07-14 18:45:49 +02:00
rlar b19342581b cleanup OUTattributes() invocations
checked for object file invariance
2013-07-14 15:15:38 +02:00
rlar f2343d2fe8 cleanup IFnewUid() invocations
checked for object file invariance
2013-07-14 15:15:04 +02:00
rlar ca90bc647c cleanup OUTpBeginPlot() invocations
checked for object file invariance
2013-07-14 15:11:00 +02:00
rlar 4a2821184f cleanup stuttered semicolon 2013-07-14 15:08:46 +02:00
rlar 72ddab4213 cleanup comment 2013-07-14 15:07:22 +02:00
rlar dc3a798369 polish `PARSECALL' macro
checked for object file invariance
2013-07-14 15:06:47 +02:00
rlar 7189a87bbf polish `LITERR' macro
checked for object file invariance
2013-07-14 15:06:12 +02:00
rlar aef068ba10 polish `GCA' macro
checked for object file invariance
2013-07-14 15:05:00 +02:00
rlar 9ad007cc7d polish `IFC' macro
checked for object file invariance,
different code for inppas3.c, seems to be ok
2013-07-14 15:03:53 +02:00
rlar f14c42b571 polish `MERROR' macro
checked for object file invariance
2013-07-14 15:00:50 +02:00
h_vogt a808ce8d42 misc_time.c: make timediff always availabe when timeb.h is found 2013-07-12 00:24:06 +02:00
dwarning 9552449c87 inp2y.c, TXL bug fix
reported by John Reuben P on the ngspice-users mailing list
need to insert instance names into the symbol table with INPinsert()
2013-07-07 11:35:29 +02:00
rlar 113d4ede7a CKTfndDev(), drop unused argument `modname' which is always NULL 2013-06-30 20:24:21 +02:00
rlar 0cc59b1dc8 cleanup CKTfndDev(), findInstance() invocation 2013-06-30 20:24:13 +02:00
rlar fa1d115ec2 unify, use `ckt' instead of `ck' 2013-06-30 20:23:58 +02:00
rlar 0afe0eab8f CKTfndDev(), #6/6, cleanup 2013-06-30 12:48:47 +02:00
rlar 8a32c75138 CKTfndDev(), #5/6, cleanup 2013-06-30 12:48:37 +02:00
rlar 3fcf1ea855 CKTfndDev(), #4/6, cleanup 2013-06-30 12:48:12 +02:00
rlar d2759742be CKTfndDev(), #3/6, cleanup 2013-06-30 12:47:59 +02:00
rlar eb97339637 CKTfndDev(), #2/6, cleanup 2013-06-30 12:47:50 +02:00
rlar 065d71d1a8 CKTfndDev(), #1/6, whitespace 2013-06-30 12:47:24 +02:00
rlar 5b7a6d6c37 abstraction, new function `find_instance()' 2013-06-30 11:38:12 +02:00
Henrik Forstén 03dfb3bd22 numparm, speedup modernizeex() for the common case 2013-06-29 21:38:44 +02:00
Henrik Forstén e9e3bf2a69 search just once for basic device types 2013-06-29 20:00:21 +02:00
Henrik Forstén c659c21e7e fix "sytax" spelling 2013-06-29 19:45:50 +02:00
dwarning fb1686802f allow format like .5 in b-sources 2013-06-27 20:05:44 +02:00
dwarning 868235b3b2 prevent NaN in sqrt for negative value of model parameter PHI 2013-06-25 22:03:32 +02:00
Henrik Forstén e40b1a354c rewrite AlmostEqualUlps() to avoid compiler warnings concerning `strict-aliasing' 2013-06-24 22:01:40 +02:00
Henrik Forsten e8481585f4 inpsymt.c, use "Daniel J. Bernstein" hash function
instead of a simple sum.

just for note,
there is a wealth of newer hash functions.

For example "The FNV Non-Cryptographic Hash Algorithm"
from http://tools.ietf.org/html/draft-eastlake-fnv-03
2013-06-23 00:31:34 +02:00
rlar 052898ec27 avoid `(IFuid) 0' cast 2013-06-22 20:52:14 +02:00
rlar d2207784b5 convert K&R function definitions to ansi style 2013-06-22 20:51:33 +02:00