home *** CD-ROM | disk | FTP | other *** search
- ≡
- .K EQUATION
- Overview
- This equation defines when to set the K input on K-type flip-flops to
- high.
-
-
- Syntax───────────────────────────────────────────────────────────────
- Pn.K Assignment Expression
- Operator
-
- ────────────────────────────────────────────────────────────────────
-
- Device Support: PALCE610.
- ·
- Syntax
- You use the .K equation in the equations segment of Boolean or
- state-machine designs.
-
- Syntax───────────────────────────────────────────────────────────────
- Pn.K Assignment Expression
- Operator
- Example──────────────────────────────────────────────────────────────
- EQUATIONS
- ...
- Q1.K = IN1 * /IN2
- ...
- ────────────────────────────────────────────────────────────────────
-
- ·
- Definitions
-
- Pn.K Identifies the pin or node associated with the K-
- flip-flop. The name must be defined in an earlier pin
- or node statement in the declaration segment.
-
- Assignment A symbol that defines a specific operation as
- Operator interpreted by the software when processing design
- files.
-
- Expression Identifies the logic that defines when the input on
- .K- type flip-flops is set high. In the syntax
- example, when IN1 is true and IN2 is false, the
- flip-flop associated with the pin or node Q1 is set
- high.
- ·
- Use
-
- You can place the .K equation anywhere in the equations segment.
- Follow the rules below.
-
- ■ You cannot have multiple equations for the same pin or node. If
- you do, the software reports an error during compilation and the
- process is halted.
-
- ■ You cannot use negative polarity on the left side of the
- equation. For example, /Q1.K is not allowed.
-
- ■ You can use group, string, and vector notation to define signals.
- This is an excellent way to assign the .K equation to several
- pins.
- ·
- Related Topics
- Boolean Equation
- EXPRESSION
- GROUP
- STRING
- VECTOR
- ·
-