Logic gate

The logic gates are seven constructible items added to Fallout 4 by the Contraptions Workshop add-on.

Characteristics & Functions
Logic gates are used to build advanced cuicuits for different powered components in the player's settlements. There are 3 different types of logic gates, positive logic gates, negative logic gates and exclusive logic gates. The positive gates include AND and OR. The negative gates include NAND, NOR and NOT. The exclusive gates include XNOR and XOR. The AND, OR and XOR gates can directly run live or dead wires from other components however the NAND, NOR, NOT and XNOR gates only run wires from the output of another logic gate. Depending on the type of the Logic gate, the inputs yield different output. Each logic gate has two ports, the red port indicates input and the black port indicates output. Each logic gate can has different number inputs, depending on its type, but convey only one output.

AND
Transmits power only when all the inputs have power.
 * Max Input: multiple
 * Min Input: 2

OR
Transmits power when one input has power.
 * Max Input: multiple
 * Min Input: 2

NAND
Transmits power when atleast one input doesn't have power.
 * Max Input: multiple
 * Min Input: 2

NOR
Transmits power only when no inputs have power.
 * Max Input: multiple
 * Min Input: 2

NOT
Transmitted power is inverted.
 * Max Input: 1
 * Min Input: 1

XNOR
Transmits power only when all input are same. Acts like a negative gate.
 * Max Input: multiple
 * Min Input: 2

XOR
Transmits power when only one input has power. Acts like a positive gate.
 * Max Input: 2
 * Min Input: 2

NB: Connecting additional or insufficient wires to a logic gate will cause the circuit to fail. Not connecting negative gates to the output of positive gates will also cause the circuit to fail