SlideShare a Scribd company logo
Chapter 3
Gate-Level Minimization
Three Variable K-Map
X Y Z Term Designatio
n
0 0 0 x’y’z’ m0
0 0 1 x’y’z m1
0 1 0 x’yz’ m2
0 1 1 x’yz m3
1 0 0 xy’z’ m4
1 0 1 xy’z m5
1 1 0 xyz’ m6
1 1 1 xyz m7
Three Variable K-Map
X Y Z Term Designatio
n
0 0 0 x’y’z’ m0
0 0 1 x’y’z m1
0 1 0 x’yz’ m2
0 1 1 x’yz m3
1 0 0 xy’z’ m4
1 0 1 xy’z m5
1 1 0 xyz’ m6
1 1 1 xyz m7
Minterms are arranged, not in a
binary sequence, but in a
sequence similar to the Gray code
Three Variable K-Map
• F (A, B, C) = ∑(1, 2, 3, 5, 7)
0 1 1 1
0 1 1 0
Y
X 00 01 11 10
0
1
Three Variable K-Map
• F (A, B, C) = ∑(1, 2, 3, 5, 7)
0 1 1 1
0 1 1 0
Y
X 00 01 11 10
0
1
Three Variable K-Map
• F (A, B, C) = ∑(1, 2, 3, 5, 7)
0 1 1 1
0 1 1 0
Y
X 00 01 11 10
0
1
Three Variable K-Map
• F (A, B, C) = ∑(1, 2, 3, 5, 7)
0 1 1 1
0 1 1 0
Y
X 00 01 11 10
0
1
Three Variable K-Map
• F (A, B, C) = ∑(1, 2, 3, 5, 7)
0 1 1 1
0 1 1 0
YZ
X 00 01 11 10
0
1
F= X’Y + Z
X’Y
Z
Three Variable K-Map
• F (x, y, z) = ∑(3, 4, 6, 7)
0 0 1 0
1 0 1 1
YZ
X 00 01 11 10
0
1
Three Variable K-Map
• F (x, y, z) = ∑(3, 4, 6, 7)
Only one bit different
0 0 1 0
1 0 1 1
YZ
X 00 01 11 10
0
1
We have better
option!
So they are adjacent!
F=YZ + XZ’
XZ’
YZ
Four Variable K-Map
Four Variable K-Map
• F (w, x, y, z) = ∑(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14)
1 1 0 1
1 1 0 1
1 1 0 1
1 1 0 0
00 01 11 10
00
01
11
10
YZ
WX
Four Variable K-Map
• F (w, x, y, z) = ∑(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14)
1 1 0 1
1 1 0 1
1 1 0 1
1 1 0 0
00 01 11 10
00
01
11
10
YZ
WX
W’Z’
Y’
XZ’
F=Y’+W’Z’+XZ’
Four Variable K-Map
• One square represents one minterm, giving a
term with four literals.
• Two adjacent squares represent a term with
three literals.
• Four adjacent squares represent a term with two
literals.
• Eight adjacent squares represent a term with one
literal.
• Sixteen adjacent squares produce a function that
is always equal to 1.
Four Variable K-Map
• F(A, B, C, D)=∑(0, 2, 3, 5, 7, 8, 9, 10, 11, 13, 15)
1 0 0 1
0 1 1 0
0 1 1 0
1 0 0 1
00 01 11 10
00
01
11
10
YZ
WX
Four Variable K-Map
• F(A, B, C, D)=∑(0, 2, 3, 5, 7, 8, 9, 10, 11, 13, 15)
1 0 0 1
0 1 1 0
0 1 1 0
1 0 0 1
00 01 11 10
00
01
11
10
YZ
WX
X’Z’
XZ
F=XZ+X’Z’
Five Variable K-Map
000 001 011 010 110 111 101 100
00 1 0 0 1 1 0 0 1
01 1 1 1 1
11 1 1 1 1
10 1 1
F(A,B,C,D,E) = (0,2,4,6,9,11,13,15,17,21,25,27,29,31)
= BE+AD’E+A’B’E’ (Using following K-MAP)
• Completely Specified function: Function output is
specified for each combination of input variables
• Incompletely Specified function: Functions that have
unspecified output for some input combinations.
Don’t Care Conditions
• Simplify the Boolean function
F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t-
care conditions: d (w, x, y, z) = (0, 2, 5)
X 1 1 X
0 X 1 0
0 0 1 0
0 0 1 0
00 01 11 10
00
01
11
10
yz
wx Choose to include each
don’t-care minterm
with either the 1’s or
the 0’s, depending on
which combination
gives the simplest
expression.
Don’t Care Conditions
• Simplify the Boolean function
F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t-
care conditions: d (w, x, y, z) = (0, 2, 5)
X 1 1 X
0 X 1 0
0 0 1 0
0 0 1 0
00 01 11 10
00
01
11
10
YZ
WX
W’X’
YZ
F= W’X’ + YZ
Don’t Care Conditions
• Simplify the Boolean function
F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t-
care conditions: d (w, x, y, z) = (0, 2, 5)
X 1 1 X
0 X 1 0
0 0 1 0
0 0 1 0
00 01 11 10
00
01
11
10
YZ
WX
W’Z
YZ
F= W’Z + YZ
Don’t Care Conditions
• Simplify the Boolean function
F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t-
care conditions: d (w, x, y, z) = (0, 2, 5)
X X 1 X
0 0 X X
0 0 1 0
X 0 1 1
00 01 11 10
00
01
11
10
YZ
WX
Don’t Care Conditions
• Simplify the Boolean function
F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t-
care conditions: d (w, x, y, z) = (0, 2, 5)
X X 1 X
0 0 X X
0 0 1 0
X 0 1 1
00 01 11 10
00
01
11
10
YZ
WX
YZ
F= X’Z’ + YZ
X’Z’
Product-of-Sums Simplification
• Express the following function F (A, B, C, D) as a
Product of Sums
1 1 0 1
0 1 0 0
0 0 0 0
1 1 0 1
00 01 11 10
00
01
11
10
CD
AB
Step 1: Group the
minterms having value 0
F’ = AB + CD + BD’
BD’ AB CD
Product-of-Sums Simplification
• Express the following function F (A, B, C, D) as a
Product of Sums
1 1 0 1
0 1 0 0
0 0 0 0
1 1 0 1
00 01 11 10
00
01
11
10
CD
AB
Step 2: Apply the
DeMorgan’s theorem
(F’)’ = (AB + CD + BD’)’
F = (A’+B’)(C’+D’)(B’+D)
BD’ AB CD
• NAND Gate
NAND Implementation
• NAND gate is the universal gate
– All three basic logical operations AND, OR, NOT can be
implemented with it
– Any logic circuit can be implemented with it
Cancel
Out!
Easier Technique
• Obtain the simplified Boolean function in
Sum of products form (Standard form)
• Then convert the function to NAND logic by
complementing the function double time
AB + CD AB + CD (AB ). (CD)
Implement the following Boolean function with
NAND gates: F (x, y, z) = (1, 2, 3, 4, 5, 7)
Implement the following Boolean function with
NAND gates: F (x, y, z) = (1, 2, 3, 4, 5, 7)
Step 1: Simplify the function into sum-of-products form
using K-Map
Implement the following Boolean function with
NAND gates: F (x, y, z) = (1, 2, 3, 4, 5, 7)
Step 2: Convert the function to NAND logic
F = xy’ + x’y + z F = xy’ + x’y + z F = (xy’).(x’y).(z)
Multilevel NAND Circuits
• If the boolean function is not in standard form, it
results in three or more levels gating structure
F = A (CD + B) + BC’
Multilevel NAND Circuits
• If the boolean function is not in standard form, it
results in three or more levels gating structure
F = A (CD + B) + BC’
NOR Implementation
• NOR gate is the another universal gate
• NOR operation is the dual of the NAND operation
• All procedures and rules for NOR logic are the duals
of the corresponding procedures and rules
developed for NAND logic
NOR Implementation
Technique
• Obtain the simplified Boolean function in
Product of Sums form (Standard form) (using K-Map)
• Then convert the function to NOR logic by
complementing the function double time
(A + B)(C + D)E (A + B)(C + D)E (A + B)+(C + D)+E
Exclusive – OR (XOR)
Exclusive – OR (XOR)
• The following identities apply to the exclusive-OR
operation:
• XOR is commutative and associative
Exclusive – OR (XOR)
Exclusive – OR (XOR): Three Variable
(23 / 2 = 4 minterms, each
having odd number of 1’s)
A B C Designation
0 0 0 m0
0 0 1 m1
0 1 0 m2
0 1 1 m3
1 0 0 m4
1 0 1 m5
1 1 0 m6
1 1 1 m7
Exclusive – OR (XOR):
Four Variable
A B C D
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
(24 / 2 = 8 minterms, each
having odd number of 1’s)
Odd Function
• An n -variable Exclusive-OR function is an Odd
function defined as the logical sum of the 2n/2
minterms whose binary numerical values have an
odd number of 1’s
Even Function
The complement of an odd function is an even function
Parity Generation and Checking
P=1 for those minterms
whose numerical values
have an odd number of 1’s
- It’s a Odd Function!
Parity Generation and Checking
C=1 for those minterms
whose numerical values
have an odd number of 1’s
- It’s a Odd Function!
• Chapter 3
Section: 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.8

