SlideShare a Scribd company logo
1 of 35
Computer Organization
IT 121
References
• David L. Tarnoff, Tarnoff-Tenesse (2011),"Computer
Organization and Design Fundamentals", State
University.
• D. A. Patterson and J. L. Hennessy (2017), "Computer
Organization and Design", RISC-V Edition, Elsevier.
• W. Stallings (2016), "Computer Organization and
Architecture", 10th Edition, Global Edition, England.
2
Course content
• Chapter 1 : Number Systems
• Chapter 2 : Logic Gates and Boolean Algebra
• Chapter3 : Combinational Logic
• Chapter 4 : Computer System Organization
• Chapter 5 : Registers and Microprocessor
3
Chapter3 : Combinational Logic
Karnaugh Maps (K-Maps)
• Simplification of Boolean functions leads to simpler (and usually faster)
digital circuits.
• Algebraic procedures:
 Difficult to apply.
 Difficult to tell when you have arrived at a minimum solution.
• K-map is a graphical way of visualizing and then simplifying Boolean
expressions.
• A Karnaugh map provides a pictorial method of grouping together
expressions with common factors and therefore eliminating unwanted
variables.
• A Kmap is a matrix consisting of rows and columns that represent the output
values of a Boolean function.
Karnaugh Maps (K-Maps)
The output values placed in each cell are derived from the
minterms of a Boolean function.
We have a cell for each line for the truth table of a function.
Truth
table
Example
• The truth table for the function F(x,y) = xy is shown at the left
along with its corresponding Kmap (at the right).
m0
m1
m2
m3
m0
m1
m2
m3
Kmap Simplification rules
• Groupings can contain only 1s; no 0s.
8
•Groups may be horizontal or vertical, but not diagonal..
•Groups must contain 1, 2, 4, 8, or in general 2n cells.
Kmap Simplification rules
• The groups must be made as large as possible.
•Groups can overlap and wrap around the sides of the Kmap.
Kmap Simplification rules
•Groups may wrap around the table.
•The leftmost cell in a row may be grouped with the rightmost cell
•The top cell in a column may be grouped with the bottom cell.
Kmap Simplification for Two Variables
• Example1:
• Simplify the following Boolean function F(x,y)=x’y + x’y’
Kmap Simplification for Two Variables
• Solution
• Truth table F(x,y)=x’y + x’y’
X Y F(x,y)
0 0 1
0 1 1
1 0 0
1 1 0
Y
X
0 1
0 1 1
1 0 0
• The product of literals that remains unchanged in a single group
makes the term of the expression.
• In this example, Group corresponds to the area where X = 0 remains
unchanged.
• Solution : F(X,Y)=X’
Kmap Simplification for Two Variables
• Example 2:
• Simplify the following Boolean function F(x,y)=xy + x’y
Kmap Simplification for Two Variables
• Solution
• Truth table F(x,y)=xy + xy’
X Y F(x,y)
0 0 0
0 1 1
1 0 0
1 1 1
Y
X 0 1
0 0 1
1 0 1
• In this example, Group corresponds to the area where Y =
1 remains unchanged.
• Solution : F(X,Y)=Y
Kmap Simplification for Two Variables
• Example 3:
• Simplify the following Boolean function F(x,y)=x'y' + xy' + xy
Kmap Simplification for Two Variables
• Solution
• Truth table F(x,y)=x'y' + xy' + xy
X Y F(x,y)
0 0 1
0 1 0
1 0 1
1 1 1
Y
X 0 1
0 1 0
1 1 1
• Group1 G1 corresponds to the area where Y = 0 remains
unchanged.
• Group2 G2 corresponds to the area where X = 1 remains
unchanged.
• Solution : F(X,Y)=X+Y’
G1
G2
Kmap Simplification for Two Variables
• Example 4:
• Simplify the following Boolean function F(x,y)=xy + x'y + xy' + x'y'
Y
X 0 1
0 1 1
1 1 1
Kmap Simplification for Two Variables
• Solution
• Truth table F(x,y)=xy + x'y + xy' +
x'y'
X Y F(x,y)
0 0 1
0 1 1
1 0 1
1 1 1
• Solution : F(X,Y)=1
Kmap Simplification for Three Variables
• The first row of the Kmap contains all minterms where x has
a value of zero.
• The first column contains all minterms where y and z both
have a value of zero.
19
X Y Z F(X,Y,Z)
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
YZ
X
00 01 11 10
0 m0 m1 m3 m2
1 m4 m5 m7 m6
0 1 3 2
4 5 7 6
P.S
• Cell 0 and Cell 2 are adjacent
• Cell 4 and Cell 6 are adjacent
Kmap Simplification for Three Variables
• Example1:
• Simplify the following Boolean function F(x,y,z) = ∑(3,4,6,7)
Kmap Simplification for Three Variables
• Solution
• Truth table function F(x,y,z) = ∑(3,4,6,7)
• G1 corresponds to the area where Y = 1 and Z=1 remain unchanged.
• G2 corresponds to the area where X=1 and Z = 0 remain
unchanged.
• Solution : F(X,Y, Z)=YZ+XZ’
YZ
X
00 01 11 10
0 0 0 1 0
1 1 0 1 1
0 1 3 2
4 5 7 6
G1
G2
Group G1 is composed by cell 3 and cell 7
Group G2 is composed by cell 4 and cell 6
Kmap Simplification for Three Variables
• Example2:
• Simplify the following Boolean function F(x,y,z) = ∑(0,1,2,4,5,6)
Kmap Simplification for Three Variables
• Solution
• Truth table function F(x,y,z) = ∑(0,1,2,4,5,6)
• G1 corresponds to the area where Y = 0 remains unchanged.
• G2 corresponds to the area where Z = 0 remains unchanged.
• Solution : F(X,Y, Z)=Y’+Z’
YZ
X 00 01 11 10
0 1 1 0 1
1 1 1 0 1
0 1 3 2
4 5 7 6
Group G1 is composed by cells 0,1,4 and 5
Group G2 is composed by cells 0,4, 2 and 6
G2
Kmap Simplification for Three Variables
• Given the Boolean function
▫ F(A,B,C) = A'C + A'B + AB'C + BC
• Express it in sum of minterms
• Find the minimal sum of products expression
Kmap Simplification for Three Variables
• Given the Boolean function
▫ F(A,B,C) = A'C + A'B + AB'C + BC
• Express it in sum of minterms
• F(A,B,C)=A'C + A'B + AB'C + BC
• =A’C(B+B’)+A’B(C+C’)+AB’C+BC(A’+A)
• =A’BC+A’CB’+A’BC+A’BC’+AB’C+A’BC+ABC
• =A’BC+A’B’C+A’BC’+AB’C+ABC
Kmap Simplification for Three Variables
• Solution
▫ F(A,B, C) = A'C + A'B + AB'C + BC = ∑(1,2,3,5, 7)
• G1 corresponds to the area where C = 1 remains unchanged.
• G2 corresponds to the area where A = 0 and B=1 remain
unchanged.
• Solution : F(A,B, C)=A’B+C
BC
A 00 01 11 10
0 0 1 1 1
1 0 1 1 0
0 1 3 2
4 5 7 6
Group G1 is composed by cells 1,3,5 and 7
Group G2 is composed by cells 3 and 2
Kmap Simplification for four Variables
27
W X Y Z F(W,X,Y,Z)
0 0 0 0 m0
0 0 0 1 m1
0 0 1 0 m2
0 0 1 1 m3
0 1 0 0 m4
0 1 0 1 m5
0 1 1 0 m6
0 1 1 1 m7
1 0 0 0 m8
1 0 0 1 m9
1 0 1 0 m10
1 0 1 1 m11
1 1 0 0 m12
1 1 0 1 m13
1 1 1 0 m14
1 1 1 1 m15
YZ
WX
00 01 11 10
00 m0 m1 m3 m2
01 m4 m5 m7 m6
11 m12 m13 m15 m16
10 m8 m9 m11 m10
0 1 3 2
4 5 7 6
12 13 15 14
8 9 10
11
Kmap Simplification for four Variables
• Example1:
• Simplify the following Boolean function
• F(w,x,y,z) = ∑(0,1,2,4,5,6,8,9,12,13,14)
Kmap Simplification for four Variables
• F(w,x,y,z) = ∑(0,1,2,4,5,6,8,9,12,13,14)
• Solution
• F(w,x,y,z) =Y’+W’Z’+XZ’
Kmap Simplification for four Variables
• Example2:
• Simplify the following Boolean function
• F(w,x,y,z) = ∑(0,2,3,5,7,8,9,10,11,13,15)
Don’t Care Conditions
• Real circuits don’t always need to have an output defined for
every possible input.
• If a circuit is designed so that a particular set of inputs can
never happen, we call this set of inputs a don’t care condition.
• They are very helpful to us in Kmap circuit simplification.
31
Don’t Care Conditions
• In a Kmap, a don’t care condition is identified by an X in the
cell of the minterm(s) for the don’t care inputs, as shown
below.
• In performing the simplification, we are free to include or
ignore the X’s when creating our groups.
32
3A.6 Don’t Care Conditions
• In one grouping in the Kmap below, we have the
function:
33
Don’t Care Conditions
• A different grouping gives us the function:
34
Don’t Care Conditions
• The truth table of:
differs from the truth table of:
• However, the values for which they differ, are the
inputs for which we have don’t care conditions.
35

