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

  1. STATE TRANSITION EQUATION
  2. Overview
  3. For each state, transition equations specify what the next state will
  4. be under various conditions.
  5.  
  6.  
  7. Syntax──────────────────────────────────────────────────────────────
  8.  
  9.     STATE
  10.         ...
  11.         Present state     :=     Condition1 -> State1
  12.                                  + Condition2 -> State2
  13.                                  +-> Local default
  14. ────────────────────────────────────────────────────────────────────
  15.  
  16. Device Support:
  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. PAL64R32       PALCE610   PLS105     PLS167      PLS168      PLS30S16
  23. MACH 1         MACH 2
  24. ·
  25. Syntax
  26. Include state-transition equations in the state segment of
  27. state-machine designs.
  28.  
  29.  
  30. Syntax──────────────────────────────────────────────────────────────
  31.  
  32.     STATE
  33.         ...
  34.         Present state     :=     Condition1 -> State1
  35.                                  + Condition2 -> State2
  36.                                  +-> Local default
  37. Example─────────────────────────────────────────────────────────────
  38.  
  39.     STATE
  40.         ...
  41.         ;State Equations
  42.         ...
  43.         TWO               :=     COUNT_UP -> THREE
  44.                                  + COUNT_DWN -> ONE
  45.                                  +-> TWO
  46.         ...
  47. ────────────────────────────────────────────────────────────────────
  48. ·
  49. Definitions
  50.  
  51. Present State   Identifies the present state name, as defined in your
  52.                 state diagram.
  53.  
  54.                 ■    Use any combination of up to 14 upper- or
  55.                      lowercase alphanumeric characters: A-Z, 0-9.
  56.  
  57.                 ■    Do not use keywords, reserved words, or logic
  58.                      operators.
  59.  
  60. Condition       Identifies condition names as defined in the
  61.                 conditions section of the state machine design.
  62.  
  63. State           Identifies the next state, as defined in the state
  64.                 diagram.
  65.  
  66. Local Default   Defines the state the machine will go to if none of
  67.                 the specified conditions are satisfied.
  68. ·
  69. Use
  70. You can place state transition equations anywhere within the state
  71. segment except in the CONDITIONS section.
  72.  
  73. In creating transition equations, use the state equation operator, :=,
  74. to separate the present state from the transition.  Use the transition
  75. operator, ->, to identify the condition and corresponding transition
  76. state.  Use the OR operator (+) to indicate additional transitions.
  77. Use the default operator, +->, to identify the local default.
  78.  
  79. In the syntax example, when the state machine is in state TWO, it will
  80. transition to state THREE if the input conditions specified for
  81. COUNT_UP are satisfied.  It will transition to state ONE if the
  82. conditions for COUNT_DWN are satisfied.  If neither of these
  83. conditions are satisfied, it will remain in state two.
  84. ·
  85. Related Topics
  86. CONDITIONS
  87. DEFAULT_BRANCH
  88. DEFAULT_OUTPUT
  89. State Assignment Equation
  90. State Equation
  91. ·
  92.