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

  1. STATE EQUATION
  2. Overview
  3. STATE EQUATIONS control the transitions, outputs, state assignment and
  4. conditions of state machines. 
  5.  
  6. Syntax──────────────────────────────────────────────────────────────
  7.  
  8.     State Equations
  9.         Transition Equations
  10.         Output Equations
  11.         State Assignment Equations
  12.         Condition Equations
  13. ────────────────────────────────────────────────────────────────────
  14.  
  15. Device Support:
  16. PAL10H20EV8    PAL16R4    PAL16R6    PAL16R8     PAL16RP4    PAL16RP6
  17. PAL16RP8       PALCE16V8  PAL18U8    PAL20R4     PAL20R6     PAL20R8
  18. PAL20RS4       PAL20RS8   PAL20RS10  PALCE20V8   PAL20X4     PAL20X8
  19. PAL20X10       PAL22RX8   PAL22V10   PAL23S8     PAL24R10    PAL24R4
  20. PAL24R8        PAL26V12   PALCE29M16 PALCE29MA16 PAL32R16    PAL32VX10
  21. PAL64R32       PALCE610   PLS105     PLS167      PLS168      PLS30S16
  22. MACH 1         MACH 2
  23. ·
  24. Syntax
  25. Use these equations in the state segment of the design to define the 
  26. behavior of the state machine.
  27.  
  28.  
  29. Syntax──────────────────────────────────────────────────────────────
  30.  
  31.     State Equations
  32.         Transition Equations
  33.         Output Equations
  34.         State Assignment Equations
  35.         Condition Equations
  36. Example─────────────────────────────────────────────────────────────
  37.     STATE
  38.  
  39.         ;State Setup and Defaults
  40.         MOORE MACHINE
  41.         START_UP := POWER_UP -> S1
  42.         DEFAULT_BRANCH HOLD_STATE
  43.         ;State  Transition Equations
  44.         S1 := COND1-> S3 
  45.               + COND2 -> S7
  46.         ...
  47.         ;State  Output Equations
  48.         S1.OUTF = OUT1*/OUT2
  49.         ...
  50.         ;State Assignment Equations
  51.         S1 = /STATEBIT1 * /STATEBIT2
  52.         ...
  53.         ;State Condition Equations
  54.         CONDITIONS
  55.         COND1 = IN1 * /IN2 * IN3
  56.         ...
  57. ────────────────────────────────────────────────────────────────────
  58. ·
  59. Definitions
  60.  
  61. Transition      These equations specify, for each state, what the next
  62. Equations       state will be under various conditions.
  63.  
  64. Output          These equations specify the output of the state
  65. Equations       machine.  For a Moore machine, they define the outputs
  66.                 for a given state. For a Mealy machine, they define
  67.                 the outputs for a given state and input condition.
  68.  
  69. State           These assignments define states as unique combinations
  70. Assignments     of register bits.
  71.  
  72. Condition       These equations specify a condition name for each set
  73. Equations       of input values used to determine a transition.  You
  74.                 can use input names directly only if a single input
  75.                 controls the transition; otherwise, you must use
  76.                 condition names.
  77. ·
  78. Use
  79. The order of state equations is not important except for condition
  80. equations which have their own section under the CONDITIONS keyword.
  81. The conditions segment must terminate the state segment. Setups and
  82. defaults are not equations and must appear at the beginning of the
  83. state segment
  84. ·
  85. Related Topics
  86. CONDITIONS
  87. .OUTF
  88. STATE
  89. State Assignment Equation
  90. State Transition Equation
  91. ·
  92.