Francesco Lannutti
2b3caacc21
Fixed the KCL Resistor Model. Added the Source and Drain Resistances to the KCL BSIM4 Model
2013-07-15 22:58:38 +02:00
Francesco Lannutti
8d015a5a6f
Implemented the FINAL infrastructure for the KCL Verification. BSIM4v7 is still under development
2013-07-15 22:58:38 +02:00
Francesco Lannutti
2b27524b51
Implemented a new check for the KCL Verification, based on the maximum of the unknown current branches at each voltage node.
...
Please note that this check introduces the theoretically correct check, but, since achieving this target involves the perfect knowledge of every model,
we can use this suboptimal and practical check (to be extended with the other possible unknown current branches)
2013-07-15 22:58:38 +02:00
Francesco Lannutti
e102ebebe3
Implemented a new check for the KCL Verification, based on the maximum of the unknown current branches at each voltage node.
...
Please note that this check introduces the theoretically correct check, but, since achieving this target involves the perfect knowledge of every model,
we can use this suboptimal and practical check (to be extended with the other possible unknown current branches)
2013-07-15 22:56:42 +02:00
h_vogt
8d166ebcc9
enable compilation with MS Visual Studio 2008
2013-07-15 22:56:40 +02:00
Francesco Lannutti
d75fe9e10c
Fixed the case in which the KCL is not enabled
2013-07-15 22:56:39 +02:00
Francesco Lannutti
0e59399e2a
Avoid to verify Delta-V, since it's included in the KCL Verification
2013-07-15 22:56:39 +02:00
Francesco Lannutti
a93d51a074
Added a conditional compilation switch for the KCL Verification
2013-07-15 22:56:39 +02:00
Francesco Lannutti
e1cd74d3a3
new_kirchhoff-2 branch rebased on master in new_kirchhoff-3 branch
2013-07-15 22:56:39 +02:00
Francesco Lannutti
988cf25c24
Created a New Infrastructure for the KCL Verification based on the Linear and Non-Linear Node Method
2013-07-15 22:56:39 +02:00
Francesco Lannutti
9aaa127643
Fixed the KCL implementation. Now it really works! :)
2013-07-15 22:56:38 +02:00
Francesco Lannutti
115aee5deb
Corrected a bug in the KCL implementation of the BSIM4 model
2013-07-15 22:56:38 +02:00
Francesco Lannutti
b90adc11f1
KCL Formulation Reworked
...
BSIM4 Fvk Reworked (this is not the final formulation)
2013-07-15 22:56:38 +02:00
Francesco Lannutti
1068d8889a
Updated the BSIM3 model with a commented out Matrix-Vector multiplication as reference for the KCL Verification
2013-07-15 22:56:38 +02:00
Francesco Lannutti
4ffa4c73c4
Updated some bsim3 tests to run with the BSIM3 model instead of the BSIMv32 model
2013-07-15 22:56:38 +02:00
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
30126ce7fd
Added examples 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