cccsinit.c

来自「ngspice又一个电子CAD仿真软件代码.功能更全」· C语言 代码 · 共 84 行

C
84 行
字号
#include <config.h>#include <devdefs.h>#include "cccsitf.h"#include "cccsext.h"#include "cccsinit.h"SPICEdev CCCSinfo = {    {   "CCCS",        "Current controlled current source",        &CCCSnSize,        &CCCSnSize,        CCCSnames,        &CCCSpTSize,        CCCSpTable,        0,        NULL,#ifdef XSPICE/*----  Fixed by SDB 5.2.2003 to enable XSPICE/tclspice integration  -----*/        NULL,  /* This is a SPICE device, it has no MIF info data */        0,     /* This is a SPICE device, it has no MIF info data */        NULL,  /* This is a SPICE device, it has no MIF info data */        0,     /* This is a SPICE device, it has no MIF info data */        NULL,  /* This is a SPICE device, it has no MIF info data */        0,     /* This is a SPICE device, it has no MIF info data */        NULL,  /* This is a SPICE device, it has no MIF info data *//*---------------------------  End of SDB fix   -------------------------*/#endif	DEV_DEFAULT    },    DEVparam      : CCCSparam,    DEVmodParam   : NULL,    DEVload       : CCCSload,    DEVsetup      : CCCSsetup,    DEVunsetup    : NULL,    DEVpzSetup    : CCCSsetup,    DEVtemperature: NULL,    DEVtrunc      : NULL,    DEVfindBranch : NULL,    DEVacLoad     : CCCSload,    DEVaccept     : NULL,    DEVdestroy    : CCCSdestroy,    DEVmodDelete  : CCCSmDelete,    DEVdelete     : CCCSdelete,    DEVsetic      : NULL,    DEVask        : CCCSask,    DEVmodAsk     : NULL,    DEVpzLoad     : CCCSpzLoad,    DEVconvTest   : NULL,    DEVsenSetup   : CCCSsSetup,    DEVsenLoad    : CCCSsLoad,    DEVsenUpdate  : NULL,    DEVsenAcLoad  : CCCSsAcLoad,    DEVsenPrint   : CCCSsPrint,    DEVsenTrunc   : NULL,    DEVdisto      : NULL,	/* DISTO */    DEVnoise      : NULL,	/* NOISE */#ifdef CIDER    DEVdump       : NULL,    DEVacct       : NULL,#endif        DEVinstSize   : &CCCSiSize,    DEVmodSize    : &CCCSmSize};SPICEdev *get_cccs_info(void){    return &CCCSinfo;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?