rlar
bd7b275b66
rewrite, use enum instead of #define sequences
...
see branch "rewrite-defines2enum"
2018-05-04 20:08:36 +02:00
Francesco Lannutti
94d11fc3bd
Fix the CAP model for 'alter' command
2018-05-02 23:13:03 +02:00
rlar
977b795515
use generic gen.GENcudaIndex ...
...
carefull, this commit is quick and dirty,
created in a half automated way, low confidence.
This is missing in this commit
model->gen.GENinitCUDA
2018-04-30 09:28:57 +02:00
rlar
cff3e65ab2
make res changes more generic
2018-04-30 09:13:53 +02:00
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
fd7757d353
fix commit "VS project files for CUDA"
2018-04-23 20:14:42 +02:00
rlar
22c1fb1bec
fix commit "VS project files for CUDA"
2018-04-23 20:14:38 +02:00
rlar
2c7a5e7fc5
Merge a cleaned up branch into HEAD
2018-04-03 15:09:48 +02:00
Holger Vogt
2d3b17cd8a
disable pragma #warning for VisualStudio
2018-04-03 14:46:02 +02:00
Holger Vogt
a6ef64c89a
Update to the how-to-...
2018-04-03 14:46:02 +02:00
Holger Vogt
1ada413fd3
how-to-ngspice-vstudio.txt, update for use with cuda
2018-04-03 14:46:02 +02:00
Holger Vogt
0c684251de
remove OpenMP entries. OpenMP is not supported.
2018-04-03 14:46:01 +02:00
Holger Vogt
ad5a874257
remove unused
2018-04-03 14:46:01 +02:00
Holger Vogt
c4b8bf17a7
Remove XSPICE from spinit
2018-04-03 14:46:01 +02:00
Holger Vogt
ee406cf34b
Make search path for spinit relative to executable.
2018-04-03 14:46:01 +02:00
Holger Vogt
35b30ac74c
remove old project files which are not supported anymore.
2018-04-03 14:46:01 +02:00
h_vogt
8f2d2a9d9d
no OpneMP support
...
DEbug info only when debug version
use /LTCG for optimized code
2018-04-03 14:46:01 +02:00
h_vogt
56cd13f9d7
enhance compute capability beyond deprecated values:
...
compute_50,sm_50
debug info only when debug version is compiled
2018-04-03 14:46:01 +02:00
h_vogt
e878b526fd
A tiny instruction of compiling ngspice with CUDA using Visual Studio 2015
2018-04-03 14:46:01 +02:00
h_vogt
e4bd850684
VS project files for CUDA
2018-04-03 14:46:00 +02:00
h_vogt
7976dbd563
add a missing definition of CONSTvt0
2018-04-03 14:46:00 +02:00
h_vogt
20beec55d0
add mssing definition of M_PI
2018-04-03 14:46:00 +02:00
h_vogt
adf59f39b2
config.h, disable XSPICE and CIDER
2018-04-03 14:46:00 +02:00
Francesco Lannutti
5676df66a5
explicitly clear has_cuda for all non-CUDA models
2018-04-03 14:46:00 +02:00
Francesco Lannutti
b5763eb0d8
Added the support for CUDA and non-CUDA models within the same netlist in CUSPICE
2018-04-03 14:45:54 +02:00
Francesco Lannutti
a4a3da9dfd
whitespace, indentation for the next commit
2018-04-03 14:45:47 +02:00
Francesco Lannutti
ebfc69f1e0
Let NGSPICE overwrite Pivoting Tolerance within KLU with PivRel
2018-04-03 14:23:26 +02:00
Francesco Lannutti
fd8f43e254
Add the support for '.ic' and '.nodeset' instructions within KLU
2018-04-03 14:23:26 +02:00
Francesco Lannutti
d2109f9e10
Relaxed ABSTOL and pushed GMIN to make c7552 circuit convergence
2018-04-03 14:23:25 +02:00
Francesco Lannutti
7f5cb89ad4
Fixed a bug in CKTload regarding CKTdiagGmin. It where added 2 times
2018-04-03 14:23:25 +02:00
Francesco Lannutti
6a918f1385
Fixed again the wrapper for libtool for Linux
2018-04-03 14:23:25 +02:00
Francesco Lannutti
e632c4a6ab
Fixed configuration for MacOS
2018-04-03 14:23:25 +02:00
Francesco Lannutti
e00553e952
Added new architectures and fixed a bug for MacOS (Darwin)
2018-04-03 14:23:25 +02:00
rlar
740e9ef0aa
cuda test, a bsim dc i(vd) plot
2018-04-03 14:23:25 +02:00
rlar
4690d66909
cuspice testcases, fix inductor values
2018-04-03 14:23:25 +02:00