📄 numdparm.c
字号:
/**********Copyright 1992 Regents of the University of California. All rights reserved.Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group**********/#include "spice.h"#include <stdio.h>#include "ifsim.h"#include "util.h"#include "const.h"#include "numddefs.h"#include "sperror.h"#include "suffix.h"intNUMDparam(param, value, inInst, select) int param; IFvalue *value; GENinstance *inInst; IFvalue *select;{ NUMDinstance *inst = (NUMDinstance *) inInst; switch (param) { case NUMD_AREA: inst->NUMDarea = value->rValue; inst->NUMDareaGiven = TRUE; break; case NUMD_OFF: inst->NUMDoff = TRUE; break; case NUMD_IC_FILE: inst->NUMDicFile = value->sValue; inst->NUMDicFileGiven = TRUE; break; case NUMD_PRINT: inst->NUMDprint = value->rValue; inst->NUMDprintGiven = TRUE; break; case NUMD_TEMP: inst->NUMDtemp = value->rValue + CONSTCtoK; inst->NUMDtempGiven = TRUE; break; default: return (E_BADPARM); } return (OK);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -