Chapter 2 Boolean Algebra v2
Chapter 2 Boolean Algebra v2
Instructional Objectives
Describe the operation and construct the truth table for the
AND, OR, NOT, NOR and NAND gates.
Draw timing diagrams for the basic gates and logic circuits.
Simplify complex logic circuits by applying the various
Boolean identities and laws
Draw logic gates using the new IEEE/ANSI Standard Logic
symbols.
Official (Closed) - Non Sensitive
2.1 Introduction to General Logic Terms &
Terminology
Digital circuits operate in binary mode where each input or
output voltage is at one of 2 predefined ranges (representing
logic 0 and 1).
A
B LOGIC Y
CIRCUIT
A, B, C and YCare signals that represent one of 2 possible states:
Logic 0 or Logic 1
Official (Closed) - Non Sensitive
Boolean expression shows the output as a function of inputs represented as Boolean variables
This allows the use of Boolean algebra as a tool for the analysis and design of digital circuits.
Official (Closed) - Non Sensitive
Example 2.1
A logic circuit with two inputs A and B and an output Z, how
many combinations of inputs will you have and draw out the
truth table.
Solution
2 inputs ⇒ 2n = 22 = 4 combinations of inputs
Truth table shows the 4 combinations of inputs (outputs may vary depending on the
boolean expression)
Official (Closed) - Non Sensitive
Example 2.2
A television will only turn on (represented by Boolean variable output Z) under the
following conditions:
A (power supply) and B (remote control) are at logic 1, or
A (power supply) and C (control button) are at logic 1.
Draw out the truth table.
Official (Closed) - Non Sensitive
Switch B
A
X =A+B
B
Truth Table
Official (Closed) - Non Sensitive
A
X=A.B
B
Truth Table
Official (Closed) - Non Sensitive
Truth Table
Official (Closed) - Non Sensitive
'1'
A
'0'
'1'
X
'0'
Official (Closed) - Non Sensitive
Truth Table
Official (Closed) - Non Sensitive
'1'
A
'0'
'1'
B
'0'
'1'
X
'0'
Official (Closed) - Non Sensitive
Truth Table
Official (Closed) - Non Sensitive
'1'
B
'0'
'1'
X
'0'
Official (Closed) - Non Sensitive
A
C
C A
B X
A
B
D
Official (Closed) - Non Sensitive
A
1.1.1 = 1
B
X
C X = 1. 0 = 0
1+0 = 1
D
Official (Closed) - Non Sensitive