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

  1. .OUTF
  2. Overview
  3. This keyword defines state output equations for Mealy and Moore
  4. machines.
  5.  
  6.  
  7. Syntax───────────────────────────────────────────────────────────────
  8.  
  9.         Moore machines
  10.             Statename.OUTF  =   Output expression
  11.         Mealy machines
  12.             Statename.OUTF  =   Condition 1 -> Output 1
  13.                                 + Condition 2 -> Output 2
  14.                                 ...
  15.                                 + Condition n -> Output n
  16.                                 +-> Local default
  17.  
  18. ────────────────────────────────────────────────────────────────────
  19.  
  20. Device Support:
  21.  
  22.   PAL10H20EV8  PAL16R4    PAL16R6     PAL16R8     PAL16RP4  PAL16RP6
  23.   PAL16RP8     PALCE16V8  PAL18U8     PAL20R4     PAL20R6   PAL20R8
  24.   PAL20RS4     PAL20RS8   PAL20RS1    PALCE20V8   PAL20X4   PAL20X8
  25.   PAL20X10     PAL22RX8   PAL22V10    PAL23S8     PAL24R10  PAL24R4
  26.   PAL24R8      PAL26V12   PALCE29M16  PALCE29MA16 PAL32R16  PAL32VX10
  27.   PALCE610     PLS105     PLS167      PLS168      PLS30S16  MACH 1
  28.   MACH 2
  29. ·
  30. Syntax
  31. Include .OUTF in output equations in the state segment of
  32. state-machine designs.
  33.  
  34. Syntax───────────────────────────────────────────────────────────────
  35.  
  36.         Moore machines
  37.             Statename.OUTF  =   Output expression
  38.         Mealy machines
  39.             Statename.OUTF  =   Condition 1 -> Output 1
  40.                                 + Condition 2 -> Output 2
  41.                                 ...
  42.                                 + Condition n -> Output n
  43.                                 +-> Local default
  44. Example──────────────────────────────────────────────────────────────
  45.         ...
  46.         Moore machines
  47.             TWO.OUTF        =   /CNT2 * CNT1 * /CNT0
  48.         Mealy machines
  49.             TWO.OUTF        =   RUN_UP -> /CNT2 * CNT1 * /CNT0
  50.                                 ...
  51.                                 TEST -> CNT2 * CNT1 * CNT0
  52.                                 +-> /CNT2 * /CNT1 * /CNT0
  53.             ...
  54. ─────────────────────────────────────────────────────────────────────
  55. ·
  56. Definitions
  57.  
  58. Statename       Identifies the name of the state as specified in the
  59.                 state assignments or state-transition equations.  It
  60.                 must be unique and it can have up to 14 alphanumeric
  61.                 characters.
  62.  
  63. Outputs         These are pin names with their appropriate logic sense
  64.                 to create the desired logic values.  Outputs are
  65.                 separated by an asterisk, *.  In the syntax example,
  66.                 when the Moore machine is in state TWO, the output
  67.                 bits CNT2, CNT1 and CNT0 will be 0, 1, and 0
  68.                 respectively.
  69.  
  70.                 When the Mealy machine is in state TWO and the inputs
  71.                 match the condition defined as RUN_UP, the output bits
  72.                 CNT2, CNT1 and CNT0 will be 0, 1, and 0 respectively.
  73.  
  74.                 You specify the output values regardless of pin
  75.                 polarity.  The software adjusts polarity as necessary.
  76.  
  77. Conditions      In a Mealy machine, the outputs depend on the current
  78.                 state and the current input conditions.  This field
  79.                 defines the condition under which the specified output
  80.                 will occur.  The condition names must be defined in
  81.                 the conditions section of the state machine design.
  82.  
  83.                 If the condition consists of a single input, the input
  84.                 name may be used in place of the condition name.  You
  85.                 can use VCC to specify an unconditional output.
  86.  
  87.                 Moore machine outputs do not have conditions since
  88.                 their outputs are determined only by the present
  89.                 state.
  90.  
  91. Local Default   This output is generated if none of the conditions is
  92.                 satisfied.  Local defaults are valid only for Mealy
  93.                 machines and will override global defaults.
  94. ·
  95. Use
  96. You can place output equations anywhere within the state segment.  You
  97. may prefer to have all the output equations after all the state
  98. equations or have a state equation and then its corresponding output
  99. equation.
  100.  
  101. You can use the following operators in state output equations.
  102.  
  103.     Operator      Definition
  104. ────────────────────────────────────────────────────────────────────
  105.     ->            Conditional output for Mealy machines
  106.     +->           Local default for a Mealy machine
  107.     =             Combinatorial assignment operator
  108.     :=            Registered assignment operator
  109.  
  110. For Mealy machines, conditions in an .OUTF equation don't have to
  111. match conditions in the state-transition equations.  However,
  112. conditions that don't match are unusual.
  113.  
  114. You can omit the output equations if you use the state bits as
  115. outputs.  You do this by making the output pins the same as the state
  116. bits and preforming manual state bit assignment.
  117.  
  118. If you omit output equations, don't use the following constructs.
  119.  
  120. ■    DEFAULT_OUTPUT
  121.  
  122. ■    OUTPUT_HOLD
  123.  
  124. You can define some outputs with state bits and some with output
  125. equations.
  126.  
  127. If you don't use the state bits as outputs, you must specify output
  128. equations.  Default output specifications are optional.
  129.  
  130. Registered Mealy machine outputs are valid one clock cycle after
  131. reaching the new state.  Combinatorial Mealy and Moore machine outputs
  132. and registered Moore machine outputs are valid upon reaching the new
  133. state.  Undefined output pins have a don't-care value.
  134. ·
  135. Related Topics
  136. CONDITIONS
  137. DEFAULT_BRANCH
  138. DEFAULT_OUTPUT
  139. Local Default
  140. MEALY_MACHINE
  141. MOORE_MACHINE
  142. OPERATOR
  143. OUTPUT_HOLD
  144. STATE
  145. State Assignment Equation
  146. State Equation
  147. State Output Equation
  148. State Transition Equation
  149. ·
  150.