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

  1. DEFAULT_BRANCH
  2. Overview
  3. This keyword begins the statement that defines the global default
  4. branch for state machines as one of three possibilities.
  5.  
  6. ■    A specific state
  7.  
  8. ■    The present state
  9.  
  10. ■    The next state listed on the left side of the state-transition
  11.      equation
  12.  
  13. The default branch will be executed if none of the conditions in the
  14. transition equation are satisfied and no local default is defined.
  15.  
  16. This statement can also utilize the complement array of certain
  17. devices.
  18.  
  19.  
  20.  
  21.  
  22. Device Support: All synchronous registered PAL devices.
  23.  
  24. ·
  25. Syntax
  26. Include the keyword once only, anywhere in the state segment of
  27. state-machine designs.
  28.  
  29. Syntax───────────────────────────────────────────────────────────────
  30.             DEFAULT_BRANCH  State  Comp
  31.             DEFAULT_BRANCH  HOLD_STATE
  32.             DEFAULT_BRANCH  NEXT_STATE
  33. Example──────────────────────────────────────────────────────────────
  34.             STATE                       ;State Setup and Defaults
  35.             DEFAULT_BRANCH  INIT        ;defaults to INIT state
  36.             DEFAULT_BRANCH  INIT  Comp  ;uses complement array
  37.             DEFAULT_BRANCH  HOLD_STATE  ;defaults to present state
  38.             DEFAULT_BRANCH  NEXT_STATE  ;defaults to next state
  39. ...
  40. ─────────────────────────────────────────────────────────────────────
  41. ·
  42. Definitions
  43.  
  44. State           Defines the default state that is enabled when the
  45.                 next state cannot be determined from the transition
  46.                 equations.  The state name must adhere to the
  47.                 following guidelines.
  48.  
  49.                 ■  It must be unique.
  50.  
  51.                 ■  It can include up to 14 alpha-numeric characters.
  52.  
  53.                 ■  It cannot include operators or reserved words.
  54.  
  55. Comp            Define the name of the complement array node, which
  56.                 must be listed in the pin and node statements.  This
  57.                 use results in shorter equations and fewer product
  58.                 terms; however, it slows device performance.
  59.  
  60.                 ■  You can use a complementary array node only for the
  61.                    PLS105, PLS167, PLS168, and PLS3016.
  62.  
  63.                 ■  You cannot use the complement array when specifying
  64.                    the next or hold state branches.
  65.  
  66. HOLD_STATE      When the next state cannot be determined from the
  67.                 transition equations, the machine will remain in its
  68.                 present state.
  69.  
  70.                 If no Default_Branch or local default branch are
  71.                 defined, the default becomes Hold_State.
  72.  
  73. NEXT_STATE      When the next state cannot be determined from the
  74.                 transition equations, the machine will transition to
  75.                 the next state listed in the PDS file.
  76. ·
  77. Use
  78. The software recognizes two types of default states, global and local.
  79.  
  80. ■    A local default state applies to a specific state and overrides
  81.      the global default.  Using a DEFAULT_BRANCH statement can
  82.      eliminate typing a local default statement for each state.
  83.  
  84. ■    The global default state applies to all states.
  85.  
  86. The following guidelines apply.
  87.  
  88. ■    When the next state cannot be determined from the design, the
  89.      local or global default provides the state so the machine knows
  90.      where to branch next.
  91.  
  92. ■  When you include multiple DEFAULT_BRANCH statements, only the last
  93.    one is used.
  94.  
  95. Note: DEFAULT_BRANCH does not work for undefined states.
  96. ·
  97. Related Topics
  98. DEFAULT_OUTPUT
  99. Local Default
  100. .OUTF
  101. OUTPUT_HOLD
  102. STATE
  103. ·
  104.