Equations Keyword
Syntax
EQUATIONS
element [?]:= condition ;
element [?]= condition ;
Use
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.
equations
A = B & C # A ;
[W,Y] = 3 ;
!F = B == C ;
output.D = in1 # in2 ;