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

📄 pp_ifs.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/*============================================================================FILE  pp_ifs.cMEMBER OF process cmppCopyright 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 the main function for processing an Interface Spec    File (ifspec.ifs).INTERFACES    preprocess_ifs_file()REFERENCED FILES    None.NON-STANDARD FEATURES    None.============================================================================*/#include <stdlib.h>#include  "cmpp.h"/* *********************************************************************** *//*preprocess_ifs_fileFunction preprocess_ifs_file is the top-level driver function forpreprocessing an Interface Specification file (ifspec.ifs).  Thisfunction calls read_ifs_file() requesting it to read and parsethe Interface Specification file and place the informationcontained in it into an internal data structure.  Thenwrite_ifs_c_file() is called to write the information out in a Cfile that will be compiled and linked with the simulator.*/void preprocess_ifs_file(void){    Ifs_Table_t     ifs_table;   /* Repository for info read from ifspec.ifs file */    Status_t        status;      /* Return status */    /* Read the entire ifspec.ifs file and load the data into ifs_table */    status = read_ifs_file(IFSPEC_FILENAME,GET_IFS_TABLE,&ifs_table);    if(status != OK) {        exit(1);    }    /* Write the ifspec.c file required by the spice simulator */    status = write_ifs_c_file("ifspec.c",&ifs_table);    if(status != OK) {        exit(1);    }}

⌨️ 快捷键说明

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