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

📄 vccs.c

📁 linux平台下类似著名的电路板作图软件 Spice的源代码
💻 C
字号:
/**********Copyright 1990 Regents of the University of California.  All rights reserved.Author: 1987 Thomas L. Quarles**********/#include "spice.h"#include <stdio.h>#include "devdefs.h"#include "ifsim.h"#include "vccsdefs.h"#include "suffix.h"IFparm VCCSpTable[] = { /* parameters */  IOPU("gain",       VCCS_TRANS, IF_REAL, "Transconductance of source (gain)"), IP("sens_trans",  VCCS_TRANS_SENS,IF_FLAG,        "flag to request sensitivity WRT transconductance"), OPU("pos_node",    VCCS_POS_NODE, IF_INTEGER, "Positive node of source"), OPU("neg_node",    VCCS_NEG_NODE, IF_INTEGER, "Negative node of source"), OPU("cont_p_node",VCCS_CONT_P_NODE,IF_INTEGER,				"Positive node of contr. source"), OPU("cont_n_node",VCCS_CONT_N_NODE,IF_INTEGER,				"Negative node of contr. source"), IP("ic",          VCCS_IC, IF_REAL, "Initial condition of controlling source"), OP("i",            VCCS_CURRENT,IF_REAL, "Output current"), OP("v",            VCCS_VOLTS,IF_REAL, "Voltage across output"), OP("p",            VCCS_POWER,  IF_REAL, "Power"), OPU("sens_dc",   VCCS_QUEST_SENS_DC,       IF_REAL,    "dc sensitivity "), OPU("sens_real", VCCS_QUEST_SENS_REAL, IF_REAL, "real part of ac sensitivity"), OPU("sens_imag", VCCS_QUEST_SENS_IMAG, IF_REAL, "imag part of ac sensitivity"), OPU("sens_mag",  VCCS_QUEST_SENS_MAG,  IF_REAL, "sensitivity of ac magnitude"), OPU("sens_ph",   VCCS_QUEST_SENS_PH,   IF_REAL,  "sensitivity of ac phase"), OPU("sens_cplx", VCCS_QUEST_SENS_CPLX, IF_COMPLEX,    "ac sensitivity")};char *VCCSnames[] = {    "V+",    "V-",    "VC+",    "VC-"};int	VCCSnSize = NUMELEMS(VCCSnames);int	VCCSpTSize = NUMELEMS(VCCSpTable);int	VCCSmPTSize = 0;int	VCCSiSize = sizeof(VCCSinstance);int	VCCSmSize = sizeof(VCCSmodel);

⌨️ 快捷键说明

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