home *** CD-ROM | disk | FTP | other *** search
- ≡
- CHECKQ
- Overview
- This is the keyword of a simulation command that verifies that values
- at the Q outputs of registers are equal to expected values.
-
-
- Syntax──────────────────────────────────────────────────────────────
- CHECKQ Prefix_Rns
-
- ─────────────────────────────────────────────────────────────────────
-
- Device Support: All PLD devices.
- ·
- Syntax
- You use the CHECKQ command in either the simulation segment of a PDS
- file or in an auxiliary simulation file for Boolean, state-machine, or
- schematic-based designs.
-
- Syntax──────────────────────────────────────────────────────────────
- CHECKQ Prefix_Rns
- Example─────────────────────────────────────────────────────────────
- SIMULATION
- CHECKQ Q0 /Q1 PLAYING
- CHECKQ A[0..2] =#O4
- ─────────────────────────────────────────────────────────────────────
- ·
- Definitions
-
- Because CHECKQ verifies signal values at the Q output of registers,
- you do not need to account for active-low pin declarations. This
- makes CHECKQ especially useful for verifying states.
-
- Prefix The prefix indicates the logic state of the
- corresponding register, node, or state. Do not leave
- a space between Prefix and Pns. There are two
- prefixes: null and forward slash.
-
- CheckQ ■ The null prefix indicates that the register or node
- should be a logical 1. In the syntax example, Q0
- has a null prefix.When used in conjunction with a
- state name, a null prefix indicates that the
- specified state should be checked. In the syntax
- example, PLAYING has a null prefix.
-
- ■ The forward slash, /, indicates that the signal
- should be a logical 0. In the syntax example, Q1
- has a forward slash prefix.
-
- Rns Define the names of the output registers, nodes, or
- states to be verified. Each value represents both the
- signal name or state and the expected output value.
-
- ■ Each signal name can be up to 14 characters in
- length.
-
- ■ Include up to 76 characters per line and use as
- many lines as you need. The screen displays up to
- 76 characters per line; however, all information is
- processed properly even if it extends beyond the
- 76th character.
-
- ■ Include a space between the keyword and the first
- register, node, or state in the list.You can
- include multiple register and node names. You can
- use strings or vector notation to define the signal
- list.
-
- ■ Separate multiple prefixed register and node names
- with a space.
-
- CHECKQ A[0..6] = #b011001100
- ·
- Use
- The CHECKQ command verifies that signal values at the register outputs
- are equal to the expected values. In contrast, the CHECK command
- verifies pin and node signal values.
-
- Because CHECKQ verifies signal values at the Q output of registers,
- you do not need to account for active-low pin declarations. This
- makes CHECKQ especially useful for verifying states.
-
- A conflict occurs when the value of the output register does not match
- the value defined in the CHECKQ command. Each conflict is identified
- with a question mark, ?, in the simulation output files; a warning is
- issued and the expected value is reported in the execution-log file.
-
- The CHECKQ command verifies logical operations only and does not
- create test vectors in the JEDEC file.
- ·
- Related Topics
- CHECK
- SIMULATION
- TEST
- ·
-