Digital Logic Design Start from Zero to Hero 2

KubilayAta 7 views 37 slides Nov 02, 2025
Slide 1
Slide 1 of 37
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37

About This Presentation

Digital Logic Design 2


Slide Content

Gate-Level Minimization 1
DIGITAL LOGIC DESIGN
by
Dr. Fenghui Yao
Tennessee State University
Department of Computer Science
Nashville, TN

Gate-Level Minimization 2
What is minimization?What is minimization?
Simplifying boolean expressionsSimplifying boolean expressions
Algebraic manipulations is hard since Algebraic manipulations is hard since
there is not a uniform way of doing itthere is not a uniform way of doing it
Karnaugh map or K-map techniques is Karnaugh map or K-map techniques is
very commonly usedvery commonly used

Gate-Level Minimization 3
Two-Variable K-MapTwo-Variable K-Map

Gate-Level Minimization 4
ExampleExample
BBAABF  '

Gate-Level Minimization 5
ExampleExampleExampleExample
BABABAABF  ''''

Gate-Level Minimization 6
Three-Variable K-MapThree-Variable K-Map

Gate-Level Minimization 7
Three-Variable K-MapThree-Variable K-Map

Gate-Level Minimization 8
ExampleExample
'''
'''''
CBAACAB
ABCCABCBAABCF



Gate-Level Minimization 9
NoteNote
In K-maps, you can have groups of 2, 4, In K-maps, you can have groups of 2, 4,
8, or 168, or 16
You cannot have groups of other You cannot have groups of other
combinations such as a group of 6combinations such as a group of 6

Gate-Level Minimization 10
ExercisesExercises
''''
''''''
'''''
3
2
1
CBCABAF
ABCCABCACAF
ABCABCABBCAF




Gate-Level Minimization 11
ExampleExample
Represent Represent F F in the minimal format and in the minimal format and
draw the network diagramdraw the network diagram

Gate-Level Minimization 12
ExampleExample
Represent Represent F F in the minimal format and in the minimal format and
draw the network diagramdraw the network diagram

Gate-Level Minimization 13
ExampleExample
  7,5,4,3,2,0F
Represent Represent F F in the minimal format and in the minimal format and
draw the network diagramdraw the network diagram

Gate-Level Minimization 14
Four-Variable K-MapFour-Variable K-Map

Gate-Level Minimization 15
Four-Variable K-MapFour-Variable K-Map

Gate-Level Minimization 16
ExampleExample
'''''''),,,( ABCDCDACADCBAF 
  13,12,8,6,5,4,2,1,0),,,( DCBAF
Represent Represent
F F in the in the
minimal minimal
format and format and
draw the draw the
network network
diagramdiagram

Gate-Level Minimization 17
ExampleExample
  15,13,12,11,10,8,6,5,3),,,( DCBAF
Represent Represent F F in the minimal format and in the minimal format and
draw the network diagramdraw the network diagram

Gate-Level Minimization 18
ExampleExample
Represent Represent F F in the minimal format and in the minimal format and
draw the network diagramdraw the network diagram

Gate-Level Minimization 19
Prime ImplicantsPrime Implicants
You must cover all of the mintermsYou must cover all of the minterms
You must avoid redundancyYou must avoid redundancy
You must follow some rulesYou must follow some rules
Prime ImplicantPrime Implicant
A product term that is generated by combining A product term that is generated by combining
the maximum number of adjacent squares in the the maximum number of adjacent squares in the
mapmap
Essential Prime ImplicantEssential Prime Implicant

A minterm that is covered by only one prime A minterm that is covered by only one prime
implicant implicant

Gate-Level Minimization 20
Maxterm SimplificationMaxterm Simplification

RememberRemember
)''(FF

Gate-Level Minimization 21
ExampleExample

Simplify Simplify F F in product of sumsin product of sums
  12,11,10,8,6,5,3,2,1),,,( DCBAF

Gate-Level Minimization 22
Example (cont)Example (cont)
Step – 1Step – 1

Fill the K-map for Fill the K-map for FF

Gate-Level Minimization 23
Example (cont)Example (cont)
Step – 1Step – 1

Fill the K-map for Fill the K-map for FF

Gate-Level Minimization 24
Example (cont)Example (cont)
Step – 2Step – 2
Fill zeros in the rest of the squaresFill zeros in the rest of the squares

Gate-Level Minimization 25
Example (cont)Example (cont)

Step – 3 Step – 3
Cover zeros. This is your Cover zeros. This is your F’F’
)''')(''')('')((),,,(
'''')',,,(
CBADCBDCADCADCBAF
ABCBCDDACDCADCBAF




Gate-Level Minimization 26
ImportantImportant
'')'(
'')'(
BAAB
BABA



Gate-Level Minimization 27
Don’t Care ConditionsDon’t Care Conditions
A network is usually composed of sub-A network is usually composed of sub-
networksnetworks
Net-1 may not produce all Net-1 may not produce all
combinations of A,B, and Ccombinations of A,B, and C
In this case, F don’t care about those In this case, F don’t care about those
combinationscombinations
A
B
C
FNet-1 Net-2

Gate-Level Minimization 28
Don’t Care ConditionsDon’t Care Conditions
FCBA
0 0 0 1

0 0 1 x

0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 x
1 1 1 1
ABBCBAABCABCCBABCACBAF
BCBAABCCBABCACBAF
ABCBCACBAF



'''''''''
''''''''
''''
X can be
considered
as 0 or 1,
whichever
is more
convenient

Gate-Level Minimization 29
NAND/NOR NAND/NOR
ImplementationsImplementations
AND, OR, and NOT gates can be used AND, OR, and NOT gates can be used
to construct the digital systemsto construct the digital systems
However, it is easier to fabricate NAND However, it is easier to fabricate NAND
and NOR gatesand NOR gates
So try to replace AND, OR, and NOT So try to replace AND, OR, and NOT
gates with NAND or NOR gatesgates with NAND or NOR gates

Gate-Level Minimization 30
NAND ImplementationNAND Implementation
First implement with AND-ORFirst implement with AND-OR
Put bubble at the output of each AND Put bubble at the output of each AND
gategate
Put bubbles at the inputs of each OR Put bubbles at the inputs of each OR
gategate
Place necessary inverters Place necessary inverters

Gate-Level Minimization 31
ExampleExample
ECDABBAF ),(

Gate-Level Minimization 32
ExampleExample
ABDBCABAF  )('),(

Gate-Level Minimization 33
ExampleExample
ABDBCABAF  )('),(

Gate-Level Minimization 34
NOR ImplementationNOR Implementation
First implement with AND-ORFirst implement with AND-OR
Put bubble at the inputs of each AND Put bubble at the inputs of each AND
gategate
Put bubbles at the output of each OR Put bubbles at the output of each OR
gategate
Place necessary inverters Place necessary inverters

Gate-Level Minimization 35
ExampleExample
)()(),( EDCBABAF 

Gate-Level Minimization 36
Study ProblemsStudy Problems
Course Book Chapter – 3 ProblemsCourse Book Chapter – 3 Problems
3– 13– 1

3 – 33 – 3

3 – 53 – 5

3 – 73 – 7

3 – 123 – 12

3 – 153 – 15

3 – 183 – 18

Gate-Level Minimization 37
QuestionsQuestions