Professional Documents
Culture Documents
Given this logic circuit we can : Find corresponding logic expression from circuit Create truth table by applying all input combinations: From truth table find Canonical Sum/Product Representations Manipulate logic expression to other forms using theorems. Truth Table
Row 0 1 2 3 4 5 6 7 X 0 0 0 0 1 1 1 1 Y 0 0 1 1 0 0 1 1 Z 0 1 0 1 0 1 0 1 F 0 1 1 0 0 1 0 1
X 00001111 Y
00110011
00001111 11001100
X+Y
11001111
Y Z 01010101 X Z
01010101
(X+Y) . Z
01000101
From truth table: Canonical Sum F = X,Y,Z (1, 2, 5,7) Canonical Product F = X,Y,Z (0,3,4,6)
01100101 11110000
Y 00110011
00100000
X. Y. Z F = ((X + Y) . Z) + (X.Y. Z)
EECC341 - Shaaban 1
#1 Lec # 6 Winter 2001 12-18-2001
F = X . Z + Y. Z + X.Y. Z
Realized using a 2-level AND-OR circuit:
X X.Z
Y Y . Z
F = X . Z + Y. Z + X.Y. Z
X . Y . Z Z Z
EECC341 - Shaaban 2
#2 Lec # 6 Winter 2001 12-18-2001
EECC341 - Shaaban 3
#3 Lec # 6 Winter 2001 12-18-2001
X (X . Y) Y
According to DeMorgans theorem T13:
X X + Y Y
(X . Y) = X + Y
NOR Symbols
Normal NOR Symbol Alternate NOR Symbol
X (X + Y) Y
X X . Y Y
(X + Y) = X . Y
EECC341 - Shaaban 4
#4 Lec # 6 Winter 2001 12-18-2001
EECC341 - Shaaban 5
#5 Lec # 6 Winter 2001 12-18-2001
AND-OR
NAND-NAND
EECC341 - Shaaban 6
#6 Lec # 6 Winter 2001 12-18-2001
Y (Y . Z)
(X . Y . Z) Z Z
EECC341 - Shaaban 7
#7 Lec # 6 Winter 2001 12-18-2001
OR-AND
NOR-NOR
EECC341 - Shaaban 9
#9 Lec # 6 Winter 2001 12-18-2001
EECC341 - Shaaban 10
#10 Lec # 6 Winter 2001 12-18-2001
In sum of products form as (by using DeMorgan T13 and multiplying out) :
ALARM = PANIC + ENABLE. EXISTING . WINDOW + ENABLE . EXISTING. DOOR+ ENABLE. EXISTING. GARAGE
EECC341 - Shaaban 11
#11 Lec # 6 Winter 2001 12-18-2001