Docsity

Combinational Logic Design: Boolean Algebra, Karnaugh Maps, and Building Blocks, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Combinational Logic Design: Boolean Algebra, Karnaugh Maps, and Building Blocks and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Chapter 2 : Combinational Logic Design Digital Logic Design James E. Stine, Jr. Portions of slides taken from Digital Design and Computer Architecture D. M. Harris and S. L. Harris, Elsevier, 2007

Chapter 2 : Topics

  • Boolean Algebra
  • X’s and Z’s, Oh My
  • Karnaugh Maps
  • Combinational Building Blocks
  • Timing

Boolean Axioms and Theorems

T1: Identity Theorem

B 0 B B B

  • B 1 = B
  • B + 0 = B

T3: Idempotency Theorem

  • B B = B
  • B + B = B B = = B B B B B

T4: Identity Theorem

  • B = B

B B

Boolean Theorems of Several Variables

Simplifying Boolean Expressions: Example 1

  • Y = AB + AB = B ( A + A ) T = B (1) T5’ = B T

DeMorgan’s Theorem

  • Y = AB = A + B
  • Y = A + B = A B A B Y A B Y A B Y A B Y

Bubble Pushing

  • Pushing bubbles backward (from the output) or forward (from the inputs) changes the body of the gate from AND to OR or vice versa.
  • Pushing a bubble from the output back to the inputs puts bubbles on all gate inputs.
  • Pushing bubbles on all gate inputs forward toward the output puts a bubble on the output and changes the gate body. A B Y A B Y A B Y A B Y
  • What is the Boolean expression for this circuit? Bubble Pushing A B Y C D Y = AB + CD
  • Begin at the output of the circuit and work toward the inputs.
  • Push any bubbles on the final output back toward the inputs.
  • Working backward, draw each gate in a form so that bubbles cancel. Bubble Pushing Rules A B C D Y

From Logic to Gates

  • Two-level logic: ANDs followed by Ors
  • Example: Y = ABC + ABC + ABC A B C Y minterm: ABC minterm: ABC minterm: ABC A B C

Circuit Schematic Rules

  • Inputs are on the left (or top) side of a schematic
  • Outputs are on the right (or bottom) side of a schematic
  • Whenever possible, gates should flow from left to right
  • Straight wires are better to use than wires with multiple corners