Digital Electronics Fundamentals Guide
Digital Electronics Fundamentals Guide
Miet
BEC101/201
135 Milt
BEC101/201
Fundamental of Electronics Engineering Unit 4 (Digital Electronics)
Electrorics?
What de we study in Digital 4.1. Introduction of Number system
This unit consists of introduction to Number system, number system conversion, Boolean algebra and A number system defines how a number can be represented using distinct digits or
is iaws fundamental of basic and universal gates, SOP and POS representation of Numbers and symbols.
Introdaction to Karnaugh Map (K-Map) A number can be represented differently in different systems. For example. the two
numbers (2A) and (52) both refer to the same quantity. (42) .but their representations
Why do we need Digital Electroics? 16
are different.
Dieital electronics is the foundation of modern computing and telecommunications. It encompasses a Number systems include decimal, binary, octal and hexadecimal
wide range of device and technclogies, including microprocessors, memory chips, digital signal
prooessors (DSPs) and igital circuits like logic gates, fip-flops, and counters. The primary advantage Number System Base Symbol
of digitalelectronics is its ability to store, process, and transmit data with high accuracy and reliability.
Base 2 B
This field is essential for designing and understanding computers, smart-phones, digital communication Binary
svstems, and manyother clectronic devices that are integral to today's technology-driven world.
Octal Base 8
Where do we ase Digital Electronics?
Decimal Base 10
Digital electronics is pervasive ineveryday life and technology, impacting a wide range of fields. For
instance, it is fundanental in computers and microprocessors, where binary logic and digital circuits are Hexadecimal Base 16 H
systems, digital
used to perforrn computations and process data efficiently. In communication smart-phones
clectronics ensures the accurate transmission and reception of signals in devices like and Table 4.1. Different number system with base and symboi
network infrastructure. It also underpins consumer electronics, including televisions, digital cameras,
digital signal 4.1.1. Decimal Number System:
and audio cquipment, by enabling advanced features and improved performance through used in industrial
processing Additionally, digital electronics plays a vital role in control systems
Embedded systems,
automation and robotics, facilitating precise and reliable operation of machinery. In floating point numbers the position is defined as 0,1,2.3,4,5,. starting from the radix point and
provide specialized
which are found in 2ppliances and medical devices, rely on digital circuits to moving one position at a time towards left, and -1,- 2,-3, ...starting from the radix point and moving
[Link] learning about these applications carly on, students can appreciate how digital electronics towards right one position at a time.
in their field.
shapes technology and prepares them for more advanced study and innovation Position Place
2 1 -1 -2
Value
Digits
10 2
4
10
3
100
6
Radix 8
102
4.2.1TypeofGates
(1) E) (B) (2) () Basle gate%, AND, OR,N T
Universal gates: NAND and NOR
" Derived gates: EXOR and EXNOR
Boolcan functions may be practically implemented by using electronic gates. 2Input AND qate
Electronic gates requireapower supply. A A8
Gate INPUTSare driven by voltages having two nominal values, e.g. 0V and 5V
logic Oand logic I respectively. representing 0
The OUTPUT of a gate provides two nominal values of voltage only, e.g. 0V and 1 0
5V
representing logic 0 and logic I respectively. In general, there is only one output to a logic gate
except in some spccial cases.
There is always a time delay between an input being applied and the output responding. 1
These gates are the AND, OR, N T, NAND, NOR, EXOR and EXNOR gates. Table 4.5: Truth Table
ofElectronisEnngineering Unit 4(Digital Electronics) Miet
BEC101/201
43
miet
BEC101/201
that gives a high output()if one or more of its inputs are high. 5. NOR Gate
circuit
clectronic
operation.
This is a NOT-OR gate
Kan the OR The outputs of all NOR gates are low if any of the inputs are ngn.
show
dlo
Symbol:
A -A+B
A LA+B B
B NOR
OR Fig.4.7. Symbol
Fig.4.5. Symbol Truth Table:
2Input NOR gate
A B A+B
2Input OR gate 1
A B A+8
00 1
0 11 0
Table 4.8: Truth Table
4
both, of its wo
1 if either, but not
11 6. EXOR Gate
a circuit which will give a high output
gate is
Table 4.6: Truth Table The 'Exclusive-OR'
inputs are high. ExOR operation.
An encircled plus sign (
)is used to show the
NAND Gate
Symbol:
ssa NOT-AND gate inputs are low.
kouts of allNAND gates are high if any of the A -AOB
inversion.
Tk Smal circle represents B
o EOR
A Fig.4.8. Symbol
B Truth Table:
2Input EXOR qate
NAND AB A98
Fig.4.6. Symbol
01 1
Tahle:
10 1
2 Input NAND gate
AB 1|1
A Table
Table 4.9: Truth
0 1
7. EX-NOR Gate opposite to the EOR
gate.
1 'Exclusive-NOR'gate
circuit does the inpuis are high.
The not both, of is two
output if either, but
0 It will give a low
1|1
Truth Table
Table 4.7:
Fundamental of Electronics
The svmbol is an EXOR
Engineering Unit 4 (Digital Electronics) Miet
BEC101/201 Fundamental of
Electronlcs Engineering
Unit 4 (Digital Electronlcs)
Simbol gate with a small circle on the output.
A Ad
-A©B Bd
Fig.4.11. NAND as a NOR gate
ENOR
Fig.4.9. Symbol
Truth Table
[Link] ASs OR GATE
2Input EXNOR gate A'
B A98 (A".B''
00 1 3
1
2
1|0 B
1|1 1 = (A.B')'
= (A"+B")) = A+B
Table 4.10: Truth Table
[Link]. niversal Gates: Fig.4.12. NAND as a OR gate
Auniversal gate is a gate which can 4. NAND AS AND GATE
type. implement any Boolean function without need to use any
other gate
The NAND and NOR gates are
universal gates.
This s advantageous since NAND and NOR
basic gates used in all IC digital logic families. gates are economical and easier to fabricate and are the
NANONOT-AND
NAND GATE IMPLEMENTATION
[Link] AS NOT GATE
=A'. A'
A
-A'
O CATE
Miet milt
Engineering
Unít 4(Digital Electronics) BEC101/201
J47 BEC101/201
emental of
Electronics
Fundamental of Electronics Engineering Unit 4(Dtgjtat Electronics)
2. NORASAND GATE
· A. AEB.(A-B)
A.A.B"B.
=A+B
[Link] NOR GATE
ANO GATE
Y=A-B A8
2
[Link]
DED
Y =
J. Y=AGB
A-B
B.A.B
B
Fig.4.14. NAND as a EXOR gate
Fig.4.17. NOR as a AND gate
ENAND ASXNOR GATE
[Link] 3. NOR AS NAND GATE
A
B
DE [Link]
A.B " AB
AND
= A+B
NOT NAND
Fig.4.15. NAND as a EXNOR gate
NOT gete
NOR gee
Symbol Fig.4. 18. NOR as a NAND gate
Synbol
4. NOR ASs OR GATE
y"A
-
NOT Gete vsing NOR Gote NOR - NOT- OR
Fig.4. 16. NOR as a NOT gate
Fundamentai ef Elextronics Miet 149 Unit 4 (Digital Electronics)
Engineering Unit 4(Digital Electronics) Fundamental of Electronics
Engineering
BEC101/201 only.
half-adder circuit using NAND gates
2. Design a for a 2-input XOR gate
- A+B Draw the truth table and output waveform
Prove them using truth tables and
3. Morgan's theorems?
Ques2: What are De \ogic
2022-2023) gate. Provide its truth table,
operation of a 2-input AND circut symb
Ques3: Describe the
equation. (AKTU 2021-22)
A+8 gate? Explain the difference between [Link] sequental
Ques4: What is a logic
2020-21)
with examples. (AKTU 3-input OR gate. Draw the logic circuit
Ques5: Write the truth table for a diagram À
Fig 4.19. NOR as a OR operation. (AKTU 2019-20)
S NOR AS EX-OR
GATE gate universal gate. Use it to implement basic
Ques6: Prove that NAND gate is a
NOT). (AKTU 2018-19)
(AKIE W2221)
44 Binary AdaitnN
d. 2'sComplement
& Cempecme Reresentatiea:
In i's mplecnt Steps:
by inverting its bits and adding I.
nvertmg a the bits pstve numhen arg nenresented as ususl,
ef the ostie while negative numbers are I. Findthe 2's
complement offthe subtrahend
to the minuend.
oHunterpart obtalned oy 2 Add this 2's compie The remaining result is your answer.
Exapbe 5 and -5 asng 4hits 3. If there is a
carry,
numbers.
(0101)from 9 (1001) using 4-bit
Example: Subtract 5
10100(Carry out)
Bnary 0101 decimal
$(2soomnkemont of S) FinalResult: Discard the carry, leaving 0100, which is 4 in
Sacp t 'scompement of O101 = 1010
Sacp 2 Add I to i010 = 10I e. 9's Complement:
The 9's complement of a decimal number is found by subtracting each digit from 9.
I'Ceapteascet Suhtraction: simplify the subtraction process by turming subtraction into addition.
& Usage in
Subtraction:
SOP form: F(A,B,CEA+BC'+A'BC
complement: The variables in cach term are not necessarily all the variables of the function
or 10's
Tsubtract using 9's
9's Complement: Add the 9's complement of the subtrahend to the minuend. If there's a carry.
4.6.2. Standard or CanonicalSOP Form:
complemented form or in
result. StandardSOP term must contain all the function variables either im
add it to the
At Complement: Add the 10's complement of the subtrahend to the minuend. If there's a uncomplemented form.
either in complemented form or in
r it's discarded, and the result is positive. lf there's no carry, the result is negative, and the A product term which contains all the function variables
answer must be in its 10's complement form. uncomplemented form is called a minterm.
F(A,B,CEAB'C+A'BC'+A'BC
BEC101/201 hundamental
C)-m4,56,7) to POS FORM
n,
Ouerd:- (overt FA, mintermeems
ofmaxterms
bws,rules, and theorems of Boolean algebra and on your ability to apply them. The Karmaugh o 0:
map, on the other
. provides a"cookbook" method for simplification.
hand,
Kanaugh map is similar to a truth table because it presents all of the possible values of input
A 2IGHT
aribles and the resulting output for cach value. Instead of being organized into columns and rows RIGHT / WRONG X
wRONG X
Rea truth table, the Karmaugh map is an array of cells in which cach cell represents a binary value
fthe input variables. The cells are arranged in a way so that simplification ofa given expression is A
simply amatter of properly grouping the cells. Karnaugh maps can be used for expressions with two,
11 10
three, four. and five variables. Another method, called the Quine-McClusky method can be used for \43, 10 ABM 01 11 10
higher numbers of variables. Lefmot tell F t t cel
input variable
The number of cells in a Karnaugh map is equal to the total number of possible of cells is 2' =
combinations as is the number of rows in a truth table. For three variables, the number
&For four variables, the number of cells is 2 = 16. RIOHT V WRONG X Botam cel
grouping
for the simplification of expressions by
Lhe kamaugh map uses the following rules ABC AC ABC APC
A
Nm (1,3,2)
Answer : (A+C)(A+ B)
(-i46)- AC f- S(02)-AC f-z0246)- Fig.4.27.
BO BO
00 01 11 10 00 01 11 10 00 01 11 10 Ques3: Simplify the sop function F(A,B,C) - E (1,2,3,7)
Ans.
BC BC BC BC BC F=F,+E,t F,
Fig.4.25. 3 Variable K map A F- F,- F%0
Solved Numericais : F=
Qeesi:
2=21136J
ABs. Fig.4.28.
F(A,B,C) =A'C+A'B+BC
4.7.3. K Map: 4 Variable Kmap:
CD
C
Ag
AA
A'B CACoACO
A'BCO
Fig4. 26. AB 11
A8C'' ABC'O ABCD ASCD
ZIAB,C-AB"ÁC
AS
AB'C'D' ASCO AS'CO ASCO A
A
Ques2:
F-n(1,2,3) soPNNTERNS) POS(NANTERAS)
ASs.
Fig. 4.29. 4 Variable K map
miet
Gnit 4(Dgl Bectromies)
Miet
d E e t r s i s Engpneering
BEL101/201
Sstved Nmerak:
HWYZ) -fK3,7.12,1 3y
Fig4.M
4.74. Don't care onditionsz
(WXY7) - IM),14552912.13 14)
(H mmal redt f the surrne for the functkn
wiceer s n f e s e
cncs
the t tto be hez
In thee caeS We an chE
1
ABCD
1
C
Fig 4.28.
FYOX+Z)
10,1,2,5,%,9,10)
the funtion: F(WX,YZ}=
bain minimal product of the surs for
1 1
Fig437.
01 11 10
1 1 1
1
11 1
10 1
Fig4.38.
F=ad d- a'b'd +abe- a be'd
eng g nn Ssr ABC,Dy- M6.7.8.9, +a12. 12. 14. 15)
Variable
uesz: F(A,B,C,DE)
Map: S ABCDE+ AB'C'D'E'+AB'C'D'E+ABCD'E+ABCDE+ABCDE
A A Ans.
DE DE
11 10 BC 00 01 11 10
R C0 01
00 m6] mË7 my9 m8 on ACDE
1
A0
11/m12 M3 ism 11 m8 m9m31 M30 BCE
| Fig.4.42.
10| m 9
F(A,B,C,D,E) = A'D'E' + B'C'D' +
BCE + ACDE
Ans.
A A
EF. 01 11 10
CD
DE 1
DE BC00, 01 11 10 00
BC 01 10 01
11
001 00|1 11 1
1
101
11
10
01 0 11 0
01 0 1 1 1 o
01
11
11| 0 1 1 10
Fig.4.43
10 0
16 0 1 F=D'F' + A'B'CE'+ A'CE'F + BÇDE + AB'EF
Fig.4.44.
FDF+ACE'+BCDF+ACEF+ABCE+A'BC'DEF