Francesco Lannutti
0b23419e0f
Move the INP2R changes to the more generic place 'CKTmodCrt' and 'CKTcrtElt'
2018-04-30 01:50:28 +02:00
rlar
d8611aede8
first try dctrcurv.c
2018-04-28 19:36:18 +02:00
Francesco Lannutti
958e209866
Fix concept proposal for DEVsetparam needed for 'alter' and 'resume' command support
2018-04-28 12:29:15 +02:00
Francesco Lannutti
fcb5163a95
Fix the case when CUSPICE has only one model for the Matrix or one model for the RHS
2018-04-23 23:34:13 +02:00
Francesco Lannutti
82b62546f9
Updated the CUSPICE RES model
2018-04-23 22:56:59 +02:00
Francesco Lannutti
df106f2c0a
Fix the clear phase of Matrix and RHS once for all
2018-04-23 20:18:00 +02:00
Francesco Lannutti
40b62d9ac1
Fix the CUDA flag for ISRC model
2018-04-23 20:15:15 +02:00
rlar
3319020547
devices/*, move kind of `enum' defines out of struct definition
2018-04-23 20:15:10 +02:00
rlar
73c9a79c6c
vsrc/isrc, use an explicit #ifdef "PULSE_FUN_TYPES" guard
...
to avoid duplicate definition
2018-04-23 20:15:07 +02:00
rlar
8109b4874e
sensitivity, drop redundant #defines SENS_LIN/OCT/DEC/DEFPERT
...
use SENS_LINEAR/OCTAVE/DECADE/DEFPERTUB instead
2018-04-23 20:15:04 +02:00
rlar
b045c945c9
sensitivity, use numStates and numSenStates instead of hardcoded literals
2018-04-23 20:15:01 +02:00
rlar
dfbce23cae
devices/vbic/vbicsetup.c, bug fix, incorrect states allocation
...
VBICnumSenStates is 10 not 8
2018-04-23 20:14:58 +02:00
rlar
181bc0cdd5
spicelib/devices/*, drop empty destroy functions
2018-04-23 20:14:55 +02:00
rlar
3a014f570e
res/restemp.c, avoid temporary NaN value, (simplify debugging)
...
RESupdate_conduct() may be called several times before all
parameters have been set via RESparam() invocations,
or finally being set to default values in RESsetup()
Especially RESscale might still be 0.0 as well as RESm
thus temporarily creating a NaN in RESupdate_conduct.
This would unnecessarily complicate debugging with enabled
floating point exceptions.
2018-04-23 20:14:51 +02:00
rlar
5cff30f5c4
spicelib/devices/{sw,csw}, unify CKTstates[] access
...
do it the same way as the other devices do
access CKTstates[][slot] via device specific descriptive macros
access CKTstates[] via CKTstate0 CKTstate1 macros
this patch has been checked for object file in-variance with gcc
2018-04-23 20:14:48 +02:00
rlar
c2892f98b7
spicelib/devices/{sw,csw}, cleanup for readability
...
This change is functional invariant, and has been checked
with gcc for object file in-variance.
For the details see the "rewrite-sw" branch
2018-04-23 20:14:45 +02:00
rlar
cde8cd5544
fix rewrite, has_cuda is now part of the gneric GENmodel
2018-04-01 19:27:35 +02:00
rlar
18e8adfc7a
fix incorrect rewrite
2018-03-31 17:32:20 +02:00
Holger Vogt
4aebc862c0
disable pragma #warning for VisualStudio
2018-03-30 12:06:52 +02:00
h_vogt
565faefcc6
add a missing definition of CONSTvt0
2018-03-27 10:00:09 +02:00
h_vogt
c043180fb6
add mssing definition of M_PI
2018-03-27 10:00:08 +02:00
Francesco Lannutti
a2dcdbc972
Added the support for CUDA and non-CUDA models within the same netlist in CUSPICE
...
Added KLU support for '.ic' and '.nodeset' instructions, needed also by CUSPICE
2018-03-27 10:00:08 +02:00
Francesco Lannutti
a4b9168863
Let NGSPICE overwrite Pivoting Tolerance within KLU with PivRel
2018-03-27 10:00:08 +02:00
Francesco Lannutti
0098c008b1
Add the support for '.ic' and '.nodeset' instructions within KLU
2018-03-27 10:00:08 +02:00
Francesco Lannutti
79c6875e3c
Fixed a bug in CKTload regarding CKTdiagGmin. It where added 2 times
2018-03-27 10:00:07 +02:00
Francesco Lannutti
6cda251188
Fixed again the wrapper for libtool for Linux
2018-03-27 10:00:07 +02:00
Francesco Lannutti
1813bc9f90
Added new architectures and fixed a bug for MacOS (Darwin)
2018-03-27 10:00:07 +02:00
rlar
88ab7348b1
bsim4 (4v8), hisimhv2, initialize cuDEVdestroy and DEVtopology slots
2018-03-27 10:00:07 +02:00
Francesco Lannutti
abed2083e1
Fixed a bug in CKTtrunc reduction when there is nothing to reduce
2018-03-27 10:00:06 +02:00
Francesco Lannutti
14f9f9dbbe
Moved Truncation Error Calculation into GPU for CUSPICE
2018-03-27 10:00:06 +02:00
Francesco Lannutti
697bd8ea4f
Fixed a bug in CUSPICE
2018-03-27 10:00:06 +02:00
Francesco Lannutti
c7c2b6bd3f
Fixed a bug in libtool_wrapper_for_cuda.tcl to handle correct compilation of -fPIC objects
2018-03-27 10:00:06 +02:00
Francesco Lannutti
4149ae2462
Whitespaces and cosmetic changes to improve readability
2018-03-27 10:00:06 +02:00
Francesco Lannutti
06846167ce
CUSPICE Integration from scratch
2018-03-27 10:00:05 +02:00
Francesco Lannutti
86a5d92047
drop #ifdef MUTUAL
2018-03-27 10:00:05 +02:00
Francesco Lannutti
1172be10b1
Fixed the KLU binding for BJT
2018-03-27 10:00:05 +02:00
Francesco Lannutti
2453a2e626
Commented out some debug printings
2018-03-27 10:00:05 +02:00
Francesco Lannutti
5d4383a8f2
Fixed the two routines for SPARSE (thx to Marcel Hendrix)
2018-03-27 10:00:05 +02:00
rlar
16b254c93e
(int) casts, applied to a double which just has been limited to INT_MAX
2018-03-27 10:00:05 +02:00
rlar
d4dd943aee
casting, use (int) sizeof(), to swallow some warnings
2018-03-27 10:00:05 +02:00
rlar
786782fda0
use TMALLOC
2018-03-27 10:00:04 +02:00
Francesco Lannutti
8a22b6a096
Handling the general case for an empty CSC matrix during the conversion to CSR format
2018-03-27 10:00:04 +02:00
Francesco Lannutti
d8ea559c92
Ordered the COO format also along the columns to have a correct CSR format
2018-03-27 10:00:04 +02:00
Francesco Lannutti
8ac6093e34
Fixed the AC part of the Sensitivity Analysis
2018-03-27 10:00:04 +02:00
Francesco Lannutti
48114b1e40
Fixed the CSC to CSR conversion for KLU matrix-vector multiplication
2018-03-27 10:00:04 +02:00
Francesco Lannutti
74b6460326
Fixed Sensibility Analysis for KLU - First Trial
2018-03-27 10:00:04 +02:00
Francesco Lannutti
4e42a93ba1
Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported
2018-03-27 10:00:04 +02:00
Francesco Lannutti
5e657b5aa1
Fixed Sensitivity Analysis integration for KLU
2018-03-27 10:00:03 +02:00
Francesco Lannutti
8517337075
Fixed the sign inversion calculation for the determinant of KLU
2018-03-27 10:00:03 +02:00
Francesco Lannutti
9481013fe0
Implement klu_z_print()
2018-03-27 10:00:03 +02:00