# OR Gate

The OR gate is a mostly used digital logic circuit. The output state of the OR gate will always be low when both of the inputs states is low. Simply, if any input value in the OR gate is set to 1, then it will always return high-level output(1).

The logic or Boolean expression for the OR gate is the logical addition of inputs denoted by plus sign(+) as

A+B=Y

The value of Y will be true when one of the inputs is set to true.

## Types of Digital Logic AND Gate

Just like AND gate, the OR gate is also classified into three types based on the input it takes. These are the following types of OR gate:

### The 2-input OR gate

This is the simple form of the OR gate. In this type of OR gate, there are only two input values and an output value. There are 22=4 possible combinations of inputs. The truth table and logic design are given below:

Logic Design Truth Table ### The 3-input OR gate

Just like AND gate, the OR gate can also have any number of individual inputs. The Boolean expression of the logical OR gate is defined as the binary operation plus(+). Like AND gate, OR gate can also be cascaded together to form any number of individual inputs. There are 23=8 possible combinations of inputs. The truth table and logic design are given below:

Logic Design Truth Table ### The Multi-input OR Gate

The n-input OR gate can also be formed. If there are n inputs, then (N/2)+1 OR gates will be used.

For example:

If we have 6 inputs A, B, C. D, E, F, then 4 OR gates are used in the logic design of the 6-input OR gate. There is the following expression of the 6-input OR gate:

Y=(A+B)+(C+D)+(E+F)

In simple words, it is expressed as:

Y=A OR B OR C OR D OR E OR F

Logic Design Truth Table Next TopicNOT Gate

### Feedback   