XOR logic gate, diagram. Logic gates are electrical circuits that are wired so as to produce a specific output according to logical rules. The diagram shows two inputs (A and B) and an output (Q). The XOR (exclusive-OR) gate only outputs on if the inputs are different, as shown in the table at lower right. The inputs here are both on, with the LED (light-emitting diode) at right in the off (unlit) state. The shape of the logic gate shown here is that of the XOR symbol used on circuit diagrams. For a series of diagrams of the seven basic logic gates (NOT, OR, AND, NOR, NAND, XOR and XNOR), see images C045/9800 to C045/9806. |