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

📄 mifdefs.h

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 H
字号:
#ifndef MIFDEFS#define MIFDEFS/* ===========================================================================FILE    MIFdefs.hMEMBER OF process XSPICECopyright 1991Georgia Tech Research CorporationAtlanta, Georgia 30332All Rights ReservedPROJECT A-8503AUTHORS    9/12/91  Bill KuhnMODIFICATIONS    <date> <person name> <nature of modifications>SUMMARY    This file contains (augmented) SPICE 3C1 compatible typedefs for use    with code models.  These typedefs define the data structures that are    used internally to describe instances and models in the circuit    description linked lists.INTERFACES    None.REFERENCED FILES    None.NON-STANDARD FEATURES    None.=========================================================================== */#include  "mifcmdat.h"#include "ifsim.h"/* The per-instance data structure */typedef struct sMIFinstance {    struct sMIFmodel    *MIFmodPtr;       /* backpointer to model */    struct sMIFinstance *MIFnextInstance; /* pointer to next instance of current model */    IFuid               MIFname;          /* pointer to character string naming this instance */    int                 num_conn;         /* number of connections on the code model */    Mif_Conn_Data_t     **conn;           /* array of data structures for each connection */    int                 num_inst_var;     /* number of instance variables on the code model */    Mif_Inst_Var_Data_t **inst_var;       /* array of structs for each instance var */    int                 num_param;        /* number of parameters on the code model */    Mif_Param_Data_t    **param;          /* array of structs for each parameter */    int                 num_state;        /* Number of state tags used for this inst */    Mif_State_t         *state;           /* Info about states */    int                 num_intgr;        /* Number of integrals */    Mif_Intgr_t         *intgr;           /* Info for integrals */    int                 num_conv;         /* Number of things to be converged */    Mif_Conv_t          *conv;            /* Info for convergence things */    Mif_Boolean_t       initialized;      /* True if model called once already */    Mif_Boolean_t       analog;           /* true if this inst is analog or hybrid type */    Mif_Boolean_t       event_driven;     /* true if this inst is event-driven or hybrid type */    int                 inst_index;       /* Index into inst_table in evt struct in ckt */} MIFinstance ;/* The per model data structure */typedef struct sMIFmodel {    int              MIFmodType;      /* type index of this device type */    struct sMIFmodel *MIFnextModel;   /* pointer to next possible model in linked list */    MIFinstance      *MIFinstances;   /* pointer to list of instances that have this model */    IFuid            MIFmodName;      /* pointer to character string naming this model */    int              num_param;       /* number of parameters on the code model */    Mif_Param_Data_t **param;         /* array of structs for each parameter */    Mif_Boolean_t    analog;          /* true if this model is analog or hybrid type */    Mif_Boolean_t    event_driven;    /* true if this model is event-driven or hybrid type */} MIFmodel;/* NOTE:  There are no device parameter tags, since the ask, mAsk, ...    *//* functions for code models work out of the generic code model structure */#endif /* MIFDEFS */

⌨️ 快捷键说明

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