More Related Content

Similar to CSE-205_ch-3.pptx

Unit 1(stld)
Unit 1(stld)Unit 1(stld)
Unit 1(stld)
Abhinay Potlabathini
 
Lesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functionsLesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functions
Rnold Wilson
 
Open GL 04 linealgos
Open GL 04 linealgosOpen GL 04 linealgos
Open GL 04 linealgos
Roziq Bahtiar
 
K-Map.pptx
K-Map.pptxK-Map.pptx
K-Map.pptx
Pooja Dixit
 
Ch1 2 (2)
Ch1 2 (2)Ch1 2 (2)
Ch1 2 (2)
Selvi Thangavel
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
Unsa Shakir
 
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH  01-CH 02.pptComputer Architecture 3rd Edition by Moris Mano CH  01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
Howida Youssry
 
SOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxSOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptx
divanshujain8
 
Ch1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.pptCh1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.ppt
JamesRodriguez109117
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
arunachalamr16
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
SATHYARAJECE
 
digital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebradigital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebra
dianaandino4
 
test slide my apptest slide my apptest slide my apptest slide my app
test slide my apptest slide my apptest slide my apptest slide my apptest slide my apptest slide my apptest slide my apptest slide my app
test slide my apptest slide my apptest slide my apptest slide my app
Dr. Hammoudh Alamri
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
rohity7
 
