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

  1. CLOCKF
  2. Overview
  3. This is the keyword of the command that generates a clock pulse on
  4. dedicated clock pins during simulation.  Three test vectors are
  5. generated: raise clock, propagate output, and lower clock.  In the
  6. simulation trace and waveform files, the letter c appears in the
  7. header over the first vector for each pulse.
  8.  
  9.  
  10. Syntax───────────────────────────────────────────────────────────────
  11.                 CLOCKF                Clock_Pin
  12.  
  13. ─────────────────────────────────────────────────────────────────────
  14.  
  15. Device Support:
  16.  
  17.     PAL16R4     PAL16R6      PAL16R8     PAL16V8     PAL18U8  PAL20R4
  18.     PAL20R6     PAL20R8      PAL20V8     PAL20X4     PAL20X8  PAL20X1
  19.     PAL22V10    PAL23S8      PAL24R4     PAL24R8     PAL24R10 PAL26V12
  20.     PALCE29M16  PALCE29MA16  PAL32VX10   PALCE610    PLS105   PLS167
  21.     PLS168      PLS30S16     MACH 1      MACH 2
  22. ·
  23. Syntax
  24. You include this command in the simulation segment or auxiliary
  25. simulation file of Boolean and state-machine designs.
  26.  
  27. Syntax───────────────────────────────────────────────────────────────
  28.                 CLOCKF                Clock_Pin
  29. Example──────────────────────────────────────────────────────────────
  30.                 ...
  31.                 CLOCKF                 CLOCK
  32.                 ...
  33. ─────────────────────────────────────────────────────────────────────
  34. ·
  35. Definitions
  36.  
  37. Clock_Pin       Defines the name of the clock pin as you did in the
  38.                 pin statement of the declaration segment.  You can
  39.                 also use groups and strings.  On some devices, this
  40.                 pin can be either an input or a clock, as described
  41.                 under Use.
  42.  
  43.                 Important: You use a blank space to separate multiple
  44.                 pin names, no comma is needed.
  45. ·
  46. Use
  47. The CLOCKF command is similar to the SETF command , except that CLOCKF
  48. generates a low-to-high-to-low pulse.
  49.  
  50. Important: You cannot use a CLOCKF command for registered devices
  51.            without clock pins.  These require two SETF lines to
  52.            generate the CLOCKF pulse.
  53.  
  54. In any case,
  55.  
  56. ■    If you do not use a SETF command to set the clock signal low
  57.      before clocking the register, the first clock pulse has no
  58.      effect.
  59.  
  60.      Note:  At the start of simulation, clock signals must be
  61.             initialized low.
  62.  
  63. ■    If you design a system using multiple banks of independent clock
  64.      pins and you connect these pins externally for synchronous clock
  65.      cycles, you must list all clock pins in the CLOCKF command to
  66.      synchronize these banks during simulation.
  67.  
  68. ■    If you do not specify a clock pin on the CLOCKF statement, the
  69.      nominated default clock pin for that device is used.
  70.  
  71.      Some devices, such as the PAL30S16, include a pin that can you
  72.      can configure as either an input or a clock.
  73.  
  74. ■    If you define the pin as a clock pin, using a corresponding .CLKF
  75.      command, the CLOCKF command generates a clock pulse for that pin.
  76.  
  77. ■    If you define the pin as a clock input on the PLS30S16, you can
  78.      still use the SETF command to create a test vector for that pin.
  79. ·
  80. Related Topics
  81. CHECK
  82. CHECKQ
  83. PRELOAD
  84. SETF
  85. TEST
  86. ·
  87.