Browse Source

spicelib/devices/*, drop empty destroy functions

pre-master-46
rlar 8 years ago
parent
commit
d981fb331b
  1. 1
      src/spicelib/devices/asrc/Makefile.am
  2. 1
      src/spicelib/devices/asrc/asrcext.h
  3. 2
      src/spicelib/devices/asrc/asrcinit.c
  4. 17
      src/spicelib/devices/asrc/asrcmdel.c
  5. 2
      src/spicelib/devices/bjt/Makefile.am
  6. 19
      src/spicelib/devices/bjt/bjtdest.c
  7. 2
      src/spicelib/devices/bjt/bjtext.h
  8. 4
      src/spicelib/devices/bjt/bjtinit.c
  9. 23
      src/spicelib/devices/bjt/bjtmdel.c
  10. 3
      src/spicelib/devices/bsim1/Makefile.am
  11. 18
      src/spicelib/devices/bsim1/b1del.c
  12. 14
      src/spicelib/devices/bsim1/b1dest.c
  13. 17
      src/spicelib/devices/bsim1/b1mdel.c
  14. 3
      src/spicelib/devices/bsim1/bsim1ext.h
  15. 6
      src/spicelib/devices/bsim1/bsim1init.c
  16. 3
      src/spicelib/devices/bsim2/Makefile.am
  17. 18
      src/spicelib/devices/bsim2/b2del.c
  18. 14
      src/spicelib/devices/bsim2/b2dest.c
  19. 17
      src/spicelib/devices/bsim2/b2mdel.c
  20. 3
      src/spicelib/devices/bsim2/bsim2ext.h
  21. 6
      src/spicelib/devices/bsim2/bsim2init.c
  22. 2
      src/spicelib/devices/bsim3/Makefile.am
  23. 24
      src/spicelib/devices/bsim3/b3del.c
  24. 19
      src/spicelib/devices/bsim3/b3dest.c
  25. 2
      src/spicelib/devices/bsim3/bsim3ext.h
  26. 4
      src/spicelib/devices/bsim3/bsim3init.c
  27. 3
      src/spicelib/devices/bsim3soi_dd/Makefile.am
  28. 25
      src/spicelib/devices/bsim3soi_dd/b3soidddel.c
  29. 21
      src/spicelib/devices/bsim3soi_dd/b3soidddest.c
  30. 3
      src/spicelib/devices/bsim3soi_dd/b3soiddext.h
  31. 6
      src/spicelib/devices/bsim3soi_dd/b3soiddinit.c
  32. 25
      src/spicelib/devices/bsim3soi_dd/b3soiddmdel.c
  33. 3
      src/spicelib/devices/bsim3soi_fd/Makefile.am
  34. 25
      src/spicelib/devices/bsim3soi_fd/b3soifddel.c
  35. 21
      src/spicelib/devices/bsim3soi_fd/b3soifddest.c
  36. 3
      src/spicelib/devices/bsim3soi_fd/b3soifdext.h
  37. 6
      src/spicelib/devices/bsim3soi_fd/b3soifdinit.c
  38. 24
      src/spicelib/devices/bsim3soi_fd/b3soifdmdel.c
  39. 3
      src/spicelib/devices/bsim3soi_pd/Makefile.am
  40. 25
      src/spicelib/devices/bsim3soi_pd/b3soipddel.c
  41. 21
      src/spicelib/devices/bsim3soi_pd/b3soipddest.c
  42. 3
      src/spicelib/devices/bsim3soi_pd/b3soipdext.h
  43. 6
      src/spicelib/devices/bsim3soi_pd/b3soipdinit.c
  44. 24
      src/spicelib/devices/bsim3soi_pd/b3soipdmdel.c
  45. 3
      src/spicelib/devices/bsim3v0/Makefile.am
  46. 19
      src/spicelib/devices/bsim3v0/b3v0del.c
  47. 15
      src/spicelib/devices/bsim3v0/b3v0dest.c
  48. 18
      src/spicelib/devices/bsim3v0/b3v0mdel.c
  49. 3
      src/spicelib/devices/bsim3v0/bsim3v0ext.h
  50. 6
      src/spicelib/devices/bsim3v0/bsim3v0init.c
  51. 3
      src/spicelib/devices/bsim3v1/Makefile.am
  52. 25
      src/spicelib/devices/bsim3v1/b3v1del.c
  53. 21
      src/spicelib/devices/bsim3v1/b3v1dest.c
  54. 24
      src/spicelib/devices/bsim3v1/b3v1mdel.c
  55. 3
      src/spicelib/devices/bsim3v1/bsim3v1ext.h
  56. 6
      src/spicelib/devices/bsim3v1/bsim3v1init.c
  57. 2
      src/spicelib/devices/bsim3v32/Makefile.am
  58. 25
      src/spicelib/devices/bsim3v32/b3v32del.c
  59. 20
      src/spicelib/devices/bsim3v32/b3v32dest.c
  60. 2
      src/spicelib/devices/bsim3v32/bsim3v32ext.h
  61. 4
      src/spicelib/devices/bsim3v32/bsim3v32init.c
  62. 2
      src/spicelib/devices/bsim4/Makefile.am
  63. 73
      src/spicelib/devices/bsim4/b4del.c
  64. 69
      src/spicelib/devices/bsim4/b4dest.c
  65. 2
      src/spicelib/devices/bsim4/bsim4ext.h
  66. 4
      src/spicelib/devices/bsim4/bsim4init.c
  67. 2
      src/spicelib/devices/bsim4v5/Makefile.am
  68. 23
      src/spicelib/devices/bsim4v5/b4v5del.c
  69. 19
      src/spicelib/devices/bsim4v5/b4v5dest.c
  70. 2
      src/spicelib/devices/bsim4v5/bsim4v5ext.h
  71. 4
      src/spicelib/devices/bsim4v5/bsim4v5init.c
  72. 2
      src/spicelib/devices/bsim4v6/Makefile.am
  73. 25
      src/spicelib/devices/bsim4v6/b4v6del.c
  74. 21
      src/spicelib/devices/bsim4v6/b4v6dest.c
  75. 2
      src/spicelib/devices/bsim4v6/bsim4v6ext.h
  76. 4
      src/spicelib/devices/bsim4v6/bsim4v6init.c
  77. 2
      src/spicelib/devices/bsim4v7/Makefile.am
  78. 25
      src/spicelib/devices/bsim4v7/b4v7del.c
  79. 21
      src/spicelib/devices/bsim4v7/b4v7dest.c
  80. 2
      src/spicelib/devices/bsim4v7/bsim4v7ext.h
  81. 4
      src/spicelib/devices/bsim4v7/bsim4v7init.c
  82. 2
      src/spicelib/devices/bsimsoi/Makefile.am
  83. 28
      src/spicelib/devices/bsimsoi/b4soidel.c
  84. 25
      src/spicelib/devices/bsimsoi/b4soidest.c
  85. 2
      src/spicelib/devices/bsimsoi/b4soiext.h
  86. 4
      src/spicelib/devices/bsimsoi/b4soiinit.c
  87. 3
      src/spicelib/devices/cap/Makefile.am
  88. 18
      src/spicelib/devices/cap/capdel.c
  89. 15
      src/spicelib/devices/cap/capdest.c
  90. 3
      src/spicelib/devices/cap/capext.h
  91. 6
      src/spicelib/devices/cap/capinit.c
  92. 18
      src/spicelib/devices/cap/capmdel.c
  93. 3
      src/spicelib/devices/cccs/Makefile.am
  94. 17
      src/spicelib/devices/cccs/cccsdel.c
  95. 14
      src/spicelib/devices/cccs/cccsdest.c
  96. 3
      src/spicelib/devices/cccs/cccsext.h
  97. 6
      src/spicelib/devices/cccs/cccsinit.c
  98. 17
      src/spicelib/devices/cccs/cccsmdel.c
  99. 3
      src/spicelib/devices/ccvs/Makefile.am
  100. 17
      src/spicelib/devices/ccvs/ccvsdel.c

1
src/spicelib/devices/asrc/Makefile.am

@ -16,7 +16,6 @@ libasrc_la_SOURCES = \
asrcinit.c \
asrcinit.h \
asrcload.c \
asrcmdel.c \
asrcpar.c \
asrcpzld.c \
asrcset.c \

1
src/spicelib/devices/asrc/asrcext.h

@ -9,7 +9,6 @@ extern int ASRCdelete(GENinstance *);
extern void ASRCdestroy(void);
extern int ASRCfindBr(CKTcircuit *, GENmodel *, IFuid);
extern int ASRCload(GENmodel *, CKTcircuit *);
extern int ASRCmDelete(GENmodel *);
extern int ASRCparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int ASRCpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
extern int ASRCacLoad(GENmodel *, CKTcircuit *);

2
src/spicelib/devices/asrc/asrcinit.c

@ -43,7 +43,7 @@ SPICEdev ASRCinfo = {
.DEVacLoad = ASRCacLoad,
.DEVaccept = NULL,
.DEVdestroy = ASRCdestroy,
.DEVmodDelete = ASRCmDelete,
.DEVmodDelete = NULL,
.DEVdelete = ASRCdelete,
.DEVsetic = NULL,
.DEVask = ASRCask,

17
src/spicelib/devices/asrc/asrcmdel.c

@ -1,17 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1987 Kanwar Jit Singh
**********/
#include "ngspice/ngspice.h"
#include "asrcdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
ASRCmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

