OR gate
OR gate truth table | ||
---|---|---|
Input | Output | |
A | B | A OR B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
In digital electronics, an OR gate is a logic gate which produces an output of true when any of its inputs are true. A LOW (0) output results when all of the inputs to the gate are LOW; if any of the inputs are HIGH (1), a high output results.
Logic
A two-input OR gate can be expressed in Boolean logic as or .