home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************/
- /* Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991 */
- /* By MicroSim Corporation, All Rights Reserved */
- /****************************************************************************/
- /* options.h
- * $Revision: 1.13 $
- * $Author: whb $
- * $Date: 26 Mar 1991 12:56:30 $ */
-
- /******************* USERS OF DEVICE EQUATIONS OPTION ***********************/
- /******** Do not change this file **********/
-
- struct options_ {
- int
- OpPage,
- OpNoEcho,
- OpNode,
- OpMod,
- OpList,
- OpOpts,
- OpAcct,
- OpBias,
- OpNoReuse,
- OpDigWCT,
-
- OpNumDgt,
- OpLimPts,
- OpITL1,
- OpITL2,
- OpITL4,
- OpITL5,
- OpWidth,
- OpDigMnMx,
- OpDigIOLvl;
-
- double
- OpDefL,
- OpDefW,
- OpDefAD,
- OpDefAS,
- OpTNom,
- OpCPTime,
- OpRelTol,
- OpTrTol,
- OpAbsTol,
- OpChgTol,
- OpVnTol,
- OpPivRel,
- OpPivTol,
- OpGMin,
- OpDigFreq,
- OpDigStrF,
- OpDigStrZ,
- OpDigOvrDrv,
- OpDigMnTyScale,
- OpDigTyMxScale,
- OpDigWCScale;
-
- int
- OpInWidth;
- struct Dist_Values *OpDist;
-
- } ;
-
- GLOBAL struct options_ options;
-
- #ifndef IN_CIRCUIT1
-
- struct options_ Default_Options
- #ifdef CIR_FILE
- = {
- 0, /* nopage */ 0, /* noecho */
- 0, /* node */ 0, /* nomod */
- 0, /* list */ 0, /* opts */
- 0, /* acct */ 0, /* nobias */
- 0, /* noreuse */ 0, /* digWCT */
-
- 4, /* numdigit */ 0, /* limpts */
- 40, /* itl1 */ 20, /* itl2 */
- 10, /* itl4 */ 0, /* itl5 */
- 80, /* width */ 2, /* digmnmx */
- 1, /* digiolevel */
-
-
- 100.0e-6,/* defl */ 100.0e-6, /* defw */
- 0.0, /* defad */ 0.0, /* defas */
- 27.0, /* tnom */ 1.0e6, /* cptime */
- 0.001, /* reltol*/ 7.0, /* trtol */
- 1.0e-12, /* abstol */ 0.01e-12, /* chgtol */
- 1.0e-6, /* vntol */ 1.0e-3, /* pivrel */
- 1.0e-13, /* pivtol */ 1.0e-12, /* gmin */
- 1.0e10, /* digfreq */ 2.0, /* digstrf */
- 2.0e4, /* digstrz */ 2.5, /* digovrdrv */
- 0.4, /* digmntyscale*/ 1.6, /* digtymxscale */
- 1.0, /* digwcscale*/
-
- MBUFF, /* inwidth */
- NULL /* default distribution */
- }
- #endif
- ;
-
- #endif
-
- #define NOPAGE options.OpPage
- #define NOECHO options.OpNoEcho
- #define NODE options.OpNode
- #define NOMOD options.OpMod
- #define LIST options.OpList
- #define OPTS options.OpOpts
- #define ACCT options.OpAcct
- #define NOBIAS options.OpBias
- #define NOREUSE options.OpNoReuse
- #define DIGWCT options.OpDigWCT
-
- #define NUMDGT options.OpNumDgt
- #define LIMPTS options.OpLimPts
- #define ITL1 options.OpITL1
- #define ITL2 options.OpITL2
- #define ITL4 options.OpITL4
- #define ITL5 options.OpITL5
- #define WIDTH options.OpWidth
-
- #define DEFL options.OpDefL
- #define DEFW options.OpDefW
- #define DEFAD options.OpDefAD
- #define DEFAS options.OpDefAS
- #define TNOM options.OpTNom
- #define CPTIME options.OpCPTime
- #define RELTOL options.OpRelTol
- #define TRTOL options.OpTrTol
- #define ABSTOL options.OpAbsTol
- #define CHGTOL options.OpChgTol
- #define VNTOL options.OpVnTol
- #define PIVREL options.OpPivRel
- #define PIVTOL options.OpPivTol
- #define GMIN options.OpGMin
- #define DIGFREQ options.OpDigFreq
- #define DIGDRVF options.OpDigStrF
- #define DIGDRVZ options.OpDigStrZ
- #define DIGOVRDRV options.OpDigOvrDrv
- #define DIGMNMX options.OpDigMnMx
- #define DIGIOLVL options.OpDigIOLvl
- #define DIGMNTYSCALE options.OpDigMnTyScale
- #define DIGTYMXSCALE options.OpDigTyMxScale
- #define DIGWCSCALE options.OpDigWCScale
-
- #define INWIDTH options.OpInWidth
- #define MININWIDTH 8 /* minimum value of .width in = */
- #define DISTRIB options.OpDist