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

📄 urcdefs.h

📁 spice中支持多层次元件模型仿真的可单独运行的插件源码
💻 H
字号:
/**********Copyright 1990 Regents of the University of California.  All rights reserved.Author: 1985 Thomas L. Quarles**********/#ifndef URC#define URC#include "ifsim.h"#include "cktdefs.h"#include "gendefs.h"#include "complex.h"    /*     *  structures used to describe uniform RC lines     *//* information needed for each instance */typedef struct sURCinstance {    struct sURCmodel *URCmodPtr;    /* backpointer to model */    struct sURCinstance *URCnextInstance;   /* pointer to next instance of                                              * current model*/    IFuid URCname;  /* pointer to character string naming this instance */    int URCowner;  /* number of owner process */    int URCstate;	/* not used */    int URCposNode;   /* number of positive node of URC */    int URCnegNode;   /* number of negative node of URC */    int URCgndNode;   /* number of the "ground" node of the URC */    double URClength;   /* length of line */    int URClumps;   /* number of lumps in line */    unsigned URClenGiven : 1;   /* flag to indicate length was specified */    unsigned URClumpsGiven : 1; /* flag to indicate lumps was specified */} URCinstance ;/* per model data */typedef struct sURCmodel {       /* model structure for a resistor */    int URCmodType; /* type index of this device type */    struct sURCmodel *URCnextModel; /* pointer to next possible model                                      * in linked list */    URCinstance * URCinstances; /* pointer to list of instances that have this                                 * model */    IFuid URCmodName;       /* pointer to character string naming this model */    double URCk;        /* propagation constant for URC */    double URCfmax;     /* max frequence of interest */    double URCrPerL;    /* resistance per unit length */    double URCcPerL;    /* capacitance per unit length */    double URCisPerL;   /* diode saturation current per unit length */    double URCrsPerL;   /* diode resistance per unit length */    unsigned URCkGiven : 1;     /* flag to indicate k was specified */    unsigned URCfmaxGiven : 1;  /* flag to indicate fmax was specified */    unsigned URCrPerLGiven : 1; /* flag to indicate rPerL was specified */    unsigned URCcPerLGiven : 1; /* flag to indicate cPerL was specified */    unsigned URCisPerLGiven : 1; /* flag to indicate isPerL was specified */    unsigned URCrsPerLGiven : 1; /* flag to indicate rsPerL was specified */} URCmodel;/* device parameters */#define URC_LEN 1#define URC_LUMPS 2#define URC_POS_NODE 3#define URC_NEG_NODE 4#define URC_GND_NODE 5/* model parameters */#define URC_MOD_K 101#define URC_MOD_FMAX 102#define URC_MOD_RPERL 103#define URC_MOD_CPERL 104#define URC_MOD_ISPERL 105#define URC_MOD_RSPERL 106#define URC_MOD_URC 107/* device questions *//* model questions */#include "urcext.h"#endif /*URC*/

⌨️ 快捷键说明

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