+ All Categories
Home > Documents > EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Date post: 21-Dec-2015
Category:
View: 215 times
Download: 1 times
Share this document with a friend
25
EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods
Transcript
Page 1: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

EE365Adv. Digital Circuit Design

Clarkson University

Lecture #2

Boolean Laws and Methods

Page 2: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Boolean algebra

• a.k.a. “switching algebra”– deals with boolean values -- 0, 1

• Positive-logic convention– analog voltages LOW, HIGH --> 0, 1

• Signal values denoted by variables(X, Y, FRED, etc.)

Rissacher EE365Lect #2

Page 3: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Boolean operators

• Complement: X (opposite of X)• AND: X Y• OR: X + Y

binary operators, describedfunctionally by truth table.

Rissacher EE365Lect #2

Page 4: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

More definitions

• Literal: a variable or its complement– X, X, FRED, CS_L

• Expression: literals combined by AND, OR, parentheses, complementation– X+Y– P Q R– A + B C– ((FRED Z) + CS_L A B C + Q5) RESET

• Equation: Variable = expression– P = ((FRED Z) + CS_L A B C + Q5)

RESET

Rissacher EE365Lect #2

Page 5: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Logic symbols

Rissacher EE365Lect #2

Page 6: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Theorems

Rissacher EE365Lect #2

Page 7: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

More Theorems

Rissacher EE365Lect #2

Page 8: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Duality

• Swap 0 & 1, AND & OR– Result: Theorems still true– Note duals in previous 2 tables (e.g. T6 and T6’)– Example:

Rissacher EE365Lect #2

Page 9: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

N-variable Theorems

• Most important: DeMorgan theorems

Rissacher EE365Lect #2

Page 10: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

DeMorgan Symbol Equivalence

Rissacher EE365Lect #2

Page 11: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Likewise for OR

Rissacher EE365Lect #2

Page 12: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

DeMorgan Symbols

Rissacher EE365Lect #2

Page 13: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Even more definitions• Product term

– W•X’•Y

• Sum-of-products expression– (W•X’•Y)+(X•Z)+(W’•X’•Y’)

• Sum term– A+B’+C

• Product-of-sums expression– (A+B’+C)•(D’+A’)•(D+B+C)

• Normal term– No variable appears more than once– (W•X’•Y)+(A•Z)+(B’•C’)

• Minterm (n variables)• Maxterm (n variables)

Rissacher EE365Lect #2

Page 14: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Minterm• An n-variable minterm is a normal product term with n

literals• There are 2n possibilities

• 3-variable example: X’•Y’•Z or ΣX,Y,Z(1)

• A minterm is a product term that is 1 in exactly one row of the truth table:

Rissacher EE365Lect #2

X Y Z F

0 0 0 0

0 0 1 1

0 1 0 0

0 1 1 0

1 0 0 0

1 0 1 0

1 1 0 0

1 1 1 0

new notation

Page 15: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Maxterm• An n-variable maxterm is a normal sum term with n literals• There are 2n possibilities

• 3-variable example: X’+Y’+Z or ЛX,Y,Z(6)

• A maxterm is a sum term that is 0 in exactly one row of the truth table:

Rissacher EE365Lect #2

X Y Z F

0 0 0 1

0 0 1 1

0 1 0 1

0 1 1 1

1 0 0 1

1 0 1 1

1 1 0 0

1 1 1 1

new notation

Page 16: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Truth table vs. minterms & maxterms

Rissacher EE365Lect #2

Page 17: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Combinational analysis

Rissacher EE365Lect #2

Page 18: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Signal expressions

• Multiply out:

F = ((X + Y) Z) + (X Y Z)

= (X Z) + (Y Z) + (X Y Z)

Rissacher EE365Lect #2

Page 19: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

New circuit, same function

Rissacher EE365Lect #2

F = ((X + Y) Z) + (X Y Z)

= (X Z) + (Y Z) + (X Y Z)

Page 20: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

“Add out” logic function

• Circuit:

Rissacher EE365Lect #2

Page 21: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Shortcut: Symbol substitution

Rissacher EE365Lect #2

Page 22: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Different circuit, same function

Rissacher EE365Lect #2

Page 23: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Practice

Rissacher EE365Lect #2

Convert the following function into a POS:

F = ((X + Z) • Y) + (X’ • Z’ • Y’)

Page 24: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Convert the following function into a POS:

F = ((X + Z) • Y) + (X’ • Z’ • Y’)F = (X + Z + X’) • (X + Z + Z’) • (X + Z + Y’) • (Y + X’) • (Y + Z’) • (Y + Y’)

F = 1 • 1 • (X + Z + Y’) • (Y + X’) • (Y + Z’) • 1

F = (X + Z + Y’) • (Y + X’) • (Y + Z’)

Practice

Rissacher EE365Lect #2

Page 25: EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.

Next Class

Rissacher EE365Lect #2

• Building Combination Circuits• Minimization• Karnaugh Maps


Recommended