Equations Keyword
The equations statement defines the beginning of a group of equations
associated with a device. Equations specify logic functions with Boolean algebra. An
ending semicolon is required after each equation.
Use When-then-else for conditional expressions in equations. If-then-else is
used only in State_diagram descriptions.
element [?]:= condition ;
element [?]= condition ;
CAUTION: The := and ?:= assignment operators are used only when writing pin-to-pin registered
equations. Use the = and ?= assignment operators for registered equations using detailed dot extensions.
Example
A = B & C # A ;
[W,Y] = 3 ;
!F = B == C ;
output.D = in1 # in2 ;
See Also