Logic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptLogic gates and boolean algebra.ppt
Logic gates and boolean algebra.ppt
bcanawakadalcollege
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
prince628991
 
STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
Abhinay Potlabathini
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
MdJubayerFaisalEmon
 
SOAL RANGKAIAN LOGIKA
SOAL RANGKAIAN LOGIKASOAL RANGKAIAN LOGIKA
SOAL RANGKAIAN LOGIKA
Afrilio Franseda
 
Digital logic circuit
Digital logic circuitDigital logic circuit
Digital logic circuit
Ahmedabad Institute of technology
 

Similar to CSE-205_ch-3.pptx (20)

Unit 1(stld)
Unit 1(stld)Unit 1(stld)
Unit 1(stld)
 
Lesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functionsLesson 10 derivative of exponential functions
Lesson 10 derivative of exponential functions
 
Open GL 04 linealgos
Open GL 04 linealgosOpen GL 04 linealgos
Open GL 04 linealgos
 
K-Map.pptx
K-Map.pptxK-Map.pptx
K-Map.pptx
 
Ch1 2 (2)
Ch1 2 (2)Ch1 2 (2)
Ch1 2 (2)
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH  01-CH 02.pptComputer Architecture 3rd Edition by Moris Mano CH  01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
 
SOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxSOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptx
 