2
src/spicelib/devices/bjt/Makefile.am

@ -9,7 +9,6 @@ libbjt_la_SOURCES = \
bjtconv.c \
bjtdefs.h \
bjtdel.c \
bjtdest.c \
bjtdisto.c \
bjtdset.c \
bjtdset.h \
@ -20,7 +19,6 @@ libbjt_la_SOURCES = \
bjtitf.h \
bjtload.c \
bjtmask.c \
bjtmdel.c \
bjtmpar.c \
bjtnoise.c \
bjtparam.c \

19
src/spicelib/devices/bjt/bjtdest.c

@ -1,19 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
/*
* This routine deletes all BJTs from the circuit and frees
* all storage they were using.
*/
#include "ngspice/ngspice.h"
#include "bjtdefs.h"
#include "ngspice/suffix.h"
void
BJTdestroy(void)
{
}

2
src/spicelib/devices/bjt/bjtext.h

@ -11,11 +11,9 @@ extern int BJTacLoad(GENmodel *,CKTcircuit*);
extern int BJTask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BJTconvTest(GENmodel*,CKTcircuit*);
extern int BJTdelete(GENinstance*);
extern void BJTdestroy(void);
extern int BJTgetic(GENmodel*,CKTcircuit*);
extern int BJTload(GENmodel*,CKTcircuit*);
extern int BJTmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
extern int BJTmDelete(GENmodel*);
extern int BJTmParam(int,IFvalue*,GENmodel*);
extern int BJTparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int BJTpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);

4
src/spicelib/devices/bjt/bjtinit.c

@ -42,8 +42,8 @@ SPICEdev BJTinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = BJTacLoad,
.DEVaccept = NULL,
.DEVdestroy = BJTdestroy,
.DEVmodDelete = BJTmDelete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = BJTdelete,
.DEVsetic = BJTgetic,
.DEVask = BJTask,

23
src/spicelib/devices/bjt/bjtmdel.c

@ -1,23 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
/*
* This routine deletes a BJT model from the circuit and frees
* the storage it was using.
* returns an error if the model has instances
*/
#include "ngspice/ngspice.h"
#include "bjtdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
BJTmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim1/Makefile.am

@ -7,15 +7,12 @@ libbsim1_la_SOURCES = \
b1acld.c \
b1ask.c \
b1cvtest.c \
b1del.c \
b1dest.c \
b1disto.c \
b1dset.c \
b1eval.c \
b1getic.c \
b1ld.c \
b1mask.c \
b1mdel.c \
b1moscap.c \
b1mpar.c \
b1par.c \

18
src/spicelib/devices/bsim1/b1del.c

@ -1,18 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Hong J. Park, Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "bsim1def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
B1delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

14
src/spicelib/devices/bsim1/b1dest.c

@ -1,14 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Hong J. Park, Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "bsim1def.h"
#include "ngspice/suffix.h"
void
B1destroy(void)
{
}

17
src/spicelib/devices/bsim1/b1mdel.c

@ -1,17 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Hong J. Park, Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "bsim1def.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
B1mDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim1/bsim1ext.h

