home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s205 / 1.ddi / BACKUP.001 / DOC_LREF_LR32.DOC < prev    next >
Encoding:
Text File  |  1991-02-28  |  2.4 KB  |  74 lines

  1. LOCAL DEFAULT
  2. Overview
  3. This is a branch of a state transition equation that is executed if
  4. none of the conditions in the equation are satisfied.  Local defaults
  5. override global defaults.
  6.  
  7.  
  8. Syntax───────────────────────────────────────────────────────────────
  9.             State1 := condition1 -> state2
  10.                       + condition2 -> state3
  11.                       +-> default state
  12.  
  13. ────────────────────────────────────────────────────────────────────
  14.  
  15. Device Support:
  16.  
  17.   PAL10H20EV8   PAL16R4    PAL16R6     PAL16R8     PAL16RP4  PAL16RP6
  18.   PAL16RP8      PALCE16V8  PAL18U8     PAL20R4     PAL20R6   PAL20R8
  19.   PAL20RS4      PAL20RS8   PAL20RS10   PALCE20V8   PAL20X4   PAL20X8
  20.   PAL20X10      PAL22RX8   PAL22V10    PAL23S8     PAL24R10  PAL24R4
  21.   PAL24R8       PAL26V12   PALCE29M16  PALCE29MA16 PAL32R16  PAL32VX10
  22.   PALCE610      PLS105     PLS167      PLS168      PLS30S16  MACH 1
  23.   MACH 2
  24. ·
  25. Syntax
  26. Include the local default (state branch) in state transition equations
  27. of state-machine designs.
  28.  
  29. Syntax───────────────────────────────────────────────────────────────
  30.             State1 := condition1 -> state2
  31.                       + condition2 -> state3
  32.                       +-> default state
  33. Example──────────────────────────────────────────────────────────────
  34.  
  35.             STATE
  36.             ;State transition equations
  37.             RED    := NOTRAFFIC -> GRN
  38.                       + RED2 -> YLW
  39.                       +-> RED
  40.             ...
  41. ────────────────────────────────────────────────────────────────────
  42. ·
  43. Definitions
  44.  
  45. Default state   This parameter defines the next state in a state
  46.                 machine transition equation when that state cannot be
  47.                 determined from the previous conditions.
  48.  
  49.                 ■  You must use the default operator, +->, to define a
  50.                    local default.
  51.  
  52.                 ■  You can define only one local default state for
  53.                    each state-transition equation.
  54. ·
  55. Use
  56.  
  57. Defaults ensure that the machine does not behave unpredictably if none
  58. of the conditions in the state transition equation are satisfied.
  59.  
  60. A local default overrides any global default.
  61.  
  62. The local default branch must be the last branch in the
  63. state-transition equation.
  64.  
  65. Global defaults are defined by the DEFAULT_BRANCH statement.
  66. ·
  67. Related Topics
  68. DEFAULT_BRANCH
  69. STATE
  70. State Equation
  71. State Transition Equation
  72. ·
  73.