Ch1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.pptCh1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.ppt
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
 
digital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebradigital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebra
 
test slide my apptest slide my apptest slide my apptest slide my app
test slide my apptest slide my apptest slide my apptest slide my apptest slide my apptest slide my apptest slide my apptest slide my app
test slide my apptest slide my apptest slide my apptest slide my app
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
Logic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptLogic gates and boolean algebra.ppt
Logic gates and boolean algebra.ppt
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
 
STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
 
SOAL RANGKAIAN LOGIKA
SOAL RANGKAIAN LOGIKASOAL RANGKAIAN LOGIKA
SOAL RANGKAIAN LOGIKA
 
Digital logic circuit
Digital logic circuitDigital logic circuit
Digital logic circuit
 

Recently uploaded

Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
edwin408357
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
MadhavJungKarki
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
Yasser Mahgoub
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
mahaffeycheryld
 

Recently uploaded (20)

Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
 

CSE-205_ch-3.pptx

  • 2. Three Variable K-Map X Y Z Term Designatio n 0 0 0 x’y’z’ m0 0 0 1 x’y’z m1 0 1 0 x’yz’ m2 0 1 1 x’yz m3 1 0 0 xy’z’ m4 1 0 1 xy’z m5 1 1 0 xyz’ m6 1 1 1 xyz m7
  • 3. Three Variable K-Map X Y Z Term Designatio n 0 0 0 x’y’z’ m0 0 0 1 x’y’z m1 0 1 0 x’yz’ m2 0 1 1 x’yz m3 1 0 0 xy’z’ m4 1 0 1 xy’z m5 1 1 0 xyz’ m6 1 1 1 xyz m7 Minterms are arranged, not in a binary sequence, but in a sequence similar to the Gray code
  • 4. Three Variable K-Map • F (A, B, C) = ∑(1, 2, 3, 5, 7) 0 1 1 1 0 1 1 0 Y X 00 01 11 10 0 1
  • 5. Three Variable K-Map • F (A, B, C) = ∑(1, 2, 3, 5, 7) 0 1 1 1 0 1 1 0 Y X 00 01 11 10 0 1
  • 6. Three Variable K-Map • F (A, B, C) = ∑(1, 2, 3, 5, 7) 0 1 1 1 0 1 1 0 Y X 00 01 11 10 0 1
  • 7. Three Variable K-Map • F (A, B, C) = ∑(1, 2, 3, 5, 7) 0 1 1 1 0 1 1 0 Y X 00 01 11 10 0 1
  • 8. Three Variable K-Map • F (A, B, C) = ∑(1, 2, 3, 5, 7) 0 1 1 1 0 1 1 0 YZ X 00 01 11 10 0 1 F= X’Y + Z X’Y Z
  • 9. Three Variable K-Map • F (x, y, z) = ∑(3, 4, 6, 7) 0 0 1 0 1 0 1 1 YZ X 00 01 11 10 0 1
  • 10. Three Variable K-Map • F (x, y, z) = ∑(3, 4, 6, 7) Only one bit different 0 0 1 0 1 0 1 1 YZ X 00 01 11 10 0 1 We have better option! So they are adjacent! F=YZ + XZ’ XZ’ YZ
  • 12. Four Variable K-Map • F (w, x, y, z) = ∑(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 0 00 01 11 10 00 01 11 10 YZ WX
  • 13. Four Variable K-Map • F (w, x, y, z) = ∑(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 0 00 01 11 10 00 01 11 10 YZ WX W’Z’ Y’ XZ’ F=Y’+W’Z’+XZ’
  • 14. Four Variable K-Map • One square represents one minterm, giving a term with four literals. • Two adjacent squares represent a term with three literals. • Four adjacent squares represent a term with two literals. • Eight adjacent squares represent a term with one literal. • Sixteen adjacent squares produce a function that is always equal to 1.
  • 15. Four Variable K-Map • F(A, B, C, D)=∑(0, 2, 3, 5, 7, 8, 9, 10, 11, 13, 15) 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 00 01 11 10 00 01 11 10 YZ WX
  • 16. Four Variable K-Map • F(A, B, C, D)=∑(0, 2, 3, 5, 7, 8, 9, 10, 11, 13, 15) 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 00 01 11 10 00 01 11 10 YZ WX X’Z’ XZ F=XZ+X’Z’
  • 17. Five Variable K-Map 000 001 011 010 110 111 101 100 00 1 0 0 1 1 0 0 1 01 1 1 1 1 11 1 1 1 1 10 1 1 F(A,B,C,D,E) = (0,2,4,6,9,11,13,15,17,21,25,27,29,31) = BE+AD’E+A’B’E’ (Using following K-MAP)
  • 18. • Completely Specified function: Function output is specified for each combination of input variables • Incompletely Specified function: Functions that have unspecified output for some input combinations.
  • 19. Don’t Care Conditions • Simplify the Boolean function F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t- care conditions: d (w, x, y, z) = (0, 2, 5) X 1 1 X 0 X 1 0 0 0 1 0 0 0 1 0 00 01 11 10 00 01 11 10 yz wx Choose to include each don’t-care minterm with either the 1’s or the 0’s, depending on which combination gives the simplest expression.
  • 20. Don’t Care Conditions • Simplify the Boolean function F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t- care conditions: d (w, x, y, z) = (0, 2, 5) X 1 1 X 0 X 1 0 0 0 1 0 0 0 1 0 00 01 11 10 00 01 11 10 YZ WX W’X’ YZ F= W’X’ + YZ
  • 21. Don’t Care Conditions • Simplify the Boolean function F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t- care conditions: d (w, x, y, z) = (0, 2, 5) X 1 1 X 0 X 1 0 0 0 1 0 0 0 1 0 00 01 11 10 00 01 11 10 YZ WX W’Z YZ F= W’Z + YZ
  • 22. Don’t Care Conditions • Simplify the Boolean function F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t- care conditions: d (w, x, y, z) = (0, 2, 5) X X 1 X 0 0 X X 0 0 1 0 X 0 1 1 00 01 11 10 00 01 11 10 YZ WX
  • 23. Don’t Care Conditions • Simplify the Boolean function F (w, x, y, z) = ∑(1, 3, 7, 11, 15) which has the don’t- care conditions: d (w, x, y, z) = (0, 2, 5) X X 1 X 0 0 X X 0 0 1 0 X 0 1 1 00 01 11 10 00 01 11 10 YZ WX YZ F= X’Z’ + YZ X’Z’
  • 24. Product-of-Sums Simplification • Express the following function F (A, B, C, D) as a Product of Sums 1 1 0 1 0 1 0 0 0 0 0 0 1 1 0 1 00 01 11 10 00 01 11 10 CD AB Step 1: Group the minterms having value 0 F’ = AB + CD + BD’ BD’ AB CD
  • 25. Product-of-Sums Simplification • Express the following function F (A, B, C, D) as a Product of Sums 1 1 0 1 0 1 0 0 0 0 0 0 1 1 0 1 00 01 11 10 00 01 11 10 CD AB Step 2: Apply the DeMorgan’s theorem (F’)’ = (AB + CD + BD’)’ F = (A’+B’)(C’+D’)(B’+D) BD’ AB CD
  • 27. NAND Implementation • NAND gate is the universal gate – All three basic logical operations AND, OR, NOT can be implemented with it – Any logic circuit can be implemented with it
  • 29. Easier Technique • Obtain the simplified Boolean function in Sum of products form (Standard form) • Then convert the function to NAND logic by complementing the function double time AB + CD AB + CD (AB ). (CD)
  • 30. Implement the following Boolean function with NAND gates: F (x, y, z) = (1, 2, 3, 4, 5, 7)
  • 31. Implement the following Boolean function with NAND gates: F (x, y, z) = (1, 2, 3, 4, 5, 7) Step 1: Simplify the function into sum-of-products form using K-Map
  • 32. Implement the following Boolean function with NAND gates: F (x, y, z) = (1, 2, 3, 4, 5, 7) Step 2: Convert the function to NAND logic F = xy’ + x’y + z F = xy’ + x’y + z F = (xy’).(x’y).(z)
  • 33. Multilevel NAND Circuits • If the boolean function is not in standard form, it results in three or more levels gating structure F = A (CD + B) + BC’
  • 34. Multilevel NAND Circuits • If the boolean function is not in standard form, it results in three or more levels gating structure F = A (CD + B) + BC’
  • 35. NOR Implementation • NOR gate is the another universal gate • NOR operation is the dual of the NAND operation • All procedures and rules for NOR logic are the duals of the corresponding procedures and rules developed for NAND logic
  • 36.
  • 37. NOR Implementation Technique • Obtain the simplified Boolean function in Product of Sums form (Standard form) (using K-Map) • Then convert the function to NOR logic by complementing the function double time (A + B)(C + D)E (A + B)(C + D)E (A + B)+(C + D)+E
  • 39. Exclusive – OR (XOR) • The following identities apply to the exclusive-OR operation: • XOR is commutative and associative
  • 41. Exclusive – OR (XOR): Three Variable (23 / 2 = 4 minterms, each having odd number of 1’s) A B C Designation 0 0 0 m0 0 0 1 m1 0 1 0 m2 0 1 1 m3 1 0 0 m4 1 0 1 m5 1 1 0 m6 1 1 1 m7
  • 42. Exclusive – OR (XOR): Four Variable A B C D 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 (24 / 2 = 8 minterms, each having odd number of 1’s)
  • 43. Odd Function • An n -variable Exclusive-OR function is an Odd function defined as the logical sum of the 2n/2 minterms whose binary numerical values have an odd number of 1’s
  • 44. Even Function The complement of an odd function is an even function
  • 45. Parity Generation and Checking P=1 for those minterms whose numerical values have an odd number of 1’s - It’s a Odd Function!
  • 46. Parity Generation and Checking C=1 for those minterms whose numerical values have an odd number of 1’s - It’s a Odd Function!
  • 47. • Chapter 3 Section: 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.8

Editor's Notes

  1. The 0101 position is considered 0. because if you consider this 1, then you have to make another box enclosing the 0001,0011,0101, and 0111 squares. It adds an extra term to the function which increase gate number. So consider that as zero. However, if the 0100 square was 1, then you should have considered that 0101 cell as 1 since in that case you get a bigger box enclosing the 0000,0001,0100,0101 squares.
  2. Either one of the preceding two expressions satisfies the conditions stated for this example. As far as the incompletely specified function is concerned, either expression is acceptable because the only difference is in the value of F for the don’t-care minterms.
  3. Digital circuits are frequently constructed with NAND or NOR gates rather than with AND and OR gates. Because all basic logics AND, OR and NOT can be implemented with two level NAND gates. If similar gates are used in a circuit then it becomes easier to fabricate with several electronic components.
  4. Four levels
  5. Four levels
  6. The exclusive-OR is equal to 1 if only x is equal to 1 or if only y is equal to 1 The exclusive-NOR is equal to 1 if both x and y are equal to 1 or if both are equal to 0.
  7. NOR function is an even function
  8. odd function because it is equal to 1 for those minterms whose numerical values have an odd number of 1’s. Therefore, P can be expressed as a three-variable exclusive-OR function
  9. odd function because it is equal to 1 for those minterms whose numerical values have an odd number of 1’s. Therefore, P can be expressed as a three-variable exclusive-OR function