@ -8,12 +8,9 @@ Modified: 2000 AlansFixes
extern int B1acLoad(GENmodel *,CKTcircuit*);
extern int B1ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B1convTest(GENmodel *,CKTcircuit*);
extern int B1delete(GENinstance*);
extern void B1destroy(void);
extern int B1getic(GENmodel*,CKTcircuit*);
extern int B1load(GENmodel*,CKTcircuit*);
extern int B1mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
extern int B1mDelete(GENmodel*);
extern int B1mParam(int,IFvalue*,GENmodel*);
extern void B1mosCap(CKTcircuit*, double, double, double, double*,
double, double, double, double, double, double,

6
src/spicelib/devices/bsim1/bsim1init.c

@ -42,9 +42,9 @@ SPICEdev B1info = {
.DEVfindBranch = NULL,
.DEVacLoad = B1acLoad,
.DEVaccept = NULL,
.DEVdestroy = B1destroy,
.DEVmodDelete = B1mDelete,
.DEVdelete = B1delete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = B1getic,
.DEVask = B1ask,
.DEVmodAsk = B1mAsk,

3
src/spicelib/devices/bsim2/Makefile.am

@ -7,13 +7,10 @@ libbsim2_la_SOURCES = \
b2acld.c \
b2ask.c \
b2cvtest.c \
b2del.c \
b2dest.c \
b2eval.c \
b2getic.c \
b2ld.c \
b2mask.c \
b2mdel.c \
b2moscap.c \
b2mpar.c \
b2noi.c \

18
src/spicelib/devices/bsim2/b2del.c

@ -1,18 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Hong J. Park, Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "bsim2def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
B2delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

14
src/spicelib/devices/bsim2/b2dest.c

@ -1,14 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Hong J. Park, Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "bsim2def.h"
#include "ngspice/suffix.h"
void
B2destroy(void)
{
}

17
src/spicelib/devices/bsim2/b2mdel.c

@ -1,17 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Hong J. Park, Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "bsim2def.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
B2mDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim2/bsim2ext.h

@ -6,12 +6,9 @@ Author: 1988 Min-Chie Jeng, Hong June Park, Thomas L. Quarles
extern int B2acLoad(GENmodel *,CKTcircuit*);
extern int B2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B2convTest(GENmodel *,CKTcircuit*);
extern int B2delete(GENinstance*);
extern void B2destroy(void);
extern int B2getic(GENmodel*,CKTcircuit*);
extern int B2load(GENmodel*,CKTcircuit*);
extern int B2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
extern int B2mDelete(GENmodel*);
extern int B2mParam(int,IFvalue*,GENmodel*);
extern void B2mosCap(CKTcircuit*, double, double, double, double*,
double, double, double, double, double, double,

6
src/spicelib/devices/bsim2/bsim2init.c

@ -42,9 +42,9 @@ SPICEdev B2info = {
.DEVfindBranch = NULL,
.DEVacLoad = B2acLoad,
.DEVaccept = NULL,
.DEVdestroy = B2destroy,
.DEVmodDelete = B2mDelete,
.DEVdelete = B2delete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = B2getic,
.DEVask = B2ask,
.DEVmodAsk = B2mAsk,

2
src/spicelib/devices/bsim3/Makefile.am

@ -8,8 +8,6 @@ libbsim3_la_SOURCES = \
b3ask.c \
b3check.c \
b3cvtest.c \
b3del.c \
b3dest.c \
b3getic.c \
b3ld.c \
b3mask.c \

24
src/spicelib/devices/bsim3/b3del.c

@ -1,24 +0,0 @@
/**** BSIM3v3.3.0, Released by Xuemei Xi 07/29/2005 ****/
/**********
* Copyright 2004 Regents of the University of California. All rights reserved.
* File: b3del.c of BSIM3v3.3.0
* Author: 1995 Min-Chie Jeng and Mansun Chan
* Author: 1997-1999 Weidong Liu.
* Author: 2001 Xuemei Xi
* Modified by Xuemei Xi, 10/05, 12/14, 2001.
**********/
#include "ngspice/ngspice.h"
#include "bsim3def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM3delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

19
src/spicelib/devices/bsim3/b3dest.c

@ -1,19 +0,0 @@
/**** BSIM3v3.3.0, Released by Xuemei Xi 07/29/2005 ****/
/**********
* Copyright 2004 Regents of the University of California. All rights reserved.
* File: b3dest.c of BSIM3v3.3.0
* Author: 1995 Min-Chie Jeng and Mansun Chan.
* Author: 1997-1999 Weidong Liu.
* Author: 2001 Xuemei Xi
**********/
#include "ngspice/ngspice.h"
#include "bsim3def.h"
#include "ngspice/suffix.h"
void
BSIM3destroy(void)
{
}

2
src/spicelib/devices/bsim3/bsim3ext.h

@ -8,8 +8,6 @@ File: bsim3ext.h
extern int BSIM3acLoad(GENmodel *,CKTcircuit*);
extern int BSIM3ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM3convTest(GENmodel *,CKTcircuit*);
extern int BSIM3delete(GENinstance*);
extern void BSIM3destroy(void);
extern int BSIM3getic(GENmodel*,CKTcircuit*);
extern int BSIM3load(GENmodel*,CKTcircuit*);
extern int BSIM3mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsim3/bsim3init.c

@ -42,9 +42,9 @@ SPICEdev BSIM3info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM3destroy,
.DEVdestroy = NULL,
.DEVmodDelete = BSIM3mDelete,
.DEVdelete = BSIM3delete,
.DEVdelete = NULL,
.DEVsetic = BSIM3getic,
.DEVask = BSIM3ask,
.DEVmodAsk = BSIM3mAsk,

3
src/spicelib/devices/bsim3soi_dd/Makefile.am

@ -8,12 +8,9 @@ libbsim3soidd_la_SOURCES = \
b3soiddask.c \
b3soiddcheck.c \
b3soiddcvtest.c \
b3soidddel.c \
b3soidddest.c \
b3soiddgetic.c \
b3soiddld.c \
b3soiddmask.c \
b3soiddmdel.c \
b3soiddmpar.c \
b3soiddnoi.c \
b3soiddpar.c \

25
src/spicelib/devices/bsim3soi_dd/b3soidddel.c

@ -1,25 +0,0 @@
/**********
Copyright 1999 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
File: b3soidddel.c 98/5/01
Modified by Paolo Nenzi 2002
**********/
/*
* Revision 2.1 99/9/27 Pin Su
* BSIMDD2.1 release
*/
#include "ngspice/ngspice.h"
#include "b3soidddef.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
B3SOIDDdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

21
src/spicelib/devices/bsim3soi_dd/b3soidddest.c

@ -1,21 +0,0 @@
/**********
Copyright 1999 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
File: b3soidddest.c 98/5/01
Modified by Paolo Nenzi 2002
**********/
/*
* Revision 2.1 99/9/27 Pin Su
* BSIMDD2.1 release
*/
#include "ngspice/ngspice.h"
#include "b3soidddef.h"
#include "ngspice/suffix.h"
void
B3SOIDDdestroy(void)
{
}

3
src/spicelib/devices/bsim3soi_dd/b3soiddext.h

@ -8,12 +8,9 @@ Modifed by Paolo Nenzi 2002
extern int B3SOIDDacLoad(GENmodel *,CKTcircuit*);
extern int B3SOIDDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B3SOIDDconvTest(GENmodel *,CKTcircuit*);
extern int B3SOIDDdelete(GENinstance*);
extern void B3SOIDDdestroy(void);
extern int B3SOIDDgetic(GENmodel*,CKTcircuit*);
extern int B3SOIDDload(GENmodel*,CKTcircuit*);
extern int B3SOIDDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
extern int B3SOIDDmDelete(GENmodel*);
extern int B3SOIDDmParam(int,IFvalue*,GENmodel*);
extern void B3SOIDDmosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,

6
src/spicelib/devices/bsim3soi_dd/b3soiddinit.c

@ -40,9 +40,9 @@ SPICEdev B3SOIDDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B3SOIDDacLoad,
.DEVaccept = NULL,
.DEVdestroy = B3SOIDDdestroy,
.DEVmodDelete = B3SOIDDmDelete,
.DEVdelete = B3SOIDDdelete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = B3SOIDDgetic,
.DEVask = B3SOIDDask,
.DEVmodAsk = B3SOIDDmAsk,

25
src/spicelib/devices/bsim3soi_dd/b3soiddmdel.c

@ -1,25 +0,0 @@
/**********
Copyright 1999 Regents of the University of California. All rights reserved.
Author: Weidong Liu and Pin Su Feb 1999
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
File: b3soiddmdel.c 98/5/01
Modified by Paolo Nenzi 2002
**********/
/*
* Revision 2.1 99/9/27 Pin Su
* BSIMDD2.1 release
*/
#include "ngspice/ngspice.h"
#include "b3soidddef.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
B3SOIDDmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim3soi_fd/Makefile.am

@ -8,12 +8,9 @@ libbsim3soifd_la_SOURCES = \
b3soifdask.c \
b3soifdcheck.c \
b3soifdcvtest.c \
b3soifddel.c \
b3soifddest.c \
b3soifdgetic.c \
b3soifdld.c \
b3soifdmask.c \
b3soifdmdel.c \
b3soifdmpar.c \
b3soifdnoi.c \
b3soifdpar.c \

25
src/spicelib/devices/bsim3soi_fd/b3soifddel.c

@ -1,25 +0,0 @@
/**********
Copyright 1999 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
Modified by Paolo Nenzi 2002
File: b3soifddel.c 98/5/01
**********/
/*
* Revision 2.1 99/9/27 Pin Su
* BSIMFD2.1 release
*/
#include "ngspice/ngspice.h"
#include "b3soifddef.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
B3SOIFDdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

21
src/spicelib/devices/bsim3soi_fd/b3soifddest.c

@ -1,21 +0,0 @@
/**********
Copyright 1999 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
Modified by Paolo Nenzi 2002
File: b3soifddest.c 98/5/01
**********/
/*
* Revision 2.1 99/9/27 Pin Su
* BSIMFD2.1 release
*/
#include "ngspice/ngspice.h"
#include "b3soifddef.h"
#include "ngspice/suffix.h"
void
B3SOIFDdestroy(void)
{
}

3
src/spicelib/devices/bsim3soi_fd/b3soifdext.h

@ -8,12 +8,9 @@ File: b3soifdext.h
extern int B3SOIFDacLoad(GENmodel *,CKTcircuit*);
extern int B3SOIFDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B3SOIFDconvTest(GENmodel *,CKTcircuit*);
extern int B3SOIFDdelete(GENinstance*);
extern void B3SOIFDdestroy(void);
extern int B3SOIFDgetic(GENmodel*,CKTcircuit*);
extern int B3SOIFDload(GENmodel*,CKTcircuit*);
extern int B3SOIFDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
extern int B3SOIFDmDelete(GENmodel*);
extern int B3SOIFDmParam(int,IFvalue*,GENmodel*);
extern void B3SOIFDmosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,

6
src/spicelib/devices/bsim3soi_fd/b3soifdinit.c

@ -40,9 +40,9 @@ SPICEdev B3SOIFDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B3SOIFDacLoad,
.DEVaccept = NULL,
.DEVdestroy = B3SOIFDdestroy,
.DEVmodDelete = B3SOIFDmDelete,
.DEVdelete = B3SOIFDdelete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = B3SOIFDgetic,
.DEVask = B3SOIFDask,
.DEVmodAsk = B3SOIFDmAsk,

24
src/spicelib/devices/bsim3soi_fd/b3soifdmdel.c

@ -1,24 +0,0 @@
/**********
Copyright 1999 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
Modified by Paolo Nenzi 2002
File: b3soifdmdel.c 98/5/01
**********/
/*
* Revision 2.1 99/9/27 Pin Su
* BSIMFD2.1 release
*/
#include "ngspice/ngspice.h"
#include "b3soifddef.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
B3SOIFDmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim3soi_pd/Makefile.am

@ -8,12 +8,9 @@ libbsim3soipd_la_SOURCES = \
b3soipdask.c \
b3soipdcheck.c \
b3soipdcvtest.c \
b3soipddel.c \
b3soipddest.c \
b3soipdgetic.c \
b3soipdld.c \
b3soipdmask.c \
b3soipdmdel.c \
b3soipdmpar.c \
b3soipdnoi.c \
b3soipdpar.c \

25
src/spicelib/devices/bsim3soi_pd/b3soipddel.c

@ -1,25 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
File: b3soipddel.c 98/5/01
Modified by Paolo Nenzi 2002
**********/
/*
* Revision 2.2.3 02/3/5 Pin Su
* BSIMPD2.2.3 release
*/
#include "ngspice/ngspice.h"
#include "b3soipddef.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
B3SOIPDdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

21
src/spicelib/devices/bsim3soi_pd/b3soipddest.c

@ -1,21 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
File: b3soipddest.c 98/5/01
Modified by Paolo Nenzi 2002
**********/
/*
* Revision 2.2.3 02/3/5 Pin Su
* BSIMPD2.2.3 release
*/
#include "ngspice/ngspice.h"
#include "b3soipddef.h"
#include "ngspice/suffix.h"
void
B3SOIPDdestroy(void)
{
}

3
src/spicelib/devices/bsim3soi_pd/b3soipdext.h

@ -8,12 +8,9 @@ Modified by Paolo Nenzi 2002
extern int B3SOIPDacLoad(GENmodel *,CKTcircuit*);
extern int B3SOIPDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B3SOIPDconvTest(GENmodel *,CKTcircuit*);
extern int B3SOIPDdelete(GENinstance*);
extern void B3SOIPDdestroy(void);
extern int B3SOIPDgetic(GENmodel*,CKTcircuit*);
extern int B3SOIPDload(GENmodel*,CKTcircuit*);
extern int B3SOIPDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
extern int B3SOIPDmDelete(GENmodel*);
extern int B3SOIPDmParam(int,IFvalue*,GENmodel*);
extern void B3SOIPDmosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,

6
src/spicelib/devices/bsim3soi_pd/b3soipdinit.c

@ -41,9 +41,9 @@ SPICEdev B3SOIPDinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B3SOIPDacLoad,
.DEVaccept = NULL,
.DEVdestroy = B3SOIPDdestroy,
.DEVmodDelete = B3SOIPDmDelete,
.DEVdelete = B3SOIPDdelete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = B3SOIPDgetic,
.DEVask = B3SOIPDask,
.DEVmodAsk = B3SOIPDmAsk,

24
src/spicelib/devices/bsim3soi_pd/b3soipdmdel.c

@ -1,24 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
File: b3soipdmdel.c 98/5/01
Modified by Paolo Nenzi 2002
**********/
/*
* Revision 2.2.3 02/3/5 Pin Su
* BSIMPD2.2.3 release
*/
#include "ngspice/ngspice.h"
#include "b3soipddef.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
B3SOIPDmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim3v0/Makefile.am

@ -7,12 +7,9 @@ libbsim3v0_la_SOURCES = \
b3v0acld.c \
b3v0ask.c \
b3v0cvtest.c \
b3v0del.c \
b3v0dest.c \
b3v0getic.c \
b3v0ld.c \
b3v0mask.c \
b3v0mdel.c \
b3v0mpar.c \
b3v0noi.c \
b3v0par.c \

19
src/spicelib/devices/bsim3v0/b3v0del.c

@ -1,19 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1995 Min-Chie Jeng and Mansun Chan.
File: b3v0del.c
**********/
#include "ngspice/ngspice.h"
#include "bsim3v0def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM3v0delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

15
src/spicelib/devices/bsim3v0/b3v0dest.c

@ -1,15 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1995 Min-Chie Jeng and Mansun Chan.
File: b3v0dest.c
**********/
#include "ngspice/ngspice.h"
#include "bsim3v0def.h"
#include "ngspice/suffix.h"
void
BSIM3v0destroy(void)
{
}

18
src/spicelib/devices/bsim3v0/b3v0mdel.c

@ -1,18 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1995 Min-Chie Jeng and Mansun Chan.
File: b3v0mdel.c
**********/
#include "ngspice/ngspice.h"
#include "bsim3v0def.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
BSIM3v0mDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim3v0/bsim3v0ext.h

@ -7,12 +7,9 @@ File: bsim3v0ext.h
extern int BSIM3v0acLoad(GENmodel *,CKTcircuit*);
extern int BSIM3v0ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM3v0convTest(GENmodel *,CKTcircuit*);
extern int BSIM3v0delete(GENinstance*);
extern void BSIM3v0destroy(void);
extern int BSIM3v0getic(GENmodel*,CKTcircuit*);
extern int BSIM3v0load(GENmodel*,CKTcircuit*);
extern int BSIM3v0mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
extern int BSIM3v0mDelete(GENmodel*);
extern int BSIM3v0mParam(int,IFvalue*,GENmodel*);
extern void BSIM3v0mosCap(CKTcircuit*, double, double, double, double,
double, double, double, double, double, double, double,

6
src/spicelib/devices/bsim3v0/bsim3v0init.c

@ -41,9 +41,9 @@ SPICEdev B3v0info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3v0acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM3v0destroy,
.DEVmodDelete = BSIM3v0mDelete,
.DEVdelete = BSIM3v0delete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = BSIM3v0getic,
.DEVask = BSIM3v0ask,
.DEVmodAsk = BSIM3v0mAsk,

3
src/spicelib/devices/bsim3v1/Makefile.am

@ -8,12 +8,9 @@ libbsim3v1_la_SOURCES = \
b3v1ask.c \
b3v1check.c \
b3v1cvtest.c \
b3v1del.c \
b3v1dest.c \
b3v1getic.c \
b3v1ld.c \
b3v1mask.c \
b3v1mdel.c \
b3v1mpar.c \
b3v1noi.c \
b3v1par.c \

25
src/spicelib/devices/bsim3v1/b3v1del.c

@ -1,25 +0,0 @@
/**********
* Copyright 1990 Regents of the University of California. All rights reserved.
* File: b3v1del.c
* Author: 1995 Min-Chie Jeng and Mansun Chan.
* Modified by Paolo Nenzi 2002
**********/
/*
* Release Notes:
* BSIM3v3.1, Released by yuhua 96/12/08
*/
#include "ngspice/ngspice.h"
#include "bsim3v1def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM3v1delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

21
src/spicelib/devices/bsim3v1/b3v1dest.c

@ -1,21 +0,0 @@
/**********
* Copyright 1990 Regents of the University of California. All rights reserved.
* File: b3v1dest.c
* Author: 1995 Min-Chie Jeng and Mansun Chan.
* Modified by Paolo Nenzi 2002
**********/
/*
* Release Notes:
* BSIM3v3.1, Released by yuhua 96/12/08
*/
#include "ngspice/ngspice.h"
#include "bsim3v1def.h"
#include "ngspice/suffix.h"
void
BSIM3v1destroy(void)
{
}

24
src/spicelib/devices/bsim3v1/b3v1mdel.c

@ -1,24 +0,0 @@
/**********
* Copyright 1990 Regents of the University of California. All rights reserved.
* File: b3v1mdel.c
* Author: 1995 Min-Chie Jeng and Mansun Chan.
* Modified by Paolo Nenzi 2002
**********/
/*
* Release Notes:
* BSIM3v3.1, Released by yuhua 96/12/08
*/
#include "ngspice/ngspice.h"
#include "bsim3v1def.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
BSIM3v1mDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/bsim3v1/bsim3v1ext.h

@ -8,12 +8,9 @@ File: bsim3v1ext.h
extern int BSIM3v1acLoad(GENmodel *, CKTcircuit *);
extern int BSIM3v1ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
extern int BSIM3v1convTest(GENmodel *, CKTcircuit *);
extern int BSIM3v1delete(GENinstance *);
extern void BSIM3v1destroy(void);
extern int BSIM3v1getic(GENmodel *, CKTcircuit *);
extern int BSIM3v1load(GENmodel *, CKTcircuit *);
extern int BSIM3v1mAsk(CKTcircuit *, GENmodel *, int, IFvalue *);
extern int BSIM3v1mDelete(GENmodel *);
extern int BSIM3v1mParam(int, IFvalue *, GENmodel *);
extern void BSIM3v1mosCap(CKTcircuit *, double, double, double, double,
double, double, double, double, double, double, double,

6
src/spicelib/devices/bsim3v1/bsim3v1init.c

@ -41,9 +41,9 @@ SPICEdev BSIM3v1info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3v1acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM3v1destroy,
.DEVmodDelete = BSIM3v1mDelete,
.DEVdelete = BSIM3v1delete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = BSIM3v1getic,
.DEVask = BSIM3v1ask,
.DEVmodAsk = BSIM3v1mAsk,

2
src/spicelib/devices/bsim3v32/Makefile.am

@ -8,8 +8,6 @@ libbsim3v32_la_SOURCES = \
b3v32ask.c \
b3v32check.c \
b3v32cvtest.c \
b3v32del.c \
b3v32dest.c \
b3v32getic.c \
b3v32ld.c \
b3v32mask.c \

25
src/spicelib/devices/bsim3v32/b3v32del.c

@ -1,25 +0,0 @@
/**** BSIM3v3.2.4, Released by Xuemei Xi 12/14/2001 ****/
/**********
* Copyright 2001 Regents of the University of California. All rights reserved.
* File: b3del.c of BSIM3v3.2.4
* Author: 1995 Min-Chie Jeng and Mansun Chan
* Author: 1997-1999 Weidong Liu.
* Author: 2001 Xuemei Xi
* Modified by Xuemei Xi, 10/05, 12/14, 2001.
* Modified by Paolo Nenzi 2002
**********/
#include "ngspice/ngspice.h"
#include "bsim3v32def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM3v32delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

20
src/spicelib/devices/bsim3v32/b3v32dest.c

@ -1,20 +0,0 @@
/**** BSIM3v3.2.4, Released by Xuemei Xi 12/14/2001 ****/
/**********
* Copyright 2001 Regents of the University of California. All rights reserved.
* File: b3dest.c of BSIM3v3.2.4
* Author: 1995 Min-Chie Jeng and Mansun Chan.
* Author: 1997-1999 Weidong Liu.
* Author: 2001 Xuemei Xi
* Modified by Paolo Nenzi 2002
**********/
#include "ngspice/ngspice.h"
#include "bsim3v32def.h"
#include "ngspice/suffix.h"
void
BSIM3v32destroy (void)
{
}

2
src/spicelib/devices/bsim3v32/bsim3v32ext.h

@ -9,8 +9,6 @@ File: bsim3ext.h
extern int BSIM3v32acLoad(GENmodel *,CKTcircuit*);
extern int BSIM3v32ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM3v32convTest(GENmodel *,CKTcircuit*);
extern int BSIM3v32delete(GENinstance*);
extern void BSIM3v32destroy(void);
extern int BSIM3v32getic(GENmodel*,CKTcircuit*);
extern int BSIM3v32load(GENmodel*,CKTcircuit*);
extern int BSIM3v32mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsim3v32/bsim3v32init.c

@ -42,9 +42,9 @@ SPICEdev BSIM3v32info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM3v32acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM3v32destroy,
.DEVdestroy = NULL,
.DEVmodDelete = BSIM3v32mDelete,
.DEVdelete = BSIM3v32delete,
.DEVdelete = NULL,
.DEVsetic = BSIM3v32getic,
.DEVask = BSIM3v32ask,
.DEVmodAsk = BSIM3v32mAsk,

2
src/spicelib/devices/bsim4/Makefile.am

@ -8,8 +8,6 @@ libbsim4_la_SOURCES = \
b4ask.c \
b4check.c \
b4cvtest.c \
b4del.c \
b4dest.c \
b4geo.c \
b4getic.c \
b4ld.c \

73
src/spicelib/devices/bsim4/b4del.c

@ -1,73 +0,0 @@
/* ******************************************************************************
* BSIM4 4.8.1 released by Chetan Kumar Dabhi 2/15/2017 *
* BSIM4 Model Equations *
******************************************************************************
******************************************************************************
* Copyright 2017 Regents of the University of California. *
* All rights reserved. *
* *
* Project Director: Prof. Chenming Hu. *
* Authors: Gary W. Ng, Weidong Liu, Xuemei Xi, Mohan Dunga, Wenwei Yang *
* Ali Niknejad, Shivendra Singh Parihar, Chetan Kumar Dabhi *
* Yogesh Singh Chauhan, Sayeef Salahuddin, Chenming Hu *
******************************************************************************
******************************************************************************
* CMC In-Code Statement *
* *
* The Developer agrees that the following statement will appear in the *
* model code that has been adopted as a CMC Standard. *
* *
* Software is distributed as is, completely without warranty or service *
* support. The University of California and its employees are not liable *
* for the condition or performance of the software. *
* *
* The University of California owns the copyright and grants users a *
* perpetual, irrevocable, worldwide, non-exclusive, royalty-free license *
* with respect to the software as set forth below. *
* *
* The University of California hereby disclaims all implied warranties. *
* *
* The University of California grants the users the right to modify, *
* copy, and redistribute the software and documentation, both within *
* the user's organization and externally, subject to the following *
* restrictions: *
* *
* 1. The users agree not to charge for the University of California code *
* itself but may charge for additions, extensions, or support. *
* *
* 2. In any product based on the software, the users agree to *
* acknowledge the University of California that developed the *
* software. This acknowledgment shall appear in the product *
* documentation. *
* *
* 3. Redistributions to others of source code and documentation must *
* retain the copyright notice, disclaimer, and list of conditions. *
* *
* 4. Redistributions to others in binary form must reproduce the *
* copyright notice, disclaimer, and list of conditions in the *
* documentation and/or other materials provided with the *
* distribution. *
* *
* Agreed to on ______Feb. 15, 2017______________ *
* *
* By: ____University of California, Berkeley___ *
* ____Chenming Hu__________________________ *
* ____Professor in Graduate School ________ *
* *
****************************************************************************** */
#include "ngspice/ngspice.h"
#include "bsim4def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM4delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

69
src/spicelib/devices/bsim4/b4dest.c

@ -1,69 +0,0 @@
/* ******************************************************************************
* BSIM4 4.8.1 released by Chetan Kumar Dabhi 2/15/2017 *
* BSIM4 Model Equations *
******************************************************************************
******************************************************************************
* Copyright 2017 Regents of the University of California. *
* All rights reserved. *
* *
* Project Director: Prof. Chenming Hu. *
* Authors: Gary W. Ng, Weidong Liu, Xuemei Xi, Mohan Dunga, Wenwei Yang *
* Ali Niknejad, Shivendra Singh Parihar, Chetan Kumar Dabhi *
* Yogesh Singh Chauhan, Sayeef Salahuddin, Chenming Hu *
******************************************************************************
******************************************************************************
* CMC In-Code Statement *
* *
* The Developer agrees that the following statement will appear in the *
* model code that has been adopted as a CMC Standard. *
* *
* Software is distributed as is, completely without warranty or service *
* support. The University of California and its employees are not liable *
* for the condition or performance of the software. *
* *
* The University of California owns the copyright and grants users a *
* perpetual, irrevocable, worldwide, non-exclusive, royalty-free license *
* with respect to the software as set forth below. *
* *
* The University of California hereby disclaims all implied warranties. *
* *
* The University of California grants the users the right to modify, *
* copy, and redistribute the software and documentation, both within *
* the user's organization and externally, subject to the following *
* restrictions: *
* *
* 1. The users agree not to charge for the University of California code *
* itself but may charge for additions, extensions, or support. *
* *
* 2. In any product based on the software, the users agree to *
* acknowledge the University of California that developed the *
* software. This acknowledgment shall appear in the product *
* documentation. *
* *
* 3. Redistributions to others of source code and documentation must *
* retain the copyright notice, disclaimer, and list of conditions. *
* *
* 4. Redistributions to others in binary form must reproduce the *
* copyright notice, disclaimer, and list of conditions in the *
* documentation and/or other materials provided with the *
* distribution. *
* *
* Agreed to on ______Feb. 15, 2017______________ *
* *
* By: ____University of California, Berkeley___ *
* ____Chenming Hu__________________________ *
* ____Professor in Graduate School ________ *
* *
****************************************************************************** */
#include "ngspice/ngspice.h"
#include "bsim4def.h"
#include "ngspice/suffix.h"
void
BSIM4destroy(void)
{
}

2
src/spicelib/devices/bsim4/bsim4ext.h

@ -61,8 +61,6 @@
extern int BSIM4acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4convTest(GENmodel *,CKTcircuit*);
extern int BSIM4delete(GENinstance*);
extern void BSIM4destroy(void);
extern int BSIM4getic(GENmodel*,CKTcircuit*);
extern int BSIM4load(GENmodel*,CKTcircuit*);
extern int BSIM4mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsim4/bsim4init.c

@ -42,9 +42,9 @@ SPICEdev BSIM4info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM4destroy,
.DEVdestroy = NULL,
.DEVmodDelete = BSIM4mDelete,
.DEVdelete = BSIM4delete,
.DEVdelete = NULL,
.DEVsetic = BSIM4getic,
.DEVask = BSIM4ask,
.DEVmodAsk = BSIM4mAsk,

2
src/spicelib/devices/bsim4v5/Makefile.am

@ -8,8 +8,6 @@ libbsim4v5_la_SOURCES = \
b4v5ask.c \
b4v5check.c \
b4v5cvtest.c \
b4v5del.c \
b4v5dest.c \
b4v5geo.c \
b4v5getic.c \
b4v5ld.c \

23
src/spicelib/devices/bsim4v5/b4v5del.c

@ -1,23 +0,0 @@
/**** BSIM4.5.0 Released by Xuemei (Jane) Xi 07/29/2005 ****/
/**********
* Copyright 2005 Regents of the University of California. All rights reserved.
* File: b4del.c of BSIM4.5.0.
* Author: 2000 Weidong Liu
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
* Project Director: Prof. Chenming Hu.
**********/
#include "ngspice/ngspice.h"
#include "bsim4v5def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM4v5delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

19
src/spicelib/devices/bsim4v5/b4v5dest.c

@ -1,19 +0,0 @@
/**** BSIM4.5.0 Released by Xuemei (Jane) Xi 07/29/2005 ****/
/**********
* Copyright 2005 Regents of the University of California. All rights reserved.
* File: b4dest.c of BSIM4.5.0.
* Author: 2000 Weidong Liu
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
* Project Director: Prof. Chenming Hu.
**********/
#include "ngspice/ngspice.h"
#include "bsim4v5def.h"
#include "ngspice/suffix.h"
void
BSIM4v5destroy(void)
{
}

2
src/spicelib/devices/bsim4v5/bsim4v5ext.h

@ -8,8 +8,6 @@ File: bsim4v5ext.h
extern int BSIM4v5acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4v5ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4v5convTest(GENmodel *,CKTcircuit*);
extern int BSIM4v5delete(GENinstance*);
extern void BSIM4v5destroy(void);
extern int BSIM4v5getic(GENmodel*,CKTcircuit*);
extern int BSIM4v5load(GENmodel*,CKTcircuit*);
extern int BSIM4v5mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsim4v5/bsim4v5init.c

@ -42,9 +42,9 @@ SPICEdev BSIM4v5info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4v5acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM4v5destroy,
.DEVdestroy = NULL,
.DEVmodDelete = BSIM4v5mDelete,
.DEVdelete = BSIM4v5delete,
.DEVdelete = NULL,
.DEVsetic = BSIM4v5getic,
.DEVask = BSIM4v5ask,
.DEVmodAsk = BSIM4v5mAsk,

2
src/spicelib/devices/bsim4v6/Makefile.am

@ -8,8 +8,6 @@ libbsim4v6_la_SOURCES = \
b4v6ask.c \
b4v6check.c \
b4v6cvtest.c \
b4v6del.c \
b4v6dest.c \
b4v6geo.c \
b4v6getic.c \
b4v6ld.c \

25
src/spicelib/devices/bsim4v6/b4v6del.c

@ -1,25 +0,0 @@
/**** BSIM4.6.2 Released by Wenwei Yang 07/31/2008 ****/
/**********
* Copyright 2006 Regents of the University of California. All rights reserved.
* File: b4del.c of BSIM4.6.2.
* Author: 2000 Weidong Liu
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
* Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
* Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
* Project Director: Prof. Chenming Hu.
**********/
#include "ngspice/ngspice.h"
#include "bsim4v6def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM4v6delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

21
src/spicelib/devices/bsim4v6/b4v6dest.c

@ -1,21 +0,0 @@
/**** BSIM4.6.2 Released by Wenwei Yang 07/31/2008 ****/
/**********
* Copyright 2006 Regents of the University of California. All rights reserved.
* File: b4dest.c of BSIM4.6.2.
* Author: 2000 Weidong Liu
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
* Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
* Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
* Project Director: Prof. Chenming Hu.
**********/
#include "ngspice/ngspice.h"
#include "bsim4v6def.h"
#include "ngspice/suffix.h"
void
BSIM4v6destroy(void)
{
}

2
src/spicelib/devices/bsim4v6/bsim4v6ext.h

@ -8,8 +8,6 @@ File: bsim4v6ext.h
extern int BSIM4v6acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4v6ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4v6convTest(GENmodel *,CKTcircuit*);
extern int BSIM4v6delete(GENinstance*);
extern void BSIM4v6destroy(void);
extern int BSIM4v6getic(GENmodel*,CKTcircuit*);
extern int BSIM4v6load(GENmodel*,CKTcircuit*);
extern int BSIM4v6mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsim4v6/bsim4v6init.c

@ -42,9 +42,9 @@ SPICEdev BSIM4v6info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4v6acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM4v6destroy,
.DEVdestroy = NULL,
.DEVmodDelete = BSIM4v6mDelete,
.DEVdelete = BSIM4v6delete,
.DEVdelete = NULL,
.DEVsetic = BSIM4v6getic,
.DEVask = BSIM4v6ask,
.DEVmodAsk = BSIM4v6mAsk,

2
src/spicelib/devices/bsim4v7/Makefile.am

@ -8,8 +8,6 @@ libbsim4v7_la_SOURCES = \
b4v7ask.c \
b4v7check.c \
b4v7cvtest.c \
b4v7del.c \
b4v7dest.c \
b4v7geo.c \
b4v7getic.c \
b4v7ld.c \

25
src/spicelib/devices/bsim4v7/b4v7del.c

@ -1,25 +0,0 @@
/**** BSIM4.7.0 Released by Darsen Lu 04/08/2011 ****/
/**********
* Copyright 2006 Regents of the University of California. All rights reserved.
* File: b4del.c of BSIM4.7.0.
* Author: 2000 Weidong Liu
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
* Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
* Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
* Project Director: Prof. Chenming Hu.
**********/
#include "ngspice/ngspice.h"
#include "bsim4v7def.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
BSIM4v7delete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

21
src/spicelib/devices/bsim4v7/b4v7dest.c

@ -1,21 +0,0 @@
/**** BSIM4.7.0 Released by Darsen Lu 04/08/2011 ****/
/**********
* Copyright 2006 Regents of the University of California. All rights reserved.
* File: b4dest.c of BSIM4.7.0.
* Author: 2000 Weidong Liu
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu.
* Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu
* Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu
* Project Director: Prof. Chenming Hu.
**********/
#include "ngspice/ngspice.h"
#include "bsim4v7def.h"
#include "ngspice/suffix.h"
void
BSIM4v7destroy(void)
{
}

2
src/spicelib/devices/bsim4v7/bsim4v7ext.h

@ -8,8 +8,6 @@ File: bsim4v7ext.h
extern int BSIM4v7acLoad(GENmodel *,CKTcircuit*);
extern int BSIM4v7ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int BSIM4v7convTest(GENmodel *,CKTcircuit*);
extern int BSIM4v7delete(GENinstance*);
extern void BSIM4v7destroy(void);
extern int BSIM4v7getic(GENmodel*,CKTcircuit*);
extern int BSIM4v7load(GENmodel*,CKTcircuit*);
extern int BSIM4v7mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsim4v7/bsim4v7init.c

@ -42,9 +42,9 @@ SPICEdev BSIM4v7info = {
.DEVfindBranch = NULL,
.DEVacLoad = BSIM4v7acLoad,
.DEVaccept = NULL,
.DEVdestroy = BSIM4v7destroy,
.DEVdestroy = NULL,
.DEVmodDelete = BSIM4v7mDelete,
.DEVdelete = BSIM4v7delete,
.DEVdelete = NULL,
.DEVsetic = BSIM4v7getic,
.DEVask = BSIM4v7ask,
.DEVmodAsk = BSIM4v7mAsk,

2
src/spicelib/devices/bsimsoi/Makefile.am

@ -8,8 +8,6 @@ libbsim4soi_la_SOURCES = \
b4soiask.c \
b4soicheck.c \
b4soicvtest.c \
b4soidel.c \
b4soidest.c \
b4soigetic.c \
b4soild.c \
b4soimask.c \

28
src/spicelib/devices/bsimsoi/b4soidel.c

@ -1,28 +0,0 @@
/*** B4SOI 12/16/2010 Released by Tanvir Morshed ***/
/**********
* Copyright 2010 Regents of the University of California. All rights reserved.
* Authors: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
* Authors: 1999-2004 Pin Su, Hui Wan, Wei Jin, b3soidel.c
* Authors: 2005- Hui Wan, Xuemei Xi, Ali Niknejad, Chenming Hu.
* Authors: 2009- Wenwei Yang, Chung-Hsun Lin, Ali Niknejad, Chenming Hu.
* File: b4soidel.c
* Modified by Hui Wan, Xuemei Xi 11/30/2005
* Modified by Wenwei Yang, Chung-Hsun Lin, Darsen Lu 03/06/2009
* Modified by Tanvir Morshed 09/22/2009
* Modified by Tanvir Morshed 12/31/2009
**********/
#include "ngspice/ngspice.h"
#include "b4soidef.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"
#include "ngspice/suffix.h"
int
B4SOIdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

25
src/spicelib/devices/bsimsoi/b4soidest.c

@ -1,25 +0,0 @@
/*** B4SOI 12/16/2010 Released by Tanvir Morshed ***/
/**********
* Copyright 2010 Regents of the University of California. All rights reserved.
* Authors: 1998 Samuel Fung, Dennis Sinitsky and Stephen Tang
* Authors: 1999-2004 Pin Su, Hui Wan, Wei Jin, b3soidest.c
* Authors: 2005- Hui Wan, Xuemei Xi, Ali Niknejad, Chenming Hu.
* Authors: 2009- Wenwei Yang, Chung-Hsun Lin, Ali Niknejad, Chenming Hu.
* File: b4soidest.c
* Modified by Hui Wan, Xuemei Xi 11/30/2005
* Modified by Wenwei Yang, Chung-Hsun Lin, Darsen Lu 03/06/2009
* Modified by Tanvir Morshed 09/22/2009
* Modified by Tanvir Morshed 12/31/2009
**********/
#include "ngspice/ngspice.h"
#include "b4soidef.h"
#include "ngspice/suffix.h"
void
B4SOIdestroy(void)
{
}

2
src/spicelib/devices/bsimsoi/b4soiext.h

@ -10,8 +10,6 @@ File: b4soiext.h
extern int B4SOIacLoad(GENmodel *,CKTcircuit*);
extern int B4SOIask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
extern int B4SOIconvTest(GENmodel *,CKTcircuit*);
extern int B4SOIdelete(GENinstance*);
extern void B4SOIdestroy(void);
extern int B4SOIgetic(GENmodel*,CKTcircuit*);
extern int B4SOIload(GENmodel*,CKTcircuit*);
extern int B4SOImAsk(CKTcircuit*,GENmodel *,int, IFvalue*);

4
src/spicelib/devices/bsimsoi/b4soiinit.c

@ -40,9 +40,9 @@ SPICEdev B4SOIinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = B4SOIacLoad,
.DEVaccept = NULL,
.DEVdestroy = B4SOIdestroy,
.DEVdestroy = NULL,
.DEVmodDelete = B4SOImDelete,
.DEVdelete = B4SOIdelete,
.DEVdelete = NULL,
.DEVsetic = B4SOIgetic,
.DEVask = B4SOIask,
.DEVmodAsk = B4SOImAsk,

3
src/spicelib/devices/cap/Makefile.am

@ -7,8 +7,6 @@ libcap_la_SOURCES = \
capacld.c \
capask.c \
capdefs.h \
capdel.c \
capdest.c \
capext.h \
capgetic.c \
capinit.c \
@ -16,7 +14,6 @@ libcap_la_SOURCES = \
capitf.h \
capload.c \
capmask.c \
capmdel.c \
capmpar.c \
capparam.c \
cappzld.c \

18
src/spicelib/devices/cap/capdel.c

@ -1,18 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
Modified: September 2003 Paolo Nenzi
**********/
#include "ngspice/ngspice.h"
#include "capdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
CAPdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

15
src/spicelib/devices/cap/capdest.c

@ -1,15 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
Modified: September 2003 Paolo Nenzi
**********/
#include "ngspice/ngspice.h"
#include "capdefs.h"
#include "ngspice/suffix.h"
void
CAPdestroy(void)
{
}

3
src/spicelib/devices/cap/capext.h

@ -5,12 +5,9 @@ Author: 1985 Thomas L. Quarles
extern int CAPacLoad(GENmodel*,CKTcircuit*);
extern int CAPask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int CAPdelete(GENinstance*);
extern void CAPdestroy(void);
extern int CAPgetic(GENmodel*,CKTcircuit*);
extern int CAPload(GENmodel*,CKTcircuit*);
extern int CAPmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
extern int CAPmDelete(GENmodel*);
extern int CAPmParam(int,IFvalue*,GENmodel*);
extern int CAPparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int CAPpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);

6
src/spicelib/devices/cap/capinit.c

@ -42,9 +42,9 @@ SPICEdev CAPinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = CAPacLoad,
.DEVaccept = NULL,
.DEVdestroy = CAPdestroy,
.DEVmodDelete = CAPmDelete,
.DEVdelete = CAPdelete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = CAPgetic,
.DEVask = CAPask,
.DEVmodAsk = CAPmAsk,

18
src/spicelib/devices/cap/capmdel.c

@ -1,18 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
Modified: Spetember 2003 Paolo Nenzi
**********/
#include "ngspice/ngspice.h"
#include "capdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
CAPmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/cccs/Makefile.am

@ -6,14 +6,11 @@ libcccs_la_SOURCES = \
cccs.c \
cccsask.c \
cccsdefs.h \
cccsdel.c \
cccsdest.c \
cccsext.h \
cccsinit.c \
cccsinit.h \
cccsitf.h \
cccsload.c \
cccsmdel.c \
cccspar.c \
cccspzld.c \
cccssacl.c \

17
src/spicelib/devices/cccs/cccsdel.c

@ -1,17 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "cccsdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
CCCSdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

14
src/spicelib/devices/cccs/cccsdest.c

@ -1,14 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "cccsdefs.h"
#include "ngspice/suffix.h"
void
CCCSdestroy(void)
{
}

3
src/spicelib/devices/cccs/cccsext.h

@ -5,10 +5,7 @@ Author: 1985 Thomas L. Quarles
extern int CCCSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
extern int CCCSdelete(GENinstance*);
extern void CCCSdestroy(void);
extern int CCCSload(GENmodel*,CKTcircuit*);
extern int CCCSmDelete(GENmodel*);
extern int CCCSparam(int,IFvalue*,GENinstance*,IFvalue*);
extern int CCCSpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
extern int CCCSsAcLoad(GENmodel*,CKTcircuit*);

6
src/spicelib/devices/cccs/cccsinit.c

@ -42,9 +42,9 @@ SPICEdev CCCSinfo = {
.DEVfindBranch = NULL,
.DEVacLoad = CCCSload,
.DEVaccept = NULL,
.DEVdestroy = CCCSdestroy,
.DEVmodDelete = CCCSmDelete,
.DEVdelete = CCCSdelete,
.DEVdestroy = NULL,
.DEVmodDelete = NULL,
.DEVdelete = NULL,
.DEVsetic = NULL,
.DEVask = CCCSask,
.DEVmodAsk = NULL,

17
src/spicelib/devices/cccs/cccsmdel.c

@ -1,17 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "cccsdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
CCCSmDelete(GENmodel *gen_model)
{
NG_IGNORE(gen_model);
return OK;
}

3
src/spicelib/devices/ccvs/Makefile.am

@ -6,15 +6,12 @@ libccvs_la_SOURCES = \
ccvs.c \
ccvsask.c \
ccvsdefs.h \
ccvsdel.c \
ccvsdest.c \
ccvsext.h \
ccvsfbr.c \
ccvsinit.c \
ccvsinit.h \
ccvsitf.h \
ccvsload.c \
ccvsmdel.c \
ccvspar.c \
ccvspzld.c \
ccvssacl.c \

17
src/spicelib/devices/ccvs/ccvsdel.c

@ -1,17 +0,0 @@
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "ccvsdefs.h"
#include "ngspice/sperror.h"
#include "ngspice/suffix.h"
int
CCVSdelete(GENinstance *gen_inst)
{
NG_IGNORE(gen_inst);
return OK;
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save