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

  1. FUNCTIONAL EQUATION
  2. Overview
  3. Functional equations control signals that cannot be regulated directly
  4. through a pin or node.  These are typically control signals associated
  5. with an input/output pin or node, such as set, clock, and three-state.
  6. Functional equations work like Boolean equations in that the function
  7. is asserted when the expression is true.
  8.  
  9.  
  10. Syntax──────────────────────────────────────────────────────────────
  11.             EQUATIONS
  12.             Pn.Function   Assignment   Expression
  13.                            Operator
  14.  
  15. ─────────────────────────────────────────────────────────────────────
  16.  
  17. Device Support:  Refer to the specific functional-equation reserved
  18.                  word, such as .CLKF, for supported devices.
  19. ·
  20. Syntax
  21. You include functional equations anywhere in the equations segment of
  22. Boolean and state-machine designs.
  23.  
  24. Syntax──────────────────────────────────────────────────────────────
  25.             EQUATIONS
  26.             Pn.Function   Assignment   Expression
  27.                            Operator
  28. Example─────────────────────────────────────────────────────────────
  29.             EQUATIONS
  30.             Q0.CLKF           =        CLOCK
  31.             Q1.SETF           =        SET * /RST
  32.             Q1.RSTF           =        RST * /SET
  33. ────────────────────────────────────────────────────────────────────
  34. ·
  35. Definitions
  36.  
  37. Pn.Function     Defines the pin or node name, as defined in the pin
  38.                 and node statements, and the specific function, which
  39.                 can be any of the following.
  40.  
  41.                 Function         Definition
  42.  
  43.                 .CLKF            Clock control
  44.                 .CMBF            Register bypass control
  45.                 .PRLD            Register preload control
  46.                 .RSTF            Flip-flop power up or reset control
  47.                 .SETF            Flip-flop preset control
  48.                 .TRST            Three-state buffer control
  49.  
  50.                 You cannot include multiple functional equations for
  51.                 the same pin or node.  If you do, an error is reported
  52.                 during either assembly or fitting.  However, you can
  53.                 use the GROUP, STRING, and VECTOR notation to define
  54.                 signals, which is an excellent way to assign a
  55.                 function to several pins and nodes.
  56.  
  57.                 Note: .CLKF is the only functional equation where you
  58.                 can use negative polarity on the left side of the
  59.                 equation to define a falling edge clock on devices
  60.                 that support this feature.
  61.  
  62.                 Also:  .J, .K, .R, .S, .T, .T1, and .T2 are not
  63.                 functional equations.  For more information on these
  64.                 Boolean-type equations, refer to corresponding
  65.                 individual descriptions in this guide.
  66.  
  67. Assignment      A symbol that defines a specific operation as
  68. Operator        interpreted by the software when processing design
  69.                 files.  Only the equal sign, =, can be used with
  70.                 functional equations.  The registered assignment
  71.                 operator, :=, can be used for registered operations.
  72.  
  73. Expression      A group of signal values or product terms, on the
  74.                 right side of an equation, represented as product and
  75.                 sum lines.  The product operator, *, is a logical AND
  76.                 function and the sum operator, +, is a logical OR
  77.                 function.  You can use strings and vectors in an
  78.                 expression.
  79.  
  80.                 All values in an expression for a PLD design are
  81.                 signal names that must be defined before their use.
  82.                 The name must be defined in pin and node statements in
  83.                 the declaration segment of the PDS file.
  84. ·
  85. Use
  86. To use negative polarity on devices that support clock polarity, just
  87. omit the slash, /, after the dot, ., extension, for example, Q0./CLKF.
  88. For the PALCE29M16, place the slash before the equation.  For example,
  89. /Q0.CLKF.
  90.  
  91. The defaults for each functional equation are as follows.
  92.  
  93. ■    .CLKF always defaults to the default clock pin for the device.
  94.  
  95. ■    .CMBF defaults to combinatorial.
  96.  
  97. ■    .PRLD defaults to ground.
  98.  
  99. ■    .SETF and .RSETF both default to a bank if they are part of a
  100.      bank expression.  Otherwise, they default to ground.
  101.  
  102. ■    .TRST defaults to VCC if an output equation is defined.
  103.      Otherwise, it defaults to ground.
  104. ·
  105. Related Topics
  106. Boolean Equation
  107. .CLKF
  108. .CMBF
  109. EXPRESSION
  110. .PRLD
  111. .RSTF
  112. .SETF
  113. .TRST
  114. ·
  115.