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

  1. .CLKF
  2. Overview
  3. This is the reserved word in a functional equation that defines a
  4. clock signal for a pin or node.  The operation differs depending upon
  5. the device you've chosen.  For example, for devices with programmable
  6. clocks, you can use .CLKF to assert the clock on a flip-flop.
  7.  
  8.  
  9. Syntax──────────────────────────────────────────────────────────────
  10.  
  11.         Pn.CLKF       Assignment Operator    Expression
  12.  
  13. ─────────────────────────────────────────────────────────────────────
  14.  
  15.  
  16. Device Support:
  17.  
  18.     PAL16RA8    PAL20RA10  PAL26V12    PALCE29M16  PALCE29MA16
  19.     PAL32VX10   PALCE610   PLS30S16    MACH 1      MACH 2
  20. ·
  21. Syntax
  22. You use this reserved word in a functional equation in the equations
  23. segment of Boolean and state designs or in any registered-latched
  24. design.
  25.  
  26. Syntax──────────────────────────────────────────────────────────────
  27.  
  28.         Pn.CLKF       Assignment Operator    Expression
  29.  
  30. Example──────────────────────────────────────────────────────────────
  31.  
  32.         Q0.CLKF                =             EXT
  33. ─────────────────────────────────────────────────────────────────────
  34. ·
  35. Definitions
  36.  
  37. Pn.CLKF         Assign a pin or node name followed by the reserved
  38.                 word, .CLKF.  The name must be defined in an earlier
  39.                 pin or node statement in the declaration segment.  A
  40.                 slash, /, in front the pin or node name defines a
  41.                 falling edge clock.  No slash defines a rising edge
  42.                 clock.
  43.  
  44. Assignment      Include a symbol that defines a specific operation
  45. Operator        as interpreted by the software when processing design
  46.                 files.
  47.  
  48. Expression      Include the signal name or expression that defines the
  49.                 clock source.
  50.  
  51.                 Important: In PLDs with multiple clocks, you must
  52.                 specify the clock pin, don't use an expression.
  53.  
  54.                 All values in an expression for a PLD design are
  55.                 signal names that must be defined in earlier pin and
  56.                 node statements.  In the syntax example, when EXT is
  57.                 true, the clock associated with Q0 is asserted.
  58. ·
  59. Use
  60. Multiple .CLKF statements for the same pin or node are automatically
  61. ORed together into one statement.  This can result in an error during
  62. either assembly or fitting.
  63.  
  64. If no clock pin is defined using the .CLKF instruction, registered
  65. outputs default to the nominated default pin for the specified device.
  66.  
  67. Note: For devices that do not have a default clock pin, you must
  68.       define a clock pin.  For example, PAL20RA10.
  69.  
  70. You can use a GROUP, STRING, or VECTOR notation to define signals,
  71. which is an excellent way to assign a functional equation to several
  72. pins.
  73.  
  74. The following example shows how to use vector notation.
  75.  
  76.  
  77.     ;DECLARATION SEGMENT
  78.         PIN         14..16           Q[0..2]
  79.         PIN         8..10            CLK[0..2]
  80.  
  81.     ;EQUATIONS
  82.         Q[0..2].CLKF   =             CLK[0..2]
  83.  
  84. This generates the following equations.
  85.  
  86.         Q[0.CLKF       =             CLK[0]
  87.         Q1[1].CLKF     =             CLK[1]
  88.         Q[2].CLKF      =             CLK[2]
  89.  
  90. The following example shows how to use a string statement.
  91.  
  92.     ;DECLARATION SEGMENT
  93.         STRING     IN1        'A1 * A2'
  94.  
  95.     ;EQUATIONS
  96.         Q0.CLKF        =      IN1
  97.  
  98. This generates the following equation.
  99.  
  100.         Q0.CLKF        =       A1 * A2
  101.  
  102. The following example shows how to use a group statement.
  103.  
  104.     ;DECLARATION SEGMENT
  105.         GROUP      CLOCKS     A  B  C
  106.  
  107.     ;EQUATIONS
  108.         CLOCKS.CLKF    =        D*E
  109.  
  110. This generates the following equations.
  111.  
  112.         A.CLKF         =        D*E
  113.         B.CLKF         =        D*E
  114.         C.C.KF         =        D*E
  115. ·
  116. Related Topics
  117. Functional Equation
  118. GROUP
  119. ·
  120.