Unit-5
Digital Electronics
Introduction
Logic gates are the basic building blocks for forming digital electronic circuitry. A logic gate has one output
terminal and one or more input terminals. Its output would be HIGH (1) or Low (0) depending on the digital
level (s) at the input terminal (s). The logic gates can be used to design digital systems that will evaluate digital
input levels and produce a specific output response based on that particular logic circuit design.
Followings are the types of logic gates.
(1) INVERTER (or NOT gate) (2) AND gate (3) OR gate (4) NAND gate (5) NOR gate (6) Exclusive-OR gate
(7) Exclusive- NOR gate.
The INVERTER, AND and OR gates are considered to be the basic logic gates in the field of digital
electronics. The NAND, NOR, Exclusive-OR and Exclusive- NOR gates are constructed using the basic logic
gates.
Boolean Constants and Variables
Boolean algebra differs in a major way from an ordinary algebra in that Boolean constants and variables are
allowed to have only two possible values, 0 or 1. A Boolean variable is a quantity that may, at different times,
be equal to either 0 or 1. Boolean variables are often used to represent the voltage level present on a wire or at
the input/output terminals of a circuit. The inputs are considered logic variables whose logic levels at any time
determine the output levels.
Boolean constants and Variables
Boolean algebra is relatively easy to work with as compared to an ordinary algebra because of only two possible
values. It may be noted that in Boolean algebra there are no fractions, decimals, negative numbers, square roots,
cube roots, logarithms, imaginary numbers and so on. As a matter of fact, in Boolean algebra there are only three
basic operations AND, NOT, and OR. These basic operations are called logic operations.
Truth Table
A truth table is a means for describing how a logic circuit’s output depends on the logic levels present at the
circuit’s inputs. The table lists all possible combinations of logic levels present at inputs along with the
corresponding output level.
The INVERTER
The INVERTER is also known as a NOT gate. It is a logic gate that performs inversion (also called
complementation) operation. It changes one logic level to the opposite logic level, i.e., from HIGH to LOW
level or from LOW to HIGH level. In terms of bits, it changes a 1 to 0 and a 0 to 1. Fig 3-1 (a) shows a logic
symbol of an INVERTER. Note that input is shown on the left (labeled as A) and the output is on the right
(labeled as X).
Logical Operation: When the INVERTER input is LOW (0), the output, X is HIGH (1). On the other hand, if
the input is HIGH(1), the output is LOW (0). This operation is summarized in the form of a truth table as shown
in Figure 3-1 (b).
Boolean Expression for an INVERTER
Boolean Algebra
Boolean algebra is a convenient and systematic way of expressing and analysing the operation of logic circuits.
In the last chapter, we have already introduced the Boolean operations and expressions in terms of their
relationships to INVERTER, AND, OR, NAND, NOR, exclusive-OR (XOR) and exclusive-NOR (XNOR)
gates.
Laws and Rules of Boolean Algebra
Boolean algebra is an important mathematical tool for designing and analysing digital systems.
A basic knowledge of Boolean Algebra is indispensable to the study and analysis of logic circuits.
As in other areas of mathematics, there are certain well developed rules and laws that must be followed in order
to apply Boolean Algebra properly. Let us now study some of the important laws and rules of Boolean algebra.
First we will study the laws of Boolean algebra and then the rules.
Source: A Text Book of Digital Electronics, R. S. Sedha, S. Chand Publication, 2004.
De Morgan’s Theorems
De Morgan, a mathematician proposed the following two theorems that are an important part of Boolean
algebra:
Theorem 1. The complement of a product equals the sum of compliments.
Below figure shows the logic implementation of theorem
Theorem 2. The complement of a sum equals the product of the compliments.
Below figure shows the logic implementation of theorem
The truth table below proves both the theorems-
Source: Digital Electronics, Principles, Devices and Applications, Anil K Maini, Wiley Publication, 2007.
All-in-one-Electronics Simplified, Anil K. Maini, Nakul Maini, Khanna Book Publishing Company, 2018.
Simplification of Boolean Expressions using Boolean Laws
Simplify the given Boolean expression using Boolean law.
Implement the given Boolean Expression using suitable logic gates.
1.
Ans:
2.
Ans:
3.
Ans:
4. F= AB+CD+E
Ans:
5. Y= ((A+B)C)’ .D
Ans:
6. Y= (AB+C’)D + EF
Ans:
Source: Digital Electronics, Principles, Devices and Applications, Anil K Maini, Wiley Publication, 2007.
All-in-one-Electronics Simplified, Anil K. Maini, Nakul Maini, Khanna Book Publishing Company, 2018.
A Text Book of Digital Electronics, R. S. Sedha, S. Chand Publication, 2004.
Electronic Devices & Circuits, Jacob Millman & Halkias, 2nd Edition, Tata McGrawHill, 2013.
Digital Electronics, Dr. P Kannan, M. Saraswathi, Sree Kamalamani Publications, 2018.
Applications of Digital Circuits
Source: Digital Circuits and Design, S. Salivahanan, S. Arivazhagan, Oxford University Press, 2018.