Logic Circuit I (Standard Single Logic Gate)
Logic Circuit I (Standard Single Logic Gate)
Class: SSS Two
Definitions of Logic Gate
- A logic gate is an elementary building block of a digital circuit.
- It is also defined as an electrical circuit that performs one or more logical operations on one or more input signals.
- Logic gates are devices that implement Boolean functions, i.e. they perform a logic operation on one or more bits of input and give a bit as an output.
Most logic gates have two inputs and one output. At any given moment, every terminal is in one of the two binary conditions low (0) or high (1), represented by different voltage levels. In most logic gates, the low state is approximately zero volts (0 V), while the high state is approximately five volts positive (+5 V).
Types of Standard Single Logic Gate
There are three types of standard single logic gates. They are:
- AND gate
- OR gate
- NOT gate
AND Gate
An AND gate will give a high output (1) only if all of the inputs are high (1). For example, in a simple lighting circuit with two switches in series, the lamp will light only if both switches are pressed.
Logic Symbol for AND Gate
Truth Table of the AND Gate
| INPUT A | INPUT B | OUTPUT C |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
OR Gate
An OR gate is a digital logic gate that gives an output of 1 when any of its inputs are 1, otherwise 0.
Logic Symbol for OR Gate
Truth Table of the OR Gate
| INPUT A | INPUT B | OUTPUT C |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
NOT Gate
A NOT gate is often called an inverter. It is slightly different because it has just one input. It will give a high output (1) if the input is low (0) and vice versa.
Logic Symbol for NOT Gate
Truth Table of the NOT Gate
| INPUT A | OUTPUT C |
|---|---|
| 0 | 1 |
| 1 | 0 |
Logic Equations (Boolean Algebra)
The function of a logic gate can also be represented using Boolean algebra equations.
- AND gate Equation: $X = A \cdot B$ The expression reads “X equals A AND B”.
- OR gate Equation: $X = A + B$ The expression reads “X equals A OR B”.
- NOT gate Equation: $X = \bar{A}$ The expression reads “X equals NOT A”. The $\bar{A}$ (complement bar) is used to represent the NOT operation.
Test Your Knowledge
Select the correct answer for each question and click 'Submit' to see your score.
Thank you! The lesson was helpful.
ReplyDeleteNice note
Deletethank you so much
ReplyDeleteThis was very helpful.
ReplyDeleteThanks a billion 👍👍👍😊😊😊
What about uses?
ReplyDeleteThank you for this
ReplyDeleteThank
ReplyDeleteWhat about uses
ReplyDelete