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

📄 asrc.c

📁 linux平台下类似著名的电路板作图软件 Spice的源代码
💻 C
字号:
/**********Copyright 1990 Regents of the University of California.  All rights reserved.Author: 1987 Kanwar Jit Singh**********/#include "spice.h"#include <stdio.h>#include "ifsim.h"#include "devdefs.h"#include "asrcdefs.h"#include "util.h"#include "suffix.h"/* Arbitrary source */IFparm ASRCpTable[] = { /* parameters */  IP( "i", ASRC_CURRENT, IF_PARSETREE, "Current source "), IP( "v", ASRC_VOLTAGE, IF_PARSETREE, "Voltage source"), OP( "i", ASRC_OUTPUTCURRENT, IF_REAL, "Current through source "), OP( "v", ASRC_OUTPUTVOLTAGE, IF_REAL, "Voltage across source"), OP( "pos_node", ASRC_POS_NODE, IF_INTEGER, "Positive Node"), OP( "neg_node", ASRC_NEG_NODE, IF_INTEGER, "Negative Node")};char *ASRCnames[] = {    "src+",    "src-"};int	ASRCnSize = NUMELEMS(ASRCnames);int	ASRCpTSize = NUMELEMS(ASRCpTable);int	ASRCmPTSize = 0;int	ASRCiSize = sizeof(ASRCinstance);int	ASRCmSize = sizeof(ASRCmodel);

⌨️ 快捷键说明

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