More Related Content

Similar to Chapter 3 .pptx

digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital componentRai University
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfSanjoySana2
 
super vector machines algorithms using deep
super vector machines algorithms using deepsuper vector machines algorithms using deep
super vector machines algorithms using deepKNaveenKumarECE
 
EVALUATING INTEGRALS.Evaluate the integral shown below. (H.docx
EVALUATING INTEGRALS.Evaluate the integral shown below. (H.docxEVALUATING INTEGRALS.Evaluate the integral shown below. (H.docx
EVALUATING INTEGRALS.Evaluate the integral shown below. (H.docxgitagrimston
 
Elliptical curve cryptography
Elliptical curve cryptographyElliptical curve cryptography
Elliptical curve cryptographyBarani Tharan
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1Supanna Shirguppe
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the thesanjaibalajeessn
 
Fuzzy logicintro by
Fuzzy logicintro by Fuzzy logicintro by
Fuzzy logicintro by Waseem Abbas
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh mapsAJAL A J
 

Similar to Chapter 3 .pptx (20)

digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital component
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Singlevaropt
SinglevaroptSinglevaropt
Singlevaropt
 
Mit6 094 iap10_lec03
Mit6 094 iap10_lec03Mit6 094 iap10_lec03
Mit6 094 iap10_lec03
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdf
 
super vector machines algorithms using deep
super vector machines algorithms using deepsuper vector machines algorithms using deep
super vector machines algorithms using deep
 
EVALUATING INTEGRALS.Evaluate the integral shown below. (H.docx
EVALUATING INTEGRALS.Evaluate the integral shown below. (H.docxEVALUATING INTEGRALS.Evaluate the integral shown below. (H.docx
EVALUATING INTEGRALS.Evaluate the integral shown below. (H.docx
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
 
Elliptical curve cryptography
Elliptical curve cryptographyElliptical curve cryptography
Elliptical curve cryptography
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the the
 
Understanding Reed-Solomon code
Understanding Reed-Solomon codeUnderstanding Reed-Solomon code
Understanding Reed-Solomon code
 
Lec3
Lec3Lec3
Lec3
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 
Fuzzy logicintro by
Fuzzy logicintro by Fuzzy logicintro by
Fuzzy logicintro by
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 

More from MemMem25

chapter3 Technical Skills Software Skills.ppt
chapter3  Technical Skills Software Skills.pptchapter3  Technical Skills Software Skills.ppt
chapter3 Technical Skills Software Skills.pptMemMem25
 
chapter2 Technical Support.ppt
chapter2 Technical Support.pptchapter2 Technical Support.ppt
chapter2 Technical Support.pptMemMem25
 
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.pptMemMem25
 
‏‏chapter 4 Office Management Software.ppt
‏‏chapter 4  Office Management Software.ppt‏‏chapter 4  Office Management Software.ppt
‏‏chapter 4 Office Management Software.pptMemMem25
 
chapter3 Major Processes of Office Management.ppt
chapter3  Major Processes of Office Management.pptchapter3  Major Processes of Office Management.ppt
chapter3 Major Processes of Office Management.pptMemMem25
 
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
chapter 2  FUNCTIONS OF MODERN OFFICE.pptchapter 2  FUNCTIONS OF MODERN OFFICE.ppt
chapter 2 FUNCTIONS OF MODERN OFFICE.pptMemMem25
 
acd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptxacd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptxMemMem25
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptMemMem25
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdfMemMem25
 
lec(1).pptx
lec(1).pptxlec(1).pptx
lec(1).pptxMemMem25
 
Chapter02.ppt
Chapter02.pptChapter02.ppt
Chapter02.pptMemMem25
 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).pptMemMem25
 
COE332-Ch03d.pptx
COE332-Ch03d.pptxCOE332-Ch03d.pptx
COE332-Ch03d.pptxMemMem25
 
01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.pptMemMem25
 
1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.pptMemMem25
 

More from MemMem25 (17)

chapter3 Technical Skills Software Skills.ppt
chapter3  Technical Skills Software Skills.pptchapter3  Technical Skills Software Skills.ppt
chapter3 Technical Skills Software Skills.ppt
 
chapter2 Technical Support.ppt
chapter2 Technical Support.pptchapter2 Technical Support.ppt
chapter2 Technical Support.ppt
 
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt‏‏chapter1  overview  of  OFFICE MANAGEMENT - نسخة.ppt
‏‏chapter1 overview of OFFICE MANAGEMENT - نسخة.ppt
 
‏‏chapter 4 Office Management Software.ppt
‏‏chapter 4  Office Management Software.ppt‏‏chapter 4  Office Management Software.ppt
‏‏chapter 4 Office Management Software.ppt
 
chapter3 Major Processes of Office Management.ppt
chapter3  Major Processes of Office Management.pptchapter3  Major Processes of Office Management.ppt
chapter3 Major Processes of Office Management.ppt
 
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
chapter 2  FUNCTIONS OF MODERN OFFICE.pptchapter 2  FUNCTIONS OF MODERN OFFICE.ppt
chapter 2 FUNCTIONS OF MODERN OFFICE.ppt
 
acd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptxacd120_Organizational Behavior (2) (1) (1).pptx
acd120_Organizational Behavior (2) (1) (1).pptx
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdf
 
lec(1).pptx
lec(1).pptxlec(1).pptx
lec(1).pptx
 
AI.ppt
AI.pptAI.ppt
AI.ppt
 
Chapter02.ppt
Chapter02.pptChapter02.ppt
Chapter02.ppt
 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).ppt
 
COE332-Ch03d.pptx
COE332-Ch03d.pptxCOE332-Ch03d.pptx
COE332-Ch03d.pptx
 
LAB1.pptx
LAB1.pptxLAB1.pptx
LAB1.pptx
 
01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt01_Artificial_Intelligence-Introduction.ppt
01_Artificial_Intelligence-Introduction.ppt
 
1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt1-introduction-to-computer-networking.ppt
1-introduction-to-computer-networking.ppt
 

Recently uploaded

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 

Recently uploaded (20)

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 

Chapter 3 .pptx

  • 2. References • David L. Tarnoff, Tarnoff-Tenesse (2011),"Computer Organization and Design Fundamentals", State University. • D. A. Patterson and J. L. Hennessy (2017), "Computer Organization and Design", RISC-V Edition, Elsevier. • W. Stallings (2016), "Computer Organization and Architecture", 10th Edition, Global Edition, England. 2
  • 3. Course content • Chapter 1 : Number Systems • Chapter 2 : Logic Gates and Boolean Algebra • Chapter3 : Combinational Logic • Chapter 4 : Computer System Organization • Chapter 5 : Registers and Microprocessor 3
  • 5. Karnaugh Maps (K-Maps) • Simplification of Boolean functions leads to simpler (and usually faster) digital circuits. • Algebraic procedures:  Difficult to apply.  Difficult to tell when you have arrived at a minimum solution. • K-map is a graphical way of visualizing and then simplifying Boolean expressions. • A Karnaugh map provides a pictorial method of grouping together expressions with common factors and therefore eliminating unwanted variables. • A Kmap is a matrix consisting of rows and columns that represent the output values of a Boolean function.
  • 6. Karnaugh Maps (K-Maps) The output values placed in each cell are derived from the minterms of a Boolean function. We have a cell for each line for the truth table of a function. Truth table
  • 7. Example • The truth table for the function F(x,y) = xy is shown at the left along with its corresponding Kmap (at the right). m0 m1 m2 m3 m0 m1 m2 m3
  • 8. Kmap Simplification rules • Groupings can contain only 1s; no 0s. 8 •Groups may be horizontal or vertical, but not diagonal.. •Groups must contain 1, 2, 4, 8, or in general 2n cells.
  • 9. Kmap Simplification rules • The groups must be made as large as possible. •Groups can overlap and wrap around the sides of the Kmap.
  • 10. Kmap Simplification rules •Groups may wrap around the table. •The leftmost cell in a row may be grouped with the rightmost cell •The top cell in a column may be grouped with the bottom cell.
  • 11. Kmap Simplification for Two Variables • Example1: • Simplify the following Boolean function F(x,y)=x’y + x’y’
  • 12. Kmap Simplification for Two Variables • Solution • Truth table F(x,y)=x’y + x’y’ X Y F(x,y) 0 0 1 0 1 1 1 0 0 1 1 0 Y X 0 1 0 1 1 1 0 0 • The product of literals that remains unchanged in a single group makes the term of the expression. • In this example, Group corresponds to the area where X = 0 remains unchanged. • Solution : F(X,Y)=X’
  • 13. Kmap Simplification for Two Variables • Example 2: • Simplify the following Boolean function F(x,y)=xy + x’y
  • 14. Kmap Simplification for Two Variables • Solution • Truth table F(x,y)=xy + xy’ X Y F(x,y) 0 0 0 0 1 1 1 0 0 1 1 1 Y X 0 1 0 0 1 1 0 1 • In this example, Group corresponds to the area where Y = 1 remains unchanged. • Solution : F(X,Y)=Y
  • 15. Kmap Simplification for Two Variables • Example 3: • Simplify the following Boolean function F(x,y)=x'y' + xy' + xy
  • 16. Kmap Simplification for Two Variables • Solution • Truth table F(x,y)=x'y' + xy' + xy X Y F(x,y) 0 0 1 0 1 0 1 0 1 1 1 1 Y X 0 1 0 1 0 1 1 1 • Group1 G1 corresponds to the area where Y = 0 remains unchanged. • Group2 G2 corresponds to the area where X = 1 remains unchanged. • Solution : F(X,Y)=X+Y’ G1 G2
  • 17. Kmap Simplification for Two Variables • Example 4: • Simplify the following Boolean function F(x,y)=xy + x'y + xy' + x'y'
  • 18. Y X 0 1 0 1 1 1 1 1 Kmap Simplification for Two Variables • Solution • Truth table F(x,y)=xy + x'y + xy' + x'y' X Y F(x,y) 0 0 1 0 1 1 1 0 1 1 1 1 • Solution : F(X,Y)=1
  • 19. Kmap Simplification for Three Variables • The first row of the Kmap contains all minterms where x has a value of zero. • The first column contains all minterms where y and z both have a value of zero. 19 X Y Z F(X,Y,Z) 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 YZ X 00 01 11 10 0 m0 m1 m3 m2 1 m4 m5 m7 m6 0 1 3 2 4 5 7 6 P.S • Cell 0 and Cell 2 are adjacent • Cell 4 and Cell 6 are adjacent
  • 20. Kmap Simplification for Three Variables • Example1: • Simplify the following Boolean function F(x,y,z) = ∑(3,4,6,7)
  • 21. Kmap Simplification for Three Variables • Solution • Truth table function F(x,y,z) = ∑(3,4,6,7) • G1 corresponds to the area where Y = 1 and Z=1 remain unchanged. • G2 corresponds to the area where X=1 and Z = 0 remain unchanged. • Solution : F(X,Y, Z)=YZ+XZ’ YZ X 00 01 11 10 0 0 0 1 0 1 1 0 1 1 0 1 3 2 4 5 7 6 G1 G2 Group G1 is composed by cell 3 and cell 7 Group G2 is composed by cell 4 and cell 6
  • 22. Kmap Simplification for Three Variables • Example2: • Simplify the following Boolean function F(x,y,z) = ∑(0,1,2,4,5,6)
  • 23. Kmap Simplification for Three Variables • Solution • Truth table function F(x,y,z) = ∑(0,1,2,4,5,6) • G1 corresponds to the area where Y = 0 remains unchanged. • G2 corresponds to the area where Z = 0 remains unchanged. • Solution : F(X,Y, Z)=Y’+Z’ YZ X 00 01 11 10 0 1 1 0 1 1 1 1 0 1 0 1 3 2 4 5 7 6 Group G1 is composed by cells 0,1,4 and 5 Group G2 is composed by cells 0,4, 2 and 6 G2
  • 24. Kmap Simplification for Three Variables • Given the Boolean function ▫ F(A,B,C) = A'C + A'B + AB'C + BC • Express it in sum of minterms • Find the minimal sum of products expression
  • 25. Kmap Simplification for Three Variables • Given the Boolean function ▫ F(A,B,C) = A'C + A'B + AB'C + BC • Express it in sum of minterms • F(A,B,C)=A'C + A'B + AB'C + BC • =A’C(B+B’)+A’B(C+C’)+AB’C+BC(A’+A) • =A’BC+A’CB’+A’BC+A’BC’+AB’C+A’BC+ABC • =A’BC+A’B’C+A’BC’+AB’C+ABC
  • 26. Kmap Simplification for Three Variables • Solution ▫ F(A,B, C) = A'C + A'B + AB'C + BC = ∑(1,2,3,5, 7) • G1 corresponds to the area where C = 1 remains unchanged. • G2 corresponds to the area where A = 0 and B=1 remain unchanged. • Solution : F(A,B, C)=A’B+C BC A 00 01 11 10 0 0 1 1 1 1 0 1 1 0 0 1 3 2 4 5 7 6 Group G1 is composed by cells 1,3,5 and 7 Group G2 is composed by cells 3 and 2
  • 27. Kmap Simplification for four Variables 27 W X Y Z F(W,X,Y,Z) 0 0 0 0 m0 0 0 0 1 m1 0 0 1 0 m2 0 0 1 1 m3 0 1 0 0 m4 0 1 0 1 m5 0 1 1 0 m6 0 1 1 1 m7 1 0 0 0 m8 1 0 0 1 m9 1 0 1 0 m10 1 0 1 1 m11 1 1 0 0 m12 1 1 0 1 m13 1 1 1 0 m14 1 1 1 1 m15 YZ WX 00 01 11 10 00 m0 m1 m3 m2 01 m4 m5 m7 m6 11 m12 m13 m15 m16 10 m8 m9 m11 m10 0 1 3 2 4 5 7 6 12 13 15 14 8 9 10 11
  • 28. Kmap Simplification for four Variables • Example1: • Simplify the following Boolean function • F(w,x,y,z) = ∑(0,1,2,4,5,6,8,9,12,13,14)
  • 29. Kmap Simplification for four Variables • F(w,x,y,z) = ∑(0,1,2,4,5,6,8,9,12,13,14) • Solution • F(w,x,y,z) =Y’+W’Z’+XZ’
  • 30. Kmap Simplification for four Variables • Example2: • Simplify the following Boolean function • F(w,x,y,z) = ∑(0,2,3,5,7,8,9,10,11,13,15)
  • 31. Don’t Care Conditions • Real circuits don’t always need to have an output defined for every possible input. • If a circuit is designed so that a particular set of inputs can never happen, we call this set of inputs a don’t care condition. • They are very helpful to us in Kmap circuit simplification. 31
  • 32. Don’t Care Conditions • In a Kmap, a don’t care condition is identified by an X in the cell of the minterm(s) for the don’t care inputs, as shown below. • In performing the simplification, we are free to include or ignore the X’s when creating our groups. 32
  • 33. 3A.6 Don’t Care Conditions • In one grouping in the Kmap below, we have the function: 33
  • 34. Don’t Care Conditions • A different grouping gives us the function: 34
  • 35. Don’t Care Conditions • The truth table of: differs from the truth table of: • However, the values for which they differ, are the inputs for which we have don’t care conditions. 35