Author: 1987 Thomas L. Quarles **********/ #include "spice.h" #include <stdio.h> #include "ifsim.h" #include "devdefs.h" #include "isrcdefs.h" #include "suffix.h" /* Indepedent Current Source */ IFparm ISRCpTable[] = { /* parameters */ IOPP( "dc", ISRC_DC, IF_REAL ,"DC value of source"), IOPPA( "acmag", ISRC_AC_MAG, IF_REAL ,"AC magnitude"), IOPAAU( "acphase", ISRC_AC_PHASE, IF_REAL ,"AC phase"), IP ( "pulse", ISRC_PULSE, IF_REALVEC,"Pulse description"), IP ( "sine", ISRC_SINE, IF_REALVEC,"Sinusoidal source description"), IP ( "sin", ISRC_SINE, IF_REALVEC,"Sinusoidal source description"), IP ( "exp", ISRC_EXP, IF_REALVEC,"Exponential source description"), IP ( "pwl", ISRC_PWL, IF_REALVEC,"Piecewise linear description"), IP ( "sffm", ISRC_SFFM, IF_REALVEC,"single freq. FM description"), OPU ( "neg_node",ISRC_NEG_NODE, IF_INTEGER,"Negative node of source"), OPU ( "pos_node",ISRC_POS_NODE, IF_INTEGER,"Positive node of source"), OPU ( "acreal", ISRC_AC_REAL, IF_REAL ,"AC real part"), OPU ( "acimag", ISRC_AC_IMAG, IF_REAL ,"AC imaginary part"), OPU ( "function",ISRC_FCN_TYPE, IF_INTEGER,"Function of the source"), OPU ( "order", ISRC_FCN_ORDER, IF_INTEGER,"Order of the source function"), OPU ( "coeffs", ISRC_FCN_COEFFS,IF_REALVEC,"Coefficients of the source"),
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1985 Thomas L. Quarles **********/ #include "spice.h" #include <stdio.h> #include "resdefs.h" #include "devdefs.h" #include "ifsim.h" #include "suffix.h" IFparm RESpTable[] = { /* parameters */ IOPP( "resistance", RES_RESIST, IF_REAL,"Resistance"), IOPZU( "temp", RES_TEMP, IF_REAL,"Instance operating temperature"), IOPQU( "l", RES_LENGTH, IF_REAL,"Length"), IOPZU( "w", RES_WIDTH, IF_REAL,"Width"), IP( "sens_resist", RES_RESIST_SENS, IF_FLAG, "flag to request sensitivity WRT resistance"), OP( "i", RES_CURRENT,IF_REAL,"Current"), OP( "p", RES_POWER, IF_REAL,"Power"), OPU( "sens_dc", RES_QUEST_SENS_DC, IF_REAL, "dc sensitivity "), OPU( "sens_real",RES_QUEST_SENS_REAL,IF_REAL, "dc sensitivity and real part of ac sensitivity"), OPU( "sens_imag",RES_QUEST_SENS_IMAG,IF_REAL, "dc sensitivity and imag part of ac sensitivity"), OPU( "sens_mag", RES_QUEST_SENS_MAG, IF_REAL, "ac sensitivity of magnitude"), OPU( "sens_ph", RES_QUEST_SENS_PH, IF_REAL, "ac sensitivity of phase"), OPU( "sens_cplx",RES_QUEST_SENS_CPLX,IF_COMPLEX, "ac sensitivity") } ;