⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bjt2sprt.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/**********Copyright 1990 Regents of the University of California.  All rights reserved.Author: 1985 Thomas L. QuarlesModified: Alan GillespieThis function is obsolete (was used by an old sensitivity analysis)**********//* Pretty print the sensitivity info for all  * the bjt2s in the circuit. */#include "ngspice.h"#include "cktdefs.h"#include "smpdefs.h"#include "bjt2defs.h"#include "const.h"#include "sperror.h"#include "ifsim.h"#include "suffix.h"voidBJT2sPrint(GENmodel *inModel, CKTcircuit *ckt){    BJT2model *model = (BJT2model*)inModel;    BJT2instance *here;    printf("BJT2S-----------------\n");    /*  loop through all the BJT2 models */    for( ; model != NULL; model = model->BJT2nextModel ) {        printf("Model name:%s\n",model->BJT2modName);        /* loop through all the instances of the model */        for (here = model->BJT2instances; here != NULL ;                here=here->BJT2nextInstance) {            if (here->BJT2owner != ARCHme) continue;            ckt->CKTsenInfo->SEN_parmVal[here->BJT2senParmNo] = here->BJT2area;            printf("    Instance name:%s\n",here->BJT2name);            printf("      Collector, Base , Emitter nodes: %s, %s ,%s\n",            CKTnodName(ckt,here->BJT2colNode),CKTnodName(ckt,here->BJT2baseNode),            CKTnodName(ckt,here->BJT2emitNode));            printf("      Area: %g ",here->BJT2area);            printf(here->BJT2areaGiven ? "(specified)\n" : "(default)\n");            printf("    BJT2senParmNo:%d\n",here->BJT2senParmNo);        }    }}

⌨️ 快捷键说明

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