OR Gate
In digital electronics, there is a type of basic logic gate which produces a low or logic 0 output only when its all inputs are low or logic 0. For all other input combinations, the output of the OR gate is high or logic 1. This logic gate is termed as OR gate. An OR gate can be designed to have two or more inputs but only one output. The primary function of the OR gate is to perform the logical sum operation.
Properties of OR Gate:
An OR gate have the following two properties:
- It can have two or more input lines at a time.
- When all of the inputs to the OR gate are low or logic 0, the output of it is low or logic 0.
The operation of an OR gate can be mathematically described through a mathematical expression called Boolean expression of the OR gate.
The boolean expression for a two input OR gate is given by,
Z = A + B
The boolean expression for a three-input OR gate is,
Z = A + B + C
Here, A, B, and C are inputs and Z is the output variables. We can extend this boolean expression to any number of input variables.
Truth Table of OR Gate:
The truth table of an OR gate describes the relationship between inputs and output. The following is the truth table for the two-input OR gate:
Input | Output | |
---|---|---|
A | B | A OR B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
Symbol of OR Gate:
The logic symbol of a two-input OR gate is shown in the following figure.
Logic Gates – Definition, Types, Uses
Logic gates are the fundamental components of all digital circuits and systems. In digital electronics, there are seven main types of logic gates used to perform various logical operations. A logic gate is basically an electronic circuit designed by using components like diodes, transistors, resistors, capacitors, etc., and capable of performing logical operations. In this article, we will study the definition, truth table, and other related concepts of logic gates. So let’s start with the basic introduction of logic gates.
Table of Content
- What is a Logic Gate?
- Types of Logic Gates
- AND Gate
- OR Gate
- NOT Gate
- NOR Gate
- NAND Gate
- XOR Gate
- XNOR Gate
- Applications of Logic Gates