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

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