Commit Graph

1696 Commits

Author SHA1 Message Date
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 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
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 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 8ac6093e34 Fixed the AC part of the Sensitivity Analysis 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
rlar 91fe96cdc4 fix vsrc for pz analysis 2018-03-27 10:00:03 +02:00
Francesco Lannutti ed17c28db2 other fixes 2018-03-27 10:00:02 +02:00
rlar f0c156c255 Added CPL Model to KLU 2018-03-27 10:00:02 +02:00
Francesco Lannutti d03f3a6180 Added HISIMHV2 Model to KLU 2018-03-27 10:00:01 +02:00
Francesco Lannutti 15be3f39a7 Added ASRC Model to KLU 2018-03-27 10:00:01 +02:00
Francesco Lannutti 95c49cc66b KLU Integration from scratch #7, devices, bsim4/ (which is bsim4v8) 2018-03-27 10:00:01 +02:00
rlar 4dc38b3b29 KLU Integration from scratch #6, devices, bsim4v7/ 2018-03-27 10:00:01 +02:00
Francesco Lannutti 22ed4a4ba3 KLU Integration from scratch #5, devices 2018-03-27 09:49:55 +02:00
Francesco Lannutti 4677aa608c KLU Integration from scratch #4, changed files 2018-03-27 09:48:52 +02:00
rlar 9765358237 typify VECTOR_ALLOC and MATRIX_ALLOC 2018-03-26 23:28:08 +02:00
rlar 6903584e99 asrc/asrcacld.c, bug fix, reciproc tc coefficient 2018-02-25 21:59:15 +01:00
rlar cd1bbf2003 rewrite, use designated initializer for SPICEdev initialisation 2018-02-21 20:02:00 +01:00
rlar 4ec2717079 struct card, #5/6, rewrite from type "card" to "struct card" 2018-02-17 19:15:53 +01:00
rlar 41c0ee45a2 introduce GENinstanceFree() and GENmodelFree()
To abstract away the business of releasing the memory
  of a struct GENmodel or struct GENinstance.
2018-02-17 11:53:07 +01:00
rlar 8c7d7051ae GENmodel, GENinstance, change layout, #4/4, complete the change
currently each and every device specific instance and model structure
  duplicates the memory layout of a struct GENmodel / GENinstance

further the first structure elements behind a GENinstance header
  are reinterpreted as a sort of a generic "node" array.

This business is very error prone, and makes it difficult to
  extend struct GENmodel / struct GENinstance.

This patch makes this business much more bearable.
2018-02-17 11:53:06 +01:00
rlar 2c9bfecbad GENmodel, GENinstance, change layout, #3/4, coccinelle semantic patch 2018-02-17 11:53:05 +01:00
rlar c25aea6815 GENmodel, GENinstance, change layout, #2/4, complete the change
fix the .xml files too
2018-02-17 11:53:03 +01:00
rlar 2dcb79d09c GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch 2018-02-17 11:53:01 +01:00
rlar 4748c92de9 DEVdestroy(), change API, #2/2, complete the change, inclusive CKTdestroy()
loop over DEVmodDelete() and DEVdelete() in CKTdestroy()
  instead of doing this business in the DEVdestroy() functions.

As a consequence, most DEVdestroy() functions
  collapse completely.
2018-02-17 11:52:59 +01:00
rlar 1befa488f6 DEVdestroy(), change API, #1/2, coccinelle semantic patch 2018-02-17 11:52:58 +01:00
rlar b29ad51a6c DEVdestroy(), move code over to DEVmodDelete() and DEVdelete()
This patch itself is not valid until all invokers of DEVdestroy()
  (currently this is CKTdestroy() exclusively)
  are rewritten to invoke DEVmodDelete() and DEVdelete()
2018-02-17 11:52:55 +01:00
rlar 3cd81295a8 DEVmodDelete(), change API, #2/2, complete the change
Instead of searching and then deleting a given device-model,
  just delete the given model.

The search shall be done somewhere else.

Don't free the model struct itself,
  this shall be done by the invoker himself.

Don't free the device instrance list,
  this shall be done by the invoker himself.

As a consequence, most DEVmodDelete() functions
  collapse almost completely.

This change is of no consequence,
  because DEVmodDelete() is currently nowhere used.
2018-02-17 11:52:53 +01:00
rlar b17ee71576 DEVmodDelete(), change API, #1/2, coccinelle semantic patch 2018-02-17 11:52:51 +01:00
rlar 50e9a8c3b6 DEVmodDelete(), extend ASRCdelete() and use it in ASRCmDelete()
rip instance specific cleanup business from the ASRCmDelete() function.
move this to ASRCdelete()
2018-02-17 11:52:49 +01:00
rlar c3ed42f486 DEVdelete(), change API, #2/2, complete the change
Instead of searching and then deleting a given device-instance,
  just delete the given instance.

The search shall be done somewhere else.

Don't free the instance struct itself,
  this shall be done by the invoker.

As a consequence most DEVdelete() functions
  collapse almost completely.

This change is of no consequence,
  because DEVdelete() is currently nowhere used.
2018-02-17 11:52:46 +01:00
rlar e0f1e5a3de DEVdelete(), change API, #1/2, coccinelle semantic patch 2018-02-17 11:52:44 +01:00
rlar a8e440eabe whitespace cleanup, comments cleanup, line wrap 2018-02-14 18:53:30 +01:00
rlar ec4b7ffecd adms/admst/ngspiceMODULE*.c.xml, drop "register" declaration 2018-02-12 17:56:00 +01:00
rlar 57f9804db6 devices/adms/admst/ngspiceMODULEdel.c.xml, bug fix, endless loop
A missing update of "prev" would cause endless looping
  when searching for a device instance.

introduced in commit:
> commit 38e68869a2
> Date:   Wed Mar 1 14:30:24 2006 +0000
>
>     Added mdel, del and dest functions to interface.
2018-02-12 17:55:59 +01:00