System Logic
GARD 8000 SYS RFL Electronics
March 26, 2008 8-3 973.334.3100
8.2.4 THREE INPUT OR GATE
A three input OR gate has three inputs and one output, as shown in Figure 8-4. If all inputs are false,
the output is false. If any input is true, the output is true.
Table 8-4. Truth table for Three Input OR gate
Input 1
Input 2
Output
False
True
True
False
False
True
True
False
False
False
False
True
Input 3
False
False
False False
True
True
True
False
True
True True
True
False
True
OUTPUT
INPUT 1
INPUT 2
INPUT 3
True
True
True
True
True
True
Figure 8-4. Three Input OR gate
8.2.5 XOR GATE
An XOR (or Exclusive-OR) gate has two inputs and one output, as shown in Figure 8-5. If one input is
true and the other is false, the output is true. If both inputs are the same state (either true or false), the
output is false.
Table 8-5. Truth table for XOR gate
INPUT 1
INPUT 2
OUTPUT
Input 1
Input 2 Output
False
True
True
False
False
True
True
False
False
True
True
False
Figure 8-5. XOR gate