Introduction to Digital Logic Missouri S&T University CPE 2210 Karnaugh Maps
|
|
- Lillian Mitchell
- 5 years ago
- Views:
Transcription
1 Introduction to Digital Logic Missouri S&T University CPE 2210 Karnaugh Maps Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology 16 September 2016 rev Egemen K. Çetinkaya
2 Introduction Karnaugh maps Karnaugh Maps Outline Incomplete Boolean functions Summary 2
3 Equations Boolean Representations Mappings allows simplification e.g. F = x Circuits using logic gates, represents actual physical implementation e.g. Truth tables represents all possible combinations of input values one function has only one truth table representation e.g. x x F F 3
4 Commutativity Distributivity Associativity Identity Complementery Null elements Idempotent law Involution law DeMorgan s law Absorption law Boolean Algebra Theorems 4
5 Boolean Representations Terminology Example F(a,b,c)=ab+c+ac What are the variables? What are the literals? What are the product terms? 5
6 Boolean Representations Terminology Example F(a,b,c)=ab+c+ac Variables: a, b, c Literals: a, b, c, a, c Product terms: ab, c, ac 6
7 Boolean Representations Sum-of-Products Form Equation written as OR of product terms Examples: Following are in sum-of-products form ab + a c a + b + cde Following are not in sum-of-products form (a+b)c (a ) + b variable should be complemented or uncomplemented form 7
8 Boolean Representations Product-of-Sums Form Equation written as AND of sum terms Examples: Following are in product-of-sums form a (a + c) (a + b) a b (c + d + e) Following are not in sum-of-products form (a b)+c (a ) b variable should be complemented or uncomplemented form 8
9 Boolean Representations Normal Term A product or a sum term no variable appears more than once A nonnormal term can be simplified to a constant or a normal term Nonnormal terms example: abbc, a+a+c, aa b Normal terms example: abc, a +b+c 9
10 Boolean Representations Minterm A product term in which literals include every variable only once, either true or complemented form Example: What are the minterms of the function: F(a,b,c)=ab+abc +ac +c 10
11 Boolean Representations Minterm A product term in which literals include every variable only once, either true or complemented form Example: What are the minterms of the function: F(a,b,c)=ab+abc +ac +c Answer: abc An equation is sum-of-minterms form if: every product term is a minterm Example: F(a,b,c)=abc+ab c+a b c 11
12 Boolean Representations Maxterm A sum term in which literals include every variable only once, either true or complemented form Example: What are the maxterms of the function: F(a,b,c)=(a+b) (a+b+c ) (a+c ) c 12
13 Boolean Representations Maxterm A sum term in which literals include every variable only once, either true or complemented form Example: What are the maxterms of the function: F(a,b,c)=(a+b) (a+b+c ) (a+c ) c Answer: a+b+c An equation is product-of-maxterms form if: every sum term is a maxterm Example: F(a,b,c)=(a+b+c) (a+b +c) (a +b +c ) 13
14 Boolean Representations Minterms and Maxterms Minterm is a product term that is 1 Maxterm is a sum term that is 0 row x y z F minterm maxterm F(0,0,0)?? F(0,0,1)?? F(0,1,0)?? F(0,1,1)?? F(1,0,0)?? F(1,0,1)?? F(1,1,0)?? F(1,1,1)?? 14
15 Boolean Representations Minterms and Maxterms Minterm is a product term that is 1 Maxterm is a sum term that is 0 row x y z F minterm maxterm F(0,0,0) x y z x+y+z F(0,0,1) x y z x+y+z F(0,1,0) x yz x+y +z F(0,1,1) x yz x+y +z F(1,0,0) xy z x +y+z F(1,0,1) xy z x +y+z F(1,1,0) xyz x +y +z F(1,1,1) xyz x +y +z 15
16 Boolean Representations Minterms and Maxterms Example Minterm is a product term that is 1 Maxterm is a sum term that is 0 What is the canonical sum? What is the canonical product? What is the minterm list? What is the maxterm list? row x y F
17 Boolean Representations Minterms and Maxterms Example Minterm is a product term that is 1 Maxterm is a sum term that is 0 Canonical sum: F=x y +x y Canonical product: F=(x +y) (x +y ) Minterm list: x,y (0,1) row x y F note that book shows m Maxterm list: x,y (2,3) 17
18 Karnaugh Maps Overview Graphical method to simplify Boolean equations Also called K-maps Originally published by Edward W. Veitch in 1952 Further improved by Maurice Karnaugh in 1953 by extending Veitch s work to 3-dimensional arrays Generally more common for 3-4 variable functions Not practical for functions with many variables 18
19 Gray Code Overview One bit changes between two successive integers Shown below up to decimal 7 Decimal Binary Gray Gray as Decimal
20 Karnaugh Maps Overview K-maps: diagrammatic representation of truth table i.e. Boolean function One-variable k-map Two-variable k-map Three-variable k-map Four-variable k-map Five-variable k-map Six-variable k-map 20
21 Karnaugh Maps One-Variable K-map One-variable k-map has 2 1 cells x f (x) 0 f (0) x f (1) f (0) f (1) 21
22 Karnaugh Maps Two-Variable K-map Two-variable k-map has 2 2 cells Neighborhood is based on 1 difference remember the gray code x y f (x, y) 0 0 f (0,0) 0 1 f (0,1) 1 0 f (1,0) 1 1 f (1,1) x 0 1 y 0 1 f (0,0) f (0,1) f (1,0) f (1,1) 22
23 Karnaugh Maps Two-Variable K-map Two-variable k-map has 2 2 cells Neighborhood is based on 1 difference remember the gray code Note that x and y can substitute for 2-variable case x y f (x, y) 0 0 f (0,0) 0 1 f (0,1) 1 0 f (1,0) 1 1 f (1,1) y 0 1 x 0 1 f (0,0) f (1,0) f (0,1) f (1,1) 23
24 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy 24
25 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy f = x y + xy = y (x + x) = y 25
26 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy f = x y + xy = y (x + x) = y x y f (x, y)
27 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy f = x y + xy = y (x + x) = y x y f (x, y) y 0 1 x
28 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy f = x y + xy = y (x + x) = y x y f (x, y) y 0 1 x Grouping of 1s: 2 0, 2 1,
29 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy f = x y + xy = y (x + x) = y x y f (x, y) y 0 1 x If we group 1s, what would be the minimized f? 29
30 Two-Variable K-map Example 1 Lets try to simplify f = x y + xy f = x y + xy = y (x + x) = y x y f (x, y) y 0 1 x If we group 1s, the minimized f would be y 30
31 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy 31
32 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy x y f (x, y)
33 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy x y f (x, y) x 0 1 y
34 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy x y f (x, y) x 0 1 y Note that a 1 can belong more than one group What is the minimized function f? 34
35 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy x y f (x, y) x 0 1 y Note that a 1 can belong more than one group The minimized function f = x + y 35
36 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy x y f (x, y) x 0 1 y Can we write the function as: f = x + y x? 36
37 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy x y f (x, y) x 0 1 y Can we write the function as: f = x + y x? Logically, both is same, but it is not minimized 37
38 Two-Variable K-map Example 2 Compare the circuits: x + y vs. x + y x 38
39 Two-Variable K-map Example 2 Compare the circuits: x + y vs. x + y x x + y : has 1 OR gate (excluding inverters) x + y x : has 1 OR and 1 AND gate (excluding inverters) 39
40 Two-Variable K-map Example 2 Lets try to simplify f = x y + x y + xy Use Boolean algebra to simplify above equation 40
41 Two-Variable K-map Example 3 Lets try to simplify f = x y + xy 41
42 Two-Variable K-map Example 3 Lets try to simplify f = x y + xy x y f (x, y)
43 Two-Variable K-map Example 3 Lets try to simplify f = x y + xy x y f (x, y) x 0 1 y
44 Two-Variable K-map Example 3 Lets try to simplify f = x y + xy x y f (x, y) x 0 1 y
45 Two-Variable K-map Example 3 Lets try to simplify f = x y + xy x y f (x, y) x 0 1 y It is not possible to group 1s Then, leave as is 45
46 Karnaugh Maps Three-Variable K-map Three-variable k-map has 2 3 cells Neighborhood is based on 1 variable difference x y z f (x, y, z) f (0,0,0) f (0,0,1) f (0,1,0) f (0,1,1) f (1,0,0) f (1,0,1) f (1,1,0) f (1,1,1) x f (0,0,0) f (0,0,1) f (0,1,1) f (0,1,0) f (1,0,0) f (1,0,1) f (1,1,1) f (1,1,0) 46 yz 11 10
47 Three-Variable K-map Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f (x, y, z)
48 Three-Variable K-map Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f (x, y, z) yz x
49 Three-Variable K-map Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f (x, y, z) yz x
50 Three-Variable K-map Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f (x, y, z) yz x
51 Three-Variable K-map Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f (x, y, z) F = x z + xy x yz 11 10
52 Three-Variable K-map Example 2 What s the minimized f(x,y,z) = (0,1,6,7)? Egemen K. Çetinkaya 52
53 Three-Variable K-map Example 2 What s the minimized f(x,y,z) = (0,1,6,7)? Egemen K. Çetinkaya yz x
54 Three-Variable K-map Example 2 What s the minimized f(x,y,z) = (0,1,6,7)? Egemen K. Çetinkaya yz x
55 Three-Variable K-map Example 2 What s the minimized f(x,y,z) = (0,1,6,7)? Egemen K. Çetinkaya yz x
56 Three-Variable K-map Example 2 What s the minimized f(x,y,z) = (0,1,6,7)? Egemen K. Çetinkaya yz x F = x y + xy 56
57 Karnaugh Maps Simplification Rules Group together adjacent cells containing ones 1s grouping is done for a group of: 2 0, 2 1, 2 2 1s that means no 3, 5, 7 groupings Every one must be in at least one group Each group should be as large as possible Fewest number of groups possible Overlapping of 1s is allowed Zeros are not allowed unless you are doing sum terms Diagonal groupings are not allowed 57
58 Karnaugh Maps Four-Variable K-map Four-variable k-map has 2 4 cells Egemen K. Çetinkaya w x y z f (x, y, z) f (0,0,0,0) f (0,0,0,1) f (0,0,1,0) f (0,0,1,1) f (0,1,0,0) f (0,1,0,1) f (0,1,1,0) f (0,1,1,1) f (0,0,0,0) f (1,0,0,1) f (1,0,1,0) f (1,0,1,1) f (1,1,0,0) f (1,1,0,1) f (1,1,1,0) f (1,1,1,1) 58
59 Karnaugh Maps Four-Variable K-map Four-variable k-map has 2 4 cells w x y z f (x, y, z) f (0,0,0,0) f (0,0,0,1) f (0,0,1,0) yz f (0,0,1,1) f (0,1,0,0) f (0,1,0,1) wx f (0,0,0,0) f (0,0,0,1) f (0,0,1,1) f (0,0,1,0) f (0,1,0,0) f (0,1,0,1) f (0,1,1,1) f (0,1,1,0) f (1,1,0,0) f (1,1,0,1) f (1,1,1,1) f (1,1,1,0) f (1,0,0,0) f (1,0,0,1) f (1,0,1,1) f (1,0,1,0) f (0,1,1,0) f (0,1,1,1) f (0,0,0,0) f (1,0,0,1) f (1,0,1,0) f (1,0,1,1) f (1,1,0,0) f (1,1,0,1) f (1,1,1,0) f (1,1,1,1) 59
60 Karnaugh Maps Four-Variable K-map The grid is toroidally connected [ref: 60
61 Four-Variable K-map Typical One-Variable Elimination 1 Simplified functions? yz yz wx wx
62 Four-Variable K-map Typical One-Variable Elimination 1 Simplified functions? yz yz wx wx F = wxz F = xy z 62
63 Four-Variable K-map Typical One-Variable Elimination 2 Simplified functions? yz yz wx wx
64 Four-Variable K-map Typical One-Variable Elimination 2 Simplified functions? yz yz wx wx F = w xz F = x yz 64
65 Four-Variable K-map Typical Two-Variable Elimination 1 Simplified functions? yz yz wx wx
66 Four-Variable K-map Typical Two-Variable Elimination 1 Simplified functions? yz yz wx wx F = wy F = y z 66
67 Four-Variable K-map Typical Two-Variable Elimination 2 Simplified functions? yz yz wx wx
68 Four-Variable K-map Typical Two-Variable Elimination 2 Simplified functions? yz yz wx wx F = xz F = x z 68
69 Four-Variable K-map Typical Three-Variable Elimination 1 Simplified functions? yz yz wx wx
70 Four-Variable K-map Typical Three-Variable Elimination 1 Simplified functions? yz yz wx wx F = w F = y 70
71 Four-Variable K-map Typical Three-Variable Elimination 2 Simplified functions? yz yz wx wx
72 Four-Variable K-map Typical Three-Variable Elimination 2 Simplified functions? yz yz wx wx F = x F = z 72
73 Karnaugh Maps K-maps for Sum Terms Can we simplify Boolean functions using 0s? 73
74 Simplified functions? Karnaugh Maps K-maps for Sum Terms yz yz wx wx
75 Simplified functions? Karnaugh Maps K-maps for Sum Terms yz yz wx wx F = x F = x + z 75
76 Karnaugh Maps Cell Designations 76
77 Karnaugh Maps K-maps Example 1 Simplified functions for F(w,x,y,z)= (0,2,4,6,12,14)? 77
78 Karnaugh Maps K-maps Example 1 Simplified functions for F(w,x,y,z)= (0,2,4,6,12,14)? yz yz ???? wx wx 01 11???????? ???? 78
79 Karnaugh Maps K-maps Example 1 Simplified functions for F(w,x,y,z)= (0,2,4,6,12,14)? yz yz wx wx
80 Karnaugh Maps K-maps Example 1 Simplified functions for F(w,x,y,z)= (0,2,4,6,12,14)? yz yz wx wx F = w z + xz 80
81 Karnaugh Maps Constructing n-bit Gray Code Construction can be done via reflect and prefix Egemen K. Çetinkaya [ref: 81
82 Karnaugh Maps Five-Variable K-map Five-variable k-map has 2 5 cells 82
83 Karnaugh Maps Six-Variable K-map Six-variable k-map has 2 6 cells 83
84 Karnaugh Maps Many Variable K-maps can be useful in minimizing few variables Many variable functions can be challenging 84
85 Karnaugh Maps Don t Care Conditions Three-variable incomplete Boolean function example x y z f x y z fˈ
86 Karnaugh Maps Don t Care Conditions Three-variable incomplete Boolean function example x y z f don t care conditions x y z fˈ
87 Karnaugh Maps Don t Care Conditions Describing incomplete Boolean function example x y z f minterm canonical formula f (x,y,z) = (0,4) + dc(2,5) maxterm canonical formula f (x,y,z) = (1,3,6,7) + dc(2,5) 87
88 Karnaugh Maps Don t Care Conditions Some input states never occur output states are irrelevant Input states may occur but output don t need to be specified In k-map, dc can be used for minterms or maxterms To simplify with dc conditions: assign a dc condition a 0 or 1, then simplify In a k-map, dc conditions are shown as: -, d, x 88
89 Don t Care Conditions Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f
90 Don t Care Conditions Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f yz x
91 Don t Care Conditions Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f yz x
92 Don t Care Conditions Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f you can assign a dc a 0 or a x yz 11 10
93 Don t Care Conditions Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f you can assign a dc a 0 or a x yz 11 10
94 Don t Care Conditions Example 1 What s the minimized function? Egemen K. Çetinkaya x y z f F = y x yz 11 10
95 Minimization Strategies Other Methods Other than K-maps, methods exist for minimizing CAD-based tools (Computer Automated Design) heuristic: good solution, close to optimal but not necessarily optimal exact algorithm: yields optimal solution Cubical representations Tabular method (Quine-McCluskey) 95
96 Karnaugh Maps Example 96
97 Karnaugh Maps Example 97
98 Karnaugh Maps Example 98
99 Karnaugh Maps Summary Karnaugh maps used to simplify truth tables Group together adjacent cells containing ones 1s grouping is done for a group of: 2 0, 2 1, 2 2 1s Every one must be in at least one group Each group should be as large as possible Fewest number of groups possible Overlapping of 1s is allowed Zeros are not allowed Diagonal groupings are not allowed For DC conditions; assign a 0 or a 1 and then simplify 99
100 References and Further Reading [V2011] Frank Vahid, Digital Design with RTL Design, VHDL, and Verilog, 2nd edition, Wiley, [BV2009] Stephen Brown and Zvonko Vranesic, Fundamentals of Digital Logic with VHDL Design, 3rd edition, McGraw-Hill, [MKM2016] M. Morris Mano, Charles R. Kime, Tom Martin, Logic and Computer Design Fundamentals, 5th edition, Pearson, [W2006] John F. Wakerly, Digital Design Principles and Practices, 4th edition, Prentice Hall, [G2003] Donald D. Givone, Digital Principles and Design, McGraw-Hill,
101 End of Foils 101
Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Representations
Introduction to Digital Logic Missouri S&T University CPE 2210 Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology cetinkayae@mst.edu
More informationIntroduction to Digital Logic Missouri S&T University CPE 2210 Boolean Algebra
Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Algebra Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and
More informationIntroduction to Digital Logic Missouri S&T University CPE 2210 Combinatorial Circuit Analysis and Synthesis
Introduction to Digital Logic Missouri S&T University CPE 2210 Combinatorial Circuit Analysis and Synthesis Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science
More informationIntroduction to Digital Logic Missouri S&T University CPE 2210 Multiplexers/Demultiplexers
Introduction to Digital Logic Missouri S&T University CPE 2210 Multiplexers/Demultiplexers Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology
More informationIntroduction to Digital Logic Missouri S&T University CPE 2210 PLDs
Introduction to Digital Logic Missouri S&T University CPE 2210 PLDs Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology
More informationE&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev
E&CE 223 Digital Circuits & Systems Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev 4 of 92 Section 2: Boolean Algebra & Logic Gates Major topics Boolean algebra NAND & NOR gates Boolean
More informationThis form sometimes used in logic circuit, example:
Objectives: 1. Deriving of logical expression form truth tables. 2. Logical expression simplification methods: a. Algebraic manipulation. b. Karnaugh map (k-map). 1. Deriving of logical expression from
More informationE&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates
Digital Circuits & Systems Lecture Transparencies (Boolean lgebra & Logic Gates) M. Sachdev 4 of 92 Section 2: Boolean lgebra & Logic Gates Major topics Boolean algebra NND & NOR gates Boolean algebra
More informationIntroduction to Digital Logic Missouri S&T University CPE 2210 Subtractors
Introduction to Digital Logic Missouri S&T University CPE 2210 Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology cetinkayae@mst.edu
More informationCombinational Logic Design Principles
Combinational Logic Design Principles Switching algebra Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Switching algebra Axioms of switching algebra Theorems
More informationCHAPTER III BOOLEAN ALGEBRA
CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.
More informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active
More informationDigital Logic Design. Combinational Logic
Digital Logic Design Combinational Logic Minterms A product term is a term where literals are ANDed. Example: x y, xz, xyz, A minterm is a product term in which all variables appear exactly once, in normal
More informationLecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University
Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University Original Source: Aby K George, ECE Department, Wayne State University Contents The Map method Two variable
More informationELC224C. Karnaugh Maps
KARNAUGH MAPS Function Simplification Algebraic Simplification Half Adder Introduction to K-maps How to use K-maps Converting to Minterms Form Prime Implicants and Essential Prime Implicants Example on
More informationCombinatorial Logic Design Principles
Combinatorial Logic Design Principles ECGR2181 Chapter 4 Notes Logic System Design I 4-1 Boolean algebra a.k.a. switching algebra deals with boolean values -- 0, 1 Positive-logic convention analog voltages
More informationCHAPTER III BOOLEAN ALGEBRA
CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.
More informationUNIT 5 KARNAUGH MAPS Spring 2011
UNIT 5 KRNUGH MPS Spring 2 Karnaugh Maps 2 Contents Minimum forms of switching functions Two- and three-variable Four-variable Determination of minimum expressions using essential prime implicants Five-variable
More informationLecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps
EE210: Switching Systems Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps Prof. YingLi Tian Feb. 21/26, 2019 Department of Electrical Engineering The City College of New York
More informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Chapter 2 - Part 1 2 Chapter 2 - Part 1 3 Chapter 2 - Part 1 4 Chapter 2 - Part
More informationDIGITAL ELECTRONICS & it0203 Semester 3
DIGITAL ELECTRONICS & it0203 Semester 3 P.Rajasekar & C.M.T.Karthigeyan Asst.Professor SRM University, Kattankulathur School of Computing, Department of IT 8/22/2011 1 Disclaimer The contents of the slides
More informationOptimizations and Tradeoffs. Combinational Logic Optimization
Optimizations and Tradeoffs Combinational Logic Optimization Optimization & Tradeoffs Up to this point, we haven t really considered how to optimize our designs. Optimization is the process of transforming
More informationUnit 2 Session - 6 Combinational Logic Circuits
Objectives Unit 2 Session - 6 Combinational Logic Circuits Draw 3- variable and 4- variable Karnaugh maps and use them to simplify Boolean expressions Understand don t Care Conditions Use the Product-of-Sums
More informationLecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions
EE210: Switching Systems Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions Prof. YingLi Tian Feb. 15, 2018 Department of Electrical Engineering The City College of New York The
More informationEECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive
EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive March 30, 2010 John Wawrzynek Spring 2010 EECS150 - Lec19-cl1 Page 1 Boolean Algebra I (Representations of Combinational
More informationStandard Expression Forms
ThisLecture will cover the following points: Canonical and Standard Forms MinTerms and MaxTerms Digital Logic Families 24 March 2010 Standard Expression Forms Two standard (canonical) expression forms
More informationBinary logic consists of binary variables and logical operations. The variables are
1) Define binary logic? Binary logic consists of binary variables and logical operations. The variables are designated by the alphabets such as A, B, C, x, y, z, etc., with each variable having only two
More informationKarnaugh Maps Objectives
Karnaugh Maps Objectives For Karnaugh Maps of up to 5 variables Plot a function from algebraic, minterm or maxterm form Obtain minimum Sum of Products and Product of Sums Understand the relationship between
More informationChapter-2 BOOLEAN ALGEBRA
Chapter-2 BOOLEAN ALGEBRA Introduction: An algebra that deals with binary number system is called Boolean Algebra. It is very power in designing logic circuits used by the processor of computer system.
More informationCombinational Logic Fundamentals
Topic 3: Combinational Logic Fundamentals In this note we will study combinational logic, which is the part of digital logic that uses Boolean algebra. All the concepts presented in combinational logic
More informationENG2410 Digital Design Combinational Logic Circuits
ENG240 Digital Design Combinational Logic Circuits Fall 207 S. Areibi School of Engineering University of Guelph Binary variables Binary Logic Can be 0 or (T or F, low or high) Variables named with single
More informationWeek-I. Combinational Logic & Circuits
Week-I Combinational Logic & Circuits Overview Binary logic operations and gates Switching algebra Algebraic Minimization Standard forms Karnaugh Map Minimization Other logic operators IC families and
More informationDigital Circuit And Logic Design I. Lecture 4
Digital Circuit And Logic Design I Lecture 4 Outline Combinational Logic Design Principles (2) 1. Combinational-circuit minimization 2. Karnaugh maps 3. Quine-McCluskey procedure Panupong Sornkhom, 2005/2
More informationChapter 2 : Boolean Algebra and Logic Gates
Chapter 2 : Boolean Algebra and Logic Gates By Electrical Engineering Department College of Engineering King Saud University 1431-1432 2.1. Basic Definitions 2.2. Basic Theorems and Properties of Boolean
More informationLogic Design. Chapter 2: Introduction to Logic Circuits
Logic Design Chapter 2: Introduction to Logic Circuits Introduction Logic circuits perform operation on digital signal Digital signal: signal values are restricted to a few discrete values Binary logic
More informationChap 2. Combinational Logic Circuits
Overview 2 Chap 2. Combinational Logic Circuits Spring 24 Part Gate Circuits and Boolean Equations Binary Logic and Gates Boolean Algebra Standard Forms Part 2 Circuit Optimization Two-Level Optimization
More informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 2 Circuit Optimization Goal: To obtain the simplest implementation for a given function Optimization is a more formal
More informationChapter 2 Boolean Algebra and Logic Gates
Ch1: Digital Systems and Binary Numbers Ch2: Ch3: Gate-Level Minimization Ch4: Combinational Logic Ch5: Synchronous Sequential Logic Ch6: Registers and Counters Switching Theory & Logic Design Prof. Adnan
More informationBoolean Algebra and Logic Design (Class 2.2 1/24/2013) CSE 2441 Introduction to Digital Logic Spring 2013 Instructor Bill Carroll, Professor of CSE
Boolean Algebra and Logic Design (Class 2.2 1/24/2013) CSE 2441 Introduction to Digital Logic Spring 2013 Instructor Bill Carroll, Professor of CSE Today s Topics Boolean algebra applications in logic
More informationLecture 2 Review on Digital Logic (Part 1)
Lecture 2 Review on Digital Logic (Part 1) Xuan Silvia Zhang Washington University in St. Louis http://classes.engineering.wustl.edu/ese461/ Grading Engagement 5% Review Quiz 10% Homework 10% Labs 40%
More informationSimplifying Logic Circuits with Karnaugh Maps
Simplifying Logic Circuits with Karnaugh Maps The circuit at the top right is the logic equivalent of the Boolean expression: f = abc + abc + abc Now, as we have seen, this expression can be simplified
More informationCHAPTER 5 KARNAUGH MAPS
CHAPTER 5 1/36 KARNAUGH MAPS This chapter in the book includes: Objectives Study Guide 5.1 Minimum Forms of Switching Functions 5.2 Two- and Three-Variable Karnaugh Maps 5.3 Four-Variable Karnaugh Maps
More informationII. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):
ENGI 386 Digital Logic II. COMBINATIONAL LOGIC DESIGN Combinational Logic output of digital system is only dependent on current inputs (i.e., no memory) (a) Boolean Algebra - developed by George Boole
More informationDigital Circuit And Logic Design I. Lecture 3
Digital Circuit And Logic Design I Lecture 3 Outline Combinational Logic Design Principles (). Introduction 2. Switching algebra 3. Combinational-circuit analysis 4. Combinational-circuit synthesis Panupong
More informationLogic Design I (17.341) Fall Lecture Outline
Logic Design I (17.341) Fall 2011 Lecture Outline Class # 06 October 24, 2011 Dohn Bowden 1 Today s Lecture Administrative Main Logic Topic Homework 2 Course Admin 3 Administrative Admin for tonight Syllabus
More informationBoolean Algebra & Logic Gates. By : Ali Mustafa
Boolean Algebra & Logic Gates By : Ali Mustafa Digital Logic Gates There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These Basic functions
More informationCS/EE 181a 2010/11 Lecture 4
CS/EE 181a 21/11 Lecture 4 General topic of today s lecture: Logic Optimization Karnaugh maps. Quine-McCluskey tabulation method (not in detail). Non series-parallel networks (some care is required). Reference
More informationEx: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.
Boolean Expression Forms: Sum-of-products (SOP) Write an AND term for each input combination that produces a 1 output. Write the input variable if its value is 1; write its complement otherwise. OR the
More informationCombinational Logic Circuits Part II -Theoretical Foundations
Combinational Logic Circuits Part II -Theoretical Foundations Overview Boolean Algebra Basic Logic Operations Basic Identities Basic Principles, Properties, and Theorems Boolean Function and Representations
More informationReview for Test 1 : Ch1 5
Review for Test 1 : Ch1 5 October 5, 2006 Typeset by FoilTEX Positional Numbers 527.46 10 = (5 10 2 )+(2 10 1 )+(7 10 0 )+(4 10 1 )+(6 10 2 ) 527.46 8 = (5 8 2 ) + (2 8 1 ) + (7 8 0 ) + (4 8 1 ) + (6 8
More informationChapter 7 Logic Circuits
Chapter 7 Logic Circuits Goal. Advantages of digital technology compared to analog technology. 2. Terminology of Digital Circuits. 3. Convert Numbers between Decimal, Binary and Other forms. 5. Binary
More informationCombinational Logic. Review of Combinational Logic 1
Combinational Logic! Switches -> Boolean algebra! Representation of Boolean functions! Logic circuit elements - logic gates! Regular logic structures! Timing behavior of combinational logic! HDLs and combinational
More informationChapter 2. Boolean Algebra and Logic Gates
Chapter 2 Boolean Algebra and Logic Gates Basic Definitions A binary operator defined on a set S of elements is a rule that assigns, to each pair of elements from S, a unique element from S. The most common
More information211: Computer Architecture Summer 2016
211: Computer Architecture Summer 2016 Liu Liu Topic: Storage Project3 Digital Logic - Storage: Recap - Review: cache hit rate - Project3 - Digital Logic: - truth table => SOP - simplification: Boolean
More informationMC9211 Computer Organization
MC92 Computer Organization Unit : Digital Fundamentals Lesson2 : Boolean Algebra and Simplification (KSB) (MCA) (29-2/ODD) (29 - / A&B) Coverage Lesson2 Introduces the basic postulates of Boolean Algebra
More informationGate-Level Minimization
Gate-Level Minimization Dr. Bassem A. Abdullah Computer and Systems Department Lectures Prepared by Dr.Mona Safar, Edited and Lectured by Dr.Bassem A. Abdullah Outline 1. The Map Method 2. Four-variable
More informationELCT201: DIGITAL LOGIC DESIGN
ELCT2: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 2 Following the slides of Dr. Ahmed H. Madian ذو الحجة 438 ه Winter
More informationECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering Boolean Algebra Boolean Algebra A Boolean algebra is defined with: A set of
More informationSignals and Systems Digital Logic System
Signals and Systems Digital Logic System Prof. Wonhee Kim Chapter 2 Design Process for Combinational Systems Step 1: Represent each of the inputs and outputs in binary Step 1.5: If necessary, break the
More informationNumber System conversions
Number System conversions Number Systems The system used to count discrete units is called number system. There are four systems of arithmetic which are often used in digital electronics. Decimal Number
More informationFunctions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:
Boolean Algebra (1) Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: An expression is finite but not unique f(x,y)
More informationUNIT 4 MINTERM AND MAXTERM EXPANSIONS
UNIT 4 MINTERM AND MAXTERM EXPANSIONS Spring 2 Minterm and Maxterm Expansions 2 Contents Conversion of English sentences to Boolean equations Combinational logic design using a truth table Minterm and
More informationBoolean Algebra, Gates and Circuits
Boolean Algebra, Gates and Circuits Kasper Brink November 21, 2017 (Images taken from Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc.) Outline Last week: Von
More informationCh 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1
Ch 2. Combinational Logic II - Combinational Logic Contemporary Logic Design 1 Combinational logic Define The kind of digital system whose output behavior depends only on the current inputs memoryless:
More informationChapter 4 Optimized Implementation of Logic Functions
Chapter 4 Optimized Implementation of Logic Functions Logic Minimization Karnaugh Maps Systematic Approach for Logic Minimization Minimization of Incompletely Specified Functions Tabular Method for Minimization
More informationContents. Chapter 3 Combinational Circuits Page 1 of 36
Chapter 3 Combinational Circuits Page of 36 Contents Combinational Circuits...2 3. Analysis of Combinational Circuits...3 3.. Using a Truth Table...3 3..2 Using a Boolean Function...6 3.2 Synthesis of
More informationLogic Gate Level. Part 2
Logic Gate Level Part 2 Constructing Boolean expression from First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result column of the truth table Works best for table with relatively
More informationSection 4.1 Switching Algebra Symmetric Functions
Section 4.1 Switching Algebra Symmetric Functions Alfredo Benso Politecnico di Torino, Italy Alfredo.benso@polito.it Symmetric Functions A function in which each input variable plays the same role in determining
More informationCHAPTER 2 BOOLEAN ALGEBRA
CHAPTER 2 BOOLEAN ALGEBRA This chapter in the book includes: Objectives Study Guide 2.1 Introduction 2.2 Basic Operations 2.3 Boolean Expressions and Truth Tables 2.4 Basic Theorems 2.5 Commutative, Associative,
More informationChapter 2: Princess Sumaya Univ. Computer Engineering Dept.
hapter 2: Princess Sumaya Univ. omputer Engineering Dept. Basic Definitions Binary Operators AND z = x y = x y z=1 if x=1 AND y=1 OR z = x + y z=1 if x=1 OR y=1 NOT z = x = x z=1 if x=0 Boolean Algebra
More informationLogic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hperlinks are active in
More informationIntroduction to Karnaugh Maps
Introduction to Karnaugh Maps Review So far, you (the students) have been introduced to truth tables, and how to derive a Boolean circuit from them. We will do an example. Consider the truth table for
More informationCHAPTER1: Digital Logic Circuits Combination Circuits
CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits Combination Circuits 1 PRIMITIVE LOGIC GATES Each of our basic operations can be implemented in hardware using a primitive logic gate.
More informationCS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman
CS 121 Digital Logic Design Chapter 2 Teacher Assistant Hanin Abdulrahman 1 2 Outline 2.2 Basic Definitions 2.3 Axiomatic Definition of Boolean Algebra. 2.4 Basic Theorems and Properties 2.5 Boolean Functions
More informationChapter 2: Switching Algebra and Logic Circuits
Chapter 2: Switching Algebra and Logic Circuits Formal Foundation of Digital Design In 1854 George Boole published An investigation into the Laws of Thoughts Algebraic system with two values 0 and 1 Used
More informationTextbook: Digital Design, 3 rd. Edition M. Morris Mano
: 25/5/ P-/70 Tetbook: Digital Design, 3 rd. Edition M. Morris Mano Prentice-Hall, Inc. : INSTRUCTOR : CHING-LUNG SU E-mail: kevinsu@yuntech.edu.tw Chapter 3 25/5/ P-2/70 Chapter 3 Gate-Level Minimization
More informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 2 Circuit Optimization Charles Kime & Thomas Kaminski 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active
More informationCSE 140, Lecture 2 Combinational Logic CK Cheng CSE Dept. UC San Diego
CSE 140, Lecture 2 Combinational Logic CK Cheng CSE Dept. UC San Diego 1 Combinational Logic Outlines 1. Introduction 1. Scope 2. Review of Boolean lgebra 3. Review: Laws/Theorems and Digital Logic 2.
More informationPossible logic functions of two variables
ombinational logic asic logic oolean algebra, proofs by re-writing, proofs by perfect induction logic functions, truth tables, and switches NOT, ND, OR, NND, NOR, OR,..., minimal set Logic realization
More informationChapter 2 Combinational logic
Chapter 2 Combinational logic Chapter 2 is very easy. I presume you already took discrete mathemtics. The major part of chapter 2 is boolean algebra. II - Combinational Logic Copyright 24, Gaetano Borriello
More informationMinimization techniques
Pune Vidyarthi Griha s COLLEGE OF ENGINEERING, NSIK - 4 Minimization techniques By Prof. nand N. Gharu ssistant Professor Computer Department Combinational Logic Circuits Introduction Standard representation
More informationElectronics. Overview. Introducction to Synthetic Biology
Electronics Introducction to Synthetic iology E Navarro Montagud P Fernandez de Cordoba JF Urchueguía Overview Introduction oolean algebras Logical gates Representation of boolean functions Karnaugh maps
More informationPrinciples of Computer Architecture. Appendix B: Reduction of Digital Logic. Chapter Contents
B-1 Principles of Computer Architecture Miles Murdocca and Vincent Heuring Appendix B: Reduction of Digital Logic B-2 Chapter Contents B.1 Reduction of Combinational Logic and Sequential Logic B.2 Reduction
More informationSample Marking Scheme
Page 1 of 10 School of Computer Science 60-265-01 Computer Architecture and Digital Design Fall 2008 Midterm Examination # 1 B Wednesday, November 5, 2008 Sample Marking Scheme Duration of examination:
More informationChapter 2 Boolean Algebra and Logic Gates
Chapter 2 Boolean Algebra and Logic Gates Huntington Postulates 1. (a) Closure w.r.t. +. (b) Closure w.r.t.. 2. (a) Identity element 0 w.r.t. +. x + 0 = 0 + x = x. (b) Identity element 1 w.r.t.. x 1 =
More informationSimplification of Boolean Functions. Dept. of CSE, IEM, Kolkata
Simplification of Boolean Functions Dept. of CSE, IEM, Kolkata 1 Simplification of Boolean Functions: An implementation of a Boolean Function requires the use of logic gates. A smaller number of gates,
More informationBOOLEAN ALGEBRA TRUTH TABLE
BOOLEAN ALGEBRA TRUTH TABLE Truth table is a table which represents all the possible values of logical variables / statements along with all the possible results of the given combinations of values. Eg:
More informationMidterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes
Page 1 of 10 School of Computer Science 60-265-01 Computer Architecture and Digital Design Winter 2009 Semester Midterm Examination # 1 Wednesday, February 25, 2009 Student Name: First Name Family Name
More informationCS 226: Digital Logic Design
CS 226: Digital Logic Design 0 1 1 I S 0 1 0 S Department of Computer Science and Engineering, Indian Institute of Technology Bombay. 1 of 29 Objectives In this lecture we will introduce: 1. Logic functions
More informationINTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY LECTURE 8 : WEEK 8 CSC-110-T
INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY LECTURE 8 : WEEK 8 CSC-110-T Credit : (2 + 1) / Week TEXT AND REF. BOOKS Text Book: Peter Norton (2011), Introduction to Computers, 7 /e, McGraw-Hill
More informationPart 5: Digital Circuits
Characteristics of any number system are: Part 5: Digital Circuits 5.: Number Systems & Code Conversions. ase or radix is equal to the number of possible symbols in the system 2. The largest value of digit
More informationCS/EE 181a 2008/09 Lecture 4
CS/EE 181a 28/9 Lecture 4 General topic of today s lecture: Logic Optimization Karnaugh maps. Quine-McCluskey tabulation method (not in detail). Non series-parallel networks (some care is required). Reference
More informationCombinational Logic Design/Circuits
3 ` Combinational Logic Design/Circuits Chapter-3(Hours : 12 Marks:24 ) Combinational Logic design / Circuits 3.1 Simplification of Boolean expression using Boolean algebra. 3.2 Construction of logical
More informationIf f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C
Examples: If f 5 = AB + AB then f 5 = A B + A B = f 10 If f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C In terms of a truth table, if f is the sum (OR) of all the minterms with a 1 in
More informationUnit 2 Boolean Algebra
Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939 Department of Communication Engineering, NCTU 1 2.1 Basic Operations
More informationSystems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture 6 - Combinational Logic Introduction A combinational circuit consists of input variables, logic gates, and output variables. The logic gates accept
More informationChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates Mathematical methods that simplify binary logics or circuits rely primarily on Boolean algebra. Boolean algebra: a set of elements, a set of operators, and a
More informationReview. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms
Review EECS 150 - Components and Design Techniques for Digital Systems Lec 06 Minimizing Boolean Logic 9/16-04 David Culler Electrical Engineering and Computer Sciences University of California, Berkeley
More information1 Boolean Algebra Simplification
cs281: Computer Organization Lab3 Prelab Our objective in this prelab is to lay the groundwork for simplifying boolean expressions in order to minimize the complexity of the resultant digital logic circuit.
More informationDigital Logic Design. Malik Najmus Siraj
Digital Logic Design Malik Najmus Siraj siraj@case.edu.pkedu LECTURE 4 Today s Agenda Recap 2 s complement Binary Logic Boolean algebra Recap Computer Arithmetic Signed numbers Radix and diminished radix
More information