txl.c
来自「ngspice又一个电子CAD仿真软件代码.功能更全」· C语言 代码 · 共 38 行
C
38 行
/**********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 + =
减小字号Ctrl + -
显示快捷键?