Exclusive OR Gate
The Exclusive OR (XOR) gate is used to indicate that the output occurs if and only if one of the two input events occurs and the other input event does not occur. An XOR gate can only have two inputs. The output of an Exclusive OR gate can be the top event or an intermediate event. The input events can be basic events, intermediate events or a combination of both. The presence of an XOR gate may give rise to non-coherent trees, where the non-occurrence of an event causes the top event to occur.
Logic Summary
If one and only one input event is true (T), the output is true (T). If more than one input is true (T), then the output is false (F). Table 5-5 shows the input and output events for an Exclusive OR gate.
Table 5-5. Truth Table for Exclusive OR Gate
Input A
Input B
Output
T
T
F
T
F
T
F
T
T
F
F
F