Section 7.2: Logic Networks

Abstract:

We examine the relationship between the abstract structure of a Boolean algebra and the practical problem of creating logic networks for solving problems. There is a fundamental equivalence between Truth Functions, Boolean Expressions, and Logic Networks which allows us to pass from one to the other.

An Example Application, and Fundamental Parallels

Example: Two light switches, one light!

The problem is as follows: A light at the bottom of some stairs is controlled by two light switches, one at each end of the stairs. The two switches should be able to control the light independently. How do we wire the light?

Applications

Converting Truth Tables to Boolean Expressions (Canonical Sum-of-Products Form)

Example: Practice 11, p. 485/558

Example: Exercise 10/11, p. 495/568

Converting Boolean Expressions to Logic Networks

Example: Exercise 1b, p. 493/566

Converting Logic Networks to Truth Functions or Boolean Expressions

Example: Exercise 2, p. 493/567

Simplifying Canonical Form

We can use properties of Boolean algebra to simplify the canonical form, creating a much simpler logic network as a result.

Example: Practice 11, p. 485/558

Adding Binary numbers

Half-Adders and Full-Adders

Half-Adder: Adds two binary digits.

displaymath284

Note, however, that the half-adder doesn't implement s in this way: instead,

displaymath285

Questions:

  1. How?
  2. Why?

Full-Adder: Adds two digits plus the carry digit (made up of two half-adders, essentially!).

Example: Practice 12, p. 490/563



Mon Apr 14 17:17:59 EST 2008