logOr

Connection diagram

logOr
in_0       out
in_1       invOut
...      
in_999      
         
 

Description

Output state is a logical OR function of the states of the connected inputs.
If any connected input has true state, output state becomes true.
If no input connection is made, output state is false.

Inputs

in_0 ... in_999

Typeboolean
N.C.ignored

Inputs 0 to 999 can be connected in any order.

Outputs

out

Typeboolean

OR function of the connected inputs.

invOut

Typeboolean

Inverted function of output.

Example

<!--
    Self-oscillating circuit. 
    The oscillation frequency is fixed to process frequency / 2.
    Note that the component Id can be omitted in the 'from' attribute
    of a 'wire' if it connects to an output from the same component.
-->
<logOr id="oscillator">
    <wire from=".invOut" to="in_0"/>
</logOr>