1 / 96

Chapter 3

Chapter 3. Boolean Algebra and Combinational Logic. Logic Gate Network. Two or more logic gates connected together. Described by truth table, logic diagram, or Boolean expression. Logic Gate Network. Boolean Expression for Logic Gate Network.

gotzon
Download Presentation

Chapter 3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 3 Boolean Algebra and Combinational Logic

  2. Logic Gate Network • Two or more logic gates connected together. • Described by truth table, logic diagram, or Boolean expression.

  3. Logic Gate Network

  4. Boolean Expression for Logic Gate Network • Similar to finding the expression for a single gate. • Inputs may be compound expressions that represent outputs from previous gates.

  5. Boolean Expression for Logic Gate Network

  6. Bubble-to-Bubble Convention • Choose gate symbols so that outputs with bubbles connect to inputs with bubbles. • Results in a cleaner notation and a clearer idea of the circuit function.

  7. Bubble-to-Bubble Convention

  8. Order of Precedence • Unless otherwise specified, in Boolean expressions AND functions are performed first, followed by ORs. • To change the order of precedence, use parentheses.

  9. Order of Precedence

  10. Simplification by Double Inversion • When two bubbles touch, they cancel out. • In Boolean expressions, bars of the same length cancel.

  11. Logic Diagrams from Boolean Expressions • Use order of precedence. • A bar over a group of variables is the same as having those variables in parentheses.

  12. Logic Diagrams from Boolean Expressions

  13. Truth Tables from Logic Diagrams or Boolean Expressions • Two methods: • Combine individual truth tables from each gate into a final output truth table. • Develop a Boolean expression and use it to fill in the truth table.

  14. Truth Tables from Logic Diagrams or Boolean Expressions

  15. Truth Tables from Logic Diagrams or Boolean Expressions

  16. Circuit Description Using Boolean Expressions • Product term: • Part of a Boolean expression where one or more true or complement variables are ANDed. • Sum term: • Part of a Boolean expression where one or more true or complement variables are ORed.

  17. Circuit Description Using Boolean Expressions • Sum-of-products (SOP): • A Boolean expression where several product terms are summed (ORed) together. • Product-of-sum (POS): • A Boolean expression where several sum terms are multiplied (ANDed) together.

  18. Examples of SOP and POS Expressions

  19. SOP and POS Utility • SOP and POS formats are used to present a summary of the circuit operation.

  20. Bus Form • A schematic convention in which each variable is available, in true or complement form, at any point along a conductor.

  21. Bus Form

  22. Deriving a SOP Expression from a Truth Table • Each line of the truth table with a 1 (HIGH) output represents a product term. • Each product term is summed (ORed).

  23. Deriving a POS Expression from a Truth Table • Each line of the truth table with a 0 (LOW) output represents a sum term. • The sum terms are multiplied (ANDed).

  24. Deriving a POS Expression from a Truth Table

  25. Theorems of Boolean Algebra • Used to minimize a Boolean expression to reduce the number of logic gates in a network. • 24 theorems.

  26. Commutative Property • The operation can be applied in any order with no effect on the result. • Theorem 1: xy = yx • Theorem 2: x + y = y + x

  27. Associative Property • The operands can be grouped in any order with no effect on the result. • Theorem 3: (xy)z = x(yz) = (xz)y • Theorem 4: (x + y) + z = x + (y + z) = (x + z) + y

  28. Distributive Property • Allows distribution (multiplying through) of AND across several OR functions. • Theorem 5: x(y + z) = xy + xz • Theorem 6: (x + y)(w + z) = xw + xz + yw + yz

  29. Distributive Property

  30. Operations with Logic 0 • Theorem 7: x 0 = 0 • Theorem 8: x + 0 = x • Theorem 9: x 0 = x

  31. Operations with Logic 1 • Theorem 10: x 1 = x • Theorem 11: x + 1 = 1

  32. Operations with Logic 1

  33. Operations with the Same Variable • Theorem 13: x x = x • Theorem 14: x + x = x • Theorem 15: x x = 0

  34. Operations with the Complement of a Variable

  35. Operations with the Complement of a Variable

  36. Double Inversion

  37. DeMorgan’s Theorem

  38. Multivariable Theorems • Theorem 22: x + xy = x • Theorem 23: (x + y)(x + y) = x + yz

  39. Multivariable Theorems

  40. Simplifying SOP and POS Expressions • A Boolean expression can be simplified by: • Applying the Boolean Theorems to the expression • Application of graphical tool called a Karnaugh map (K-map) to the expression

  41. Simplifying an Expression

  42. Simplifying an Expression

  43. Simplification By Karnaugh Mapping • A Karnaugh map, called a K-map, is a graphical tool used for simplifying Boolean expressions.

  44. Construction of a Karnaugh Map • Square or rectangle divided into cells. • Each cell represents a line in the truth table. • Cell contents are the value of the output variable on that line of the truth table.

  45. Construction of a Karnaugh Map

  46. Construction of a Karnaugh Map

  47. Construction of a Karnaugh Map

  48. K-map Cell Coordinates • Adjacent cells differ by only one variable. • Grouping adjacent cells allows canceling variables in their true and complement forms.

  49. Grouping Cells • Cells can be grouped as pairs, quads, and octets. • A pair cancels one variable. • A quad cancels two variables. • An octet cancels three variables.

  50. Grouping Cells

More Related