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

  1. CHECKQ
  2. Overview
  3. This is the keyword of a simulation command that verifies that values
  4. at the Q outputs of registers are equal to expected values.
  5.  
  6.  
  7. Syntax──────────────────────────────────────────────────────────────
  8.         CHECKQ    Prefix_Rns
  9.  
  10. ─────────────────────────────────────────────────────────────────────
  11.  
  12. Device Support: All PLD devices.
  13. ·
  14. Syntax
  15. You use the CHECKQ command in either the simulation segment of a PDS
  16. file or in an auxiliary simulation file for Boolean, state-machine, or
  17. schematic-based designs.
  18.  
  19. Syntax──────────────────────────────────────────────────────────────
  20.         CHECKQ    Prefix_Rns
  21. Example─────────────────────────────────────────────────────────────
  22.         SIMULATION
  23.         CHECKQ     Q0 /Q1 PLAYING
  24.         CHECKQ     A[0..2] =#O4
  25. ─────────────────────────────────────────────────────────────────────
  26. ·
  27. Definitions
  28.  
  29. Because CHECKQ verifies signal values at the Q output of registers,
  30. you do not need to account for active-low pin declarations.  This
  31. makes CHECKQ especially useful for verifying states.
  32.  
  33. Prefix          The prefix indicates the logic state of the
  34.                 corresponding register, node, or state.  Do not leave
  35.                 a space between Prefix and Pns.  There are two
  36.                 prefixes: null and forward slash.
  37.  
  38. CheckQ          ■  The null prefix indicates that the register or node
  39.                    should be a logical 1.  In the syntax example, Q0
  40.                    has a null prefix.When used in conjunction with a
  41.                    state name, a null prefix indicates that the
  42.                    specified state should be checked.  In the syntax
  43.                    example, PLAYING has a null prefix.
  44.  
  45.                 ■  The forward slash, /, indicates that the signal
  46.                    should be a logical 0.  In the syntax example, Q1
  47.                    has a forward slash prefix.
  48.  
  49. Rns             Define the names of the output registers, nodes, or
  50.                 states to be verified.  Each value represents both the
  51.                 signal name or state and the expected output value.
  52.  
  53.                 ■  Each signal name can be up to 14 characters in
  54.                    length.
  55.  
  56.                 ■  Include up to 76 characters per line and use as
  57.                    many lines as you need.  The screen displays up to
  58.                    76 characters per line; however, all information is
  59.                    processed properly even if it extends beyond the
  60.                    76th character.
  61.  
  62.                 ■  Include a space between the keyword and the first
  63.                    register, node, or state in the list.You can
  64.                    include multiple register and node names.  You can
  65.                    use strings or vector notation to define the signal
  66.                    list.
  67.  
  68.                 ■  Separate multiple prefixed register and node names
  69.                    with a space.
  70.  
  71.                         CHECKQ A[0..6] = #b011001100
  72. ·
  73. Use
  74. The CHECKQ command verifies that signal values at the register outputs
  75. are equal to the expected values.  In contrast, the CHECK command
  76. verifies pin and node signal values.
  77.  
  78. Because CHECKQ verifies signal values at the Q output of registers,
  79. you do not need to account for active-low pin declarations.  This
  80. makes CHECKQ especially useful for verifying states.
  81.  
  82. A conflict occurs when the value of the output register does not match
  83. the value defined in the CHECKQ command.  Each conflict is identified
  84. with a question mark, ?, in the simulation output files; a warning is
  85. issued and the expected value is reported in the execution-log file.
  86.  
  87. The CHECKQ command verifies logical operations only and does not
  88. create test vectors in the JEDEC file.
  89. ·
  90. Related Topics
  91. CHECK
  92. SIMULATION
  93. TEST
  94. ·
  95.