Equation devices are a kind of sub sircuits. Instead of creating a new circuit you can describe the logic behavour of such a device with equations.
Choose this device type from the menu.
Drop a new equation device and double-click on it, the properties dialog opens.
First of all you must define inputs and outputs for the device.
To add an input, ckick the button "new" in the input group.
You can add two different types of outputs.
A normal output (Button "new" in the output group) adds a visible output to the device.
Further you can add internal outputs to the device using the button "intern".
Internal outputs are not visible, they are marked in the listbox with the extension "(intern)" which is certainly not part of the output name.
After creating one or more outputs you can define equations for them.
Select the output for which you want to define an equation in the listbox,
then type in the equation into the editbox shown below the listbox.
( .. ) Parenthesis
/ Invertation
# XOR
& AND
+ OR
0 constant low level, an input called "0" has priority
1 constant high level, an input called "1" has priority
any defined input name
any defined output name
For example if you have defined the input inp1 and the outputs out1 and out2 (intern) you can type in the following equation:
[out1=] (inp1 + out2) & /out1 + /(inp1 + out2)
[out2=] out1
All outputs changes their value at the same time after the completed calculation of all equations.
So "out2" sees the old value of "out1" at calculation time.