digital logic gates. sum of products (review) procedure: 1.form a minterm for each combination of...

20
Digital Logic Gates

Upload: paulina-sheila-gordon

Post on 23-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Digital Logic Gates

Page 2: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Sum of Products (Review)

Procedure:1. Form a minterm for each combination of the variables that produces a 12. OR all the minterms.

Page 3: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Three-Terminal AND Gate

F2 A B C

0 0 0 0

0 0 0 1

0 0 1 0

0 0 1 1

0 1 0 0

0 1 0 1

0 1 1 0

1 1 1 1

𝑓 1=𝐴 ∙𝐵 ∙𝐶=( 𝐴 ∙𝐵 ) ∙𝐶=𝐴 ∙ (𝐵 ∙𝐶 )=𝐴 ∙𝐵 ∙𝐵 ∙𝐶=( 𝐴 ∙𝐵 ) ∙ (𝐵 ∙𝐶 )

Page 4: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Application of Sum of Products

𝑓 1=𝐴 ∙𝐵 ∙𝐶=( 𝐴 ∙𝐵 ) ∙𝐶=𝐴 ∙ (𝐵 ∙𝐶 )=𝐴 ∙𝐵 ∙𝐵 ∙𝐶=( 𝐴 ∙𝐵 ) ∙ (𝐵 ∙𝐶 )

Page 5: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Digital Logic Gates

Page 6: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

2-Input AND GateNAND INV

NAND INV

Page 7: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

2-Input OR Gate

NOR INV

NOR INV

Page 8: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Universal Gates

• NAND and NOR are easier to build than AND and OR

• NAND and NOR are used to implement AND and OR gates

Page 9: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

NAND/NOR

Page 10: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

NAND-Based OR Gate

Page 11: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

NOR-Based NAND Gate

Page 12: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

XOR/XNOR

F=1 when x≠y

F=1 when x=y

Page 13: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Application of an XOR Gate

Page 14: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Use a XOR to Generate Pseudo-Random Numbers

Reference: http://en.wikipedia.org/wiki/Linear_feedback_shift_register

Page 15: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

logic.ly/demo

Page 16: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Circuit Simplification Example

Page 17: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Solution

Factoring—the first & third terms above haveAC in common, which can be factored out:

Since B + B = 1, then…

z = A(C + B)

Page 18: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Topics for Quiz 1

• Date: 3/8/2012– In class– No Make-Up

• Number Conversion• Arithmetic Operations• Complements• Signed Binary Numbers• Addition/Subtraction• Boolean Algebra• Logic Gates• Sum of Products• Circuit Simplifications

Page 19: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Example 1

Page 20: Digital Logic Gates. Sum of Products (Review) Procedure: 1.Form a minterm for each combination of the variables that produces a 1 2.OR all the minterms

Example 2