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

📄 txl.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/**********Copyright 1992 Regents of the University of California.  All rightsreserved.Author: 1992 Charles Hough**********/#include "ngspice.h"#include "txldefs.h"#include "devdefs.h"#include "ifsim.h"#include "suffix.h"IFparm TXLpTable[] = { 	IP("pos_node",   TXL_IN_NODE,     IF_INTEGER,"Positive node of txl"),	IP("neg_node",   TXL_OUT_NODE,    IF_INTEGER,"Negative node of txl"), 	IOP("length",    TXL_LENGTH,      IF_REAL,"length of line"),};IFparm TXLmPTable[] = { /* model parameters */ IOP( "r",         TXL_R,           IF_REAL,"resistance per length"), IOP( "l",         TXL_L,           IF_REAL,"inductance per length"), IOP( "c",         TXL_C,           IF_REAL,"capacitance per length"), IOP( "g",         TXL_G,           IF_REAL,"conductance per length"), IOP( "length",    TXL_length,      IF_REAL,"length"), IP( "txl",      TXL_MOD_R,         IF_FLAG,"Device is a txl model"),};char *TXLnames[] = {	"Y+",	"Y-"};int TXLnSize = NUMELEMS(TXLnames);int TXLiSize = sizeof(TXLinstance);int TXLmSize = sizeof(TXLmodel);int TXLmPTSize = NUMELEMS(TXLmPTable);int TXLpTSize = NUMELEMS(TXLpTable);

⌨️ 快捷键说明

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