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

  1. CONDITIONS
  2. Overview
  3. This keyword identifies the beginning of the state condition-
  4. equations segment.
  5.  
  6.  
  7. Syntax───────────────────────────────────────────────────────────────
  8.      CONDITIONS    Name      Assignment Operator    Expression
  9.  
  10. ─────────────────────────────────────────────────────────────────────
  11.  
  12. Device Support:  All synchronous registered PAL devices.
  13. ·
  14. Syntax
  15. This keyword must begin the condition-equations segment, and must be
  16. the last part of the state segment in a PDS file.
  17.  
  18. Syntax───────────────────────────────────────────────────────────────
  19.      CONDITIONS    Name      Assignment Operator    Expression
  20.  
  21. Example──────────────────────────────────────────────────────────────
  22.      STATE
  23.      ...
  24.      CONDITIONS    QRUN               =             Q2 * /Q1 * /Q0
  25.                                                     + Q3 * Q2
  26.                                                     + Q3 * Q1
  27.                                                     + Q3 * Q0
  28. ─────────────────────────────────────────────────────────────────────
  29. ·
  30. Definitions
  31.  
  32. Name            Condition equations define the branching conditions
  33.                 that determine transitions and outputs.
  34.  
  35.                 ■  Ensure that each name is unique.
  36.  
  37.                 ■  Include up to fourteen, 14, alphanumeric
  38.                    characters.Do not include operators or reserved
  39.                    words.
  40.  
  41. Assignment      A symbol that defines a specific operation as
  42. Operator        interpreted by the software when processing design
  43.                 files.
  44.  
  45. Expression      Assign a Boolean expression to define the condition.
  46.  
  47.                 ■  All signal names in the expression must be defined
  48.                    in pin and node statements in the declaration
  49.                    segment of the PDS file.
  50.  
  51.                 ■  Parentheses are allowed in the expression.
  52.  
  53.                 ■  VCC can be specified for unconditional-high
  54.                    signals.
  55.  
  56.                 ■  Multiple product terms are allowed in the
  57.                    expression.
  58. ·
  59. Use
  60. The condition equations define condition names that are used in state
  61. transition equations, as shown in the example below.
  62.  
  63.         S1 := C1 -> S2
  64.               C2 -> S3
  65.  
  66.         CONDITIONS       ;begin conditions segment
  67.         C1 = I1
  68.         C2 = /I1
  69.  
  70. If the condition consists of a single input, the input name can be
  71. used in place of a condition name.  As shown in the example below.
  72.  
  73.         S4 := /I3 -> S5
  74.  
  75. If the condition consists of more than a single input, you must write
  76. a condition equation and use the condition name in the state
  77. transition equation.
  78.  
  79. You must avoid conflicting conditions for branching, as shown below:
  80. the design must be changed to prevent overlapping conditions.  In this
  81. example, it is impossible to determine whether S1 goes to S2, or S1
  82. goes to S3, when A, B, and C all equal 1 or 0.
  83.  
  84.         ;conflicting conditions example
  85.         S1 := C1 -> S2
  86.               + C2 -> S3
  87.         CONDITIONS       ;begin conditions segment
  88.         C1 = A * B
  89.         C2 = A * C
  90. ·
  91. Related Topics
  92. DEFAULT_BRANCH
  93. DEFAULT_OUTPUT
  94. EXPRESSION
  95. Local Default
  96. OPERATOR
  97. STATE
  98. State Equation
  99. State Transition Equation
  100. ·
  101.