home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p064 / 3.ddi / OPTIONS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-01  |  4.0 KB  |  151 lines

  1. /****************************************************************************/
  2. /*        Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991                  */
  3. /*          By MicroSim Corporation, All Rights Reserved                    */
  4. /****************************************************************************/
  5. /* options.h
  6.  *   $Revision:   1.13  $
  7.  *   $Author:   whb  $
  8.  *   $Date:   26 Mar 1991 12:56:30  $ */
  9.  
  10. /******************* USERS OF DEVICE EQUATIONS OPTION ***********************/
  11. /********                Do not change this file                   **********/
  12.  
  13. struct options_ {
  14. int
  15.         OpPage,
  16.         OpNoEcho,
  17.         OpNode,
  18.         OpMod,
  19.         OpList,
  20.         OpOpts,
  21.         OpAcct,
  22.         OpBias,
  23.         OpNoReuse,
  24.         OpDigWCT,
  25.  
  26.         OpNumDgt,
  27.         OpLimPts,
  28.         OpITL1,
  29.         OpITL2,
  30.         OpITL4,
  31.         OpITL5,
  32.         OpWidth,
  33.         OpDigMnMx,
  34.         OpDigIOLvl;
  35.  
  36. double
  37.         OpDefL,
  38.         OpDefW,
  39.         OpDefAD,
  40.         OpDefAS,
  41.         OpTNom,
  42.         OpCPTime,
  43.         OpRelTol,
  44.         OpTrTol,
  45.         OpAbsTol,
  46.         OpChgTol,
  47.         OpVnTol,
  48.         OpPivRel,
  49.         OpPivTol,
  50.         OpGMin,
  51.         OpDigFreq,
  52.         OpDigStrF,
  53.         OpDigStrZ,
  54.         OpDigOvrDrv,
  55.     OpDigMnTyScale,
  56.     OpDigTyMxScale,
  57.     OpDigWCScale;
  58.  
  59. int
  60.         OpInWidth;
  61. struct Dist_Values *OpDist;
  62.  
  63. } ;
  64.  
  65. GLOBAL struct options_ options;
  66.  
  67. #ifndef IN_CIRCUIT1
  68.  
  69. struct options_ Default_Options
  70. #ifdef CIR_FILE
  71. = {
  72.     0,      /* nopage */   0,        /* noecho */
  73.     0,      /* node */     0,        /* nomod */
  74.     0,      /* list */     0,        /* opts */
  75.     0,      /* acct */       0,        /* nobias */
  76.     0,      /* noreuse */  0,        /* digWCT */
  77.  
  78.     4,      /* numdigit */ 0,        /* limpts */
  79.     40,     /* itl1 */     20,       /* itl2 */
  80.     10,     /* itl4 */     0,        /* itl5 */
  81.     80,     /* width */       2,         /* digmnmx */   
  82.     1,        /* digiolevel */ 
  83.  
  84.  
  85.    100.0e-6,/* defl */     100.0e-6, /* defw */
  86.    0.0,     /* defad */    0.0,      /* defas */
  87.    27.0,    /* tnom */     1.0e6,    /* cptime */
  88.    0.001,   /* reltol*/    7.0,      /* trtol */
  89.    1.0e-12, /* abstol */   0.01e-12, /* chgtol */
  90.    1.0e-6,  /* vntol */    1.0e-3,   /* pivrel */
  91.    1.0e-13, /* pivtol */   1.0e-12,  /* gmin */
  92.    1.0e10,  /* digfreq */  2.0,      /*    digstrf */
  93.    2.0e4,   /* digstrz */  2.5,      /* digovrdrv */
  94.    0.4,     /* digmntyscale*/ 1.6,      /* digtymxscale */
  95.    1.0,     /* digwcscale*/
  96.  
  97.    MBUFF,   /* inwidth */
  98.    NULL        /* default distribution */
  99. }
  100. #endif
  101.     ;
  102.  
  103. #endif
  104.  
  105. #define NOPAGE options.OpPage
  106. #define NOECHO options.OpNoEcho
  107. #define NODE   options.OpNode
  108. #define NOMOD  options.OpMod
  109. #define LIST   options.OpList
  110. #define OPTS   options.OpOpts
  111. #define ACCT   options.OpAcct
  112. #define NOBIAS options.OpBias
  113. #define NOREUSE  options.OpNoReuse
  114. #define DIGWCT options.OpDigWCT
  115.  
  116. #define NUMDGT options.OpNumDgt
  117. #define LIMPTS options.OpLimPts
  118. #define ITL1   options.OpITL1
  119. #define ITL2   options.OpITL2
  120. #define ITL4   options.OpITL4
  121. #define ITL5   options.OpITL5
  122. #define WIDTH  options.OpWidth
  123.  
  124. #define DEFL   options.OpDefL
  125. #define DEFW   options.OpDefW
  126. #define DEFAD  options.OpDefAD
  127. #define DEFAS  options.OpDefAS
  128. #define TNOM   options.OpTNom
  129. #define CPTIME options.OpCPTime
  130. #define RELTOL options.OpRelTol
  131. #define TRTOL  options.OpTrTol
  132. #define ABSTOL options.OpAbsTol
  133. #define CHGTOL options.OpChgTol
  134. #define VNTOL  options.OpVnTol
  135. #define PIVREL options.OpPivRel
  136. #define PIVTOL options.OpPivTol
  137. #define GMIN   options.OpGMin
  138. #define DIGFREQ options.OpDigFreq
  139. #define DIGDRVF options.OpDigStrF
  140. #define DIGDRVZ options.OpDigStrZ
  141. #define DIGOVRDRV options.OpDigOvrDrv
  142. #define DIGMNMX   options.OpDigMnMx
  143. #define DIGIOLVL  options.OpDigIOLvl
  144. #define DIGMNTYSCALE options.OpDigMnTyScale
  145. #define DIGTYMXSCALE options.OpDigTyMxScale
  146. #define DIGWCSCALE   options.OpDigWCScale
  147.  
  148. #define INWIDTH options.OpInWidth
  149. #define MININWIDTH      8       /* minimum value of .width in = */
  150. #define    DISTRIB options.OpDist
  151.