SlideShare a Scribd company logo
CS221
Computer Organization
Lecture2Digital Logic
2
This Lecture
Binary Storage
Registers
Binary Logic
Boolean Algebra
Boolean Algebra Functions
Boolean Function Implementation
Canonical & Standard Forms
Gate Level Minimization
3
Binary storage & registers
How do we store binary information?
Binary cell : place to store one bit of information. 0 or 1.
Register: a group of binary cells.
Register transfer: An operation in a digital system
4
Binary storage & registers
5
Binary information processing
Example: Add two 10-bit binary numbers
6
Binary logic
Binary logic deals with variables that take on two discrete values and
operations that assume logical meaning.
Logic gates: electronic circuits that operate on one or more input signals to
produce an output signal.
Example
x y x AND y
0 0 0
0 1 0
1 0 0
1 1 1
7
Electrical signals
Two values: 0 or 1
8
Symbols for digital logic circuits
9
Input-Output signals for gates
10
Gates with multiple inputs
11
Boolean Algebra
Basic definitions:
x+0=0+x=x
x.1=1.x=x
x.(y+z)=(x.y)+(x.z)
x+(y.z)=(x+y).(x+z)
x+x’=1
x.x’=0
12
Boolean Algebra Theorems
x+x=x
x.x=x
x+1=1
x.0=0
x+x.y=x
x.(x+y)=x
13
Boolean Algebra Functions
examples:
F1=x+y’.z
F2=x’.y’.z+x’.y.z+x.y’
=x’.z(y’+y)+x.y’
F2=x’.z+x.y’
A Boolean Function can be represented in many algebraic forms
We look for the most simple form
14
Boolean Function: Example
Truth table
x y z F1 F2
0 0 0 0 0
0 0 1 1 1
0 1 0 0 0
0 1 1 0 1
1 0 0 1 1
1 0 1 1 1
1 1 0 1 0
1 1 1 1 0
A Boolean Function can be represented in only one truth table forms
15
Boolean Function Implementation
y’
Y’.z
16
Boolean Function Implementation
X’.y’.z
X’.y.z
X.y’
X.y’
X’.z
17
Canonical & Standard Forms
Consider two binary variables x, y and the AND operation
four combinations are possible: x.y, x’.y, x.y’, x’.y’
each AND term is called a minterm or standard products
for n variables we have 2n
minterms
Consider two binary variables x, y and the OR operation
four combinations are possible: x+y, x’+y, x+y’, x’+y’
each OR term is called a maxterm or standard sums
for n variables we have 2n
maxterms
Canonical Forms:
Boolean functions expressed as a sum of minterms or product of maxterms.
18
Minterms
x y z Terms Designation
0 0 0 x’.y’.z’ m0
0 0 1 x’.y’.z m1
0 1 0 x’.y.z’ m2
0 1 1 x’.y.z m3
1 0 0 x.y’.z’ m4
1 0 1 x.y’.z m5
1 1 0 x.y.z’ m6
1 1 1 x.y.z m7
19
Maxterms
x y z Designation Terms
0 0 0 M0 x+y+z
0 0 1 M1 x+y+z’
0 1 0 M2 x+y’+z
0 1 1 M3 x+y’+z’
1 0 0 M4 x’+y+z
1 0 1 M5 x’+y+z’
1 1 0 M6 x’+y’+z
1 1 1 M7 x’+y’+z’
20
How to express algebraically
Question: How do we find the function using the truth table?
Truth table example:
x y z F1 F2
0 0 0 0 0
0 0 1 1 1
0 1 0 0 0
0 1 1 0 1
1 0 0 1 1
1 0 1 1 1
1 1 0 1 0
1 1 1 1 0
21
How to express algebraically
1.Form a minterm for each combination forming a 1
2.OR all of those terms
Truth table example:
x y z F1 minterm
0 0 0 0
0 0 1 1 x’.y’.z m1
0 1 0 0
0 1 1 0
1 0 0 1 x.y’.z’ m4
1 0 1 0
1 1 0 0
1 1 1 1 x.y.z m7
F1=m1+m4+m7=x’.y’.z+x.y’.z’+x.y.z=Σ(1,4,7)
22
How to express algebraically
Truth table example:
x y z F2 minterm
0 0 0 0 m0
0 0 1 0 m1
0 1 0 0 m2
0 1 1 1 m3
1 0 0 0 m4
1 0 1 1 m5
1 1 0 1 m6
1 1 1 1 m7
F2=m3+m5+m6+m7=x’.y.z+x.y’.z+x.y.z’+x.y.z=Σ(3,5,6,7)
23
How to express algebraically
1.Form a maxterm for each combination forming a 0
2.AND all of those terms
Truth table example:
x y z F1 maxterm
0 0 0 0 x+y+z M0
0 0 1 1
0 1 0 0 x+y’+z M2
0 1 1 0 x+y’+z’ M3
1 0 0 1
1 0 1 0 x’+y+z’ M5
1 1 0 0 x’+y’+z M6
1 1 1 1
F1=M0.M2.M3.M5.M6 = л(0,2,3,5,6)
24
How to express algebraically
Truth table example:
x y z F2 maxterm
0 0 0 0 x+y+z M0
0 0 1 0 x+y+z’ M1
0 1 0 0 x+y’+z M2
0 1 1 1
1 0 0 0 x’+y+z M4
1 0 1 1
1 1 0 1
1 1 1 1
F=M0.M1.M2.M4=л(0,1,2,4)=(x+y+z).(x+y+z’).(x+y’+z).(x’+y+z)
25
Maxterms & Minterms: Intuitions
Minterms:
If a function is expressed as SUM of PRODUCTS, then if a single product
is 1 the function would be 1.
Maxterms:
If a function is expressed as PRODUCT of SUMS, then if a single product
is 0 the function would be 0.
Canonical Forms:
Boolean functions expressed as a sum of minterms or product of maxterms.
26
Standard Forms
Standard From: Sum of Product or Product of Sum
27
Nonstandard Forms
Nonstandard From: Neither a Sum of Product nor Product of Sum
28
Implementations
Three-level implementation vs. two-level implementation
Two-level implementation normally preferred due to delay importance.
29
Digital Logic Gates
30
Integrated Circuits (ICs)
Levels of Integration
SSI: fewer than 10 gates on chip
MSI:10 to 1000 gates on chip
LSI: thousands of gates on chip
VLSI:Millions of gates on chip
Digital Logic Families
TTL transistor-transistor logic
ECL emitter-coupled logic
MOS metal-oxide semiconductor
CMOS complementary metal-oxide semiconductor
31
Digital Logic Parameters
Fan-out: maximum number of output signals
Fan-in : number of inputs
Power dissipation
Propagation delay
Noise margin: maximum noise
32
Gate-Level Minimization
The Map Method:
A simple method for minimizing Boolean functions
Map: diagram made up of squares
Each square represents a minterm
33
Two-Variable Map
34
Two-Variable Map
Maps representing x.y and x+y
35
Three-Variable Map
Minterms are not arranged in a binary sequence
Minterms arranged in gray code:
Only one bit changes from one column to the next
36
Three-Variable Map-example 1
Sum of two adjacent minterms can be simplified
to a single AND term consisting of two literals
37
Three-Variable Map-example 2
38
Three-Variable Map-example 3
39
Three-Variable Map-example 4
40
Four-Variable Map
41
Four-Variable Map-example 1
1
42
Four-Variable Map-example 2
43
Graphic symbols for NAND gates
44
Summary
Logic
Gates
Combinational Circuit
Integrated Circuits
Gate Level Minimization
45
Recommended Reading
• Read textbook & readings
• Solve exercises
• Digital Design
Fifth edition,
by Morris Mano, Prentice Hall Publishers

More Related Content

PPTX
2013 1
PPT
Unit 1(stld)
PPT
Pertemuan 2 - Sistem Bilangan
PDF
Ncp computer appls num sys2 pramod
PPTX
Power point array
PDF
Digital and Logic Design Chapter 1 binary_systems
PPTX
Ejercicios de factorización 2º
PPT
Binary numbersystem
2013 1
Unit 1(stld)
Pertemuan 2 - Sistem Bilangan
Ncp computer appls num sys2 pramod
Power point array
Digital and Logic Design Chapter 1 binary_systems
Ejercicios de factorización 2º
Binary numbersystem

What's hot (17)

PDF
Fractional-number Algorithm
PPT
numbers system
PDF
ARM 7 LPC 2148 lecture
PPT
Chapter 3 part i data representation
PDF
Slide03 Number System and Operations Part 1
PDF
Distributed Machine Learning with Apache Mahout
PDF
Chapter 1 digital systems and binary numbers
PPT
Intro to scan conversion
PPTX
Basic electronics
PPTX
5. Error Coding
PPT
LP Graphical Solution
PDF
Identidades trigonometricas fundamentales
PPTX
COMBINATIONAL CIRCUITS
PPTX
Data representation
PDF
Limites trigonometricos1
PDF
Identidades
PPT
Lab lecture 2 bresenham
Fractional-number Algorithm
numbers system
ARM 7 LPC 2148 lecture
Chapter 3 part i data representation
Slide03 Number System and Operations Part 1
Distributed Machine Learning with Apache Mahout
Chapter 1 digital systems and binary numbers
Intro to scan conversion
Basic electronics
5. Error Coding
LP Graphical Solution
Identidades trigonometricas fundamentales
COMBINATIONAL CIRCUITS
Data representation
Limites trigonometricos1
Identidades
Lab lecture 2 bresenham
Ad

Viewers also liked (7)

PDF
3Sem-Logic Design Notes-Unit4-Design and Analysis of Combinational Logic
PDF
Copy of 7.digital basicsa
PPTX
IS 151 Lecture 9
PPTX
IS 151 Lecture 8
PPTX
IS 151 Lecture 2
PPTX
Karnaugh Maps
PPT
Lecture11 combinational logic dynamics
3Sem-Logic Design Notes-Unit4-Design and Analysis of Combinational Logic
Copy of 7.digital basicsa
IS 151 Lecture 9
IS 151 Lecture 8
IS 151 Lecture 2
Karnaugh Maps
Lecture11 combinational logic dynamics
Ad

Similar to 02 combinational logic (20)

PDF
Bitwise
PPT
computer system architecture for control system.ppt
PPTX
Boolean algebra
PPT
Engineering 2nd Digital design week 4.ppt
PDF
DM2020 boolean algebra
PDF
Basic Boolean Algebra and DeMorgan's Laws
PPTX
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
PPT
Ceng232 Decoder Multiplexer Adder
PDF
Computer organiztion3
PDF
DLD Chapter-2.pdf
PPT
04_Chapter 4768 - Modular Comb logic.ppt
PPT
Logic Design - Chapter 3: Boolean Algebra
PDF
ESTUDO DE ALGEBRA BOOLEANA PARA ESTUDOS.
PPSX
Bounded variables new
PPTX
Digital Logic Design Lecture on Counters and
PDF
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
PDF
C–Analysis and Design Procedures–Binary Adder-Subtractor
PPT
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
PPT
Boolean Algebra and Logic gates ( Chapter 2)
PPT
Boolean_Algebra and digital circuits .ppt
Bitwise
computer system architecture for control system.ppt
Boolean algebra
Engineering 2nd Digital design week 4.ppt
DM2020 boolean algebra
Basic Boolean Algebra and DeMorgan's Laws
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
Ceng232 Decoder Multiplexer Adder
Computer organiztion3
DLD Chapter-2.pdf
04_Chapter 4768 - Modular Comb logic.ppt
Logic Design - Chapter 3: Boolean Algebra
ESTUDO DE ALGEBRA BOOLEANA PARA ESTUDOS.
Bounded variables new
Digital Logic Design Lecture on Counters and
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
C–Analysis and Design Procedures–Binary Adder-Subtractor
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
Boolean Algebra and Logic gates ( Chapter 2)
Boolean_Algebra and digital circuits .ppt

Recently uploaded (20)

PPTX
assetexplorer- product-overview - presentation
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
top salesforce developer skills in 2025.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
System and Network Administration Chapter 2
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
assetexplorer- product-overview - presentation
Design an Analysis of Algorithms I-SECS-1021-03
top salesforce developer skills in 2025.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Softaken Excel to vCard Converter Software.pdf
Transform Your Business with a Software ERP System
Which alternative to Crystal Reports is best for small or large businesses.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Digital Systems & Binary Numbers (comprehensive )
Internet Downloader Manager (IDM) Crack 6.42 Build 41
CHAPTER 2 - PM Management and IT Context
VVF-Customer-Presentation2025-Ver1.9.pptx
Understanding Forklifts - TECH EHS Solution
Reimagine Home Health with the Power of Agentic AI​
System and Network Administration Chapter 2
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Odoo Companies in India – Driving Business Transformation.pdf

02 combinational logic