aoi logic analysis - weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · ppt file · web view ·...

16
AOI Design: Logic Analysis © 2014 Project Lead The Way, Inc. Digital Electronics

Upload: hoangminh

Post on 13-Mar-2018

222 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

AOI Design: Logic Analysis

© 2014 Project Lead The Way, Inc.Digital Electronics

Page 2: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Analysis of Combinational Logic Circuits

• Determine the circuit output’s truth-table and logic expression

• Determine the circuit’s intended function• Determine whether a circuit is working

properlyDid you analyze the circuit BEFORE you

turned the power on?

2

Page 3: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Circuit Analysis Techniques

Circuit to Truth Table to Logic ExpressionGiven a logic circuit . . .

• Extract truth table• Derive logic expression

Circuit to Logic Expression to Truth TableGiven a logic circuit . . .

• Extract logic expression• Derive truth table

3

Page 4: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

The Processa) Add test-points at the output of every gate.b) Add a column to the truth table for every test-

point.c) Working from the inputs to the output, complete

the truth table for each test-point, ultimately ending at the circuit’s output.

d) From the completed truth table, identify the Minterms from the truth table anywhere the output is one.

e) Using the extracted Minterms, write the Sum-Of-Products logic expression. 4

Circuit to Truth Table to Logic Expression

Page 5: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Analyze the logic circuit shown below to determine the circuit’s truth-table. Using the truth table, derive the logic expression for the output F1.

Process Walk-Thru

5

Circuit to Truth Table to Logic Expression

Page 6: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

a) Add test-points at the output of every gate.

Process Walk-Thru : Step (a)

TP1TP2

TP3

TP4TP5

6

Circuit to Truth Table to Logic Expression

Page 7: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

b) Add a column to the truth table for every test-point.

c) Working from the inputs to the output, complete the truth table for each test-point, ultimately ending at the circuit’s output.

Process Walk-Thru : Steps (b) & (c)

X Y Z F1 TP1 TP2 TP3 TP4 TP5

0 0 0 0 1 0 0 1 0

0 0 1 0 1 0 0 1 0

0 1 0 0 1 1 0 0 0

0 1 1 1 1 1 1 0 0

1 0 0 1 0 0 0 1 1

1 0 1 1 0 0 0 1 1

1 1 0 0 0 0 0 0 0

1 1 1 0 0 0 0 0 0

7

Circuit to Truth Table to Logic Expression

Page 8: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

d) From the completed truth table, identify the Minterms from the truth table anywhere the output is one.

e) Using the extracted Minterms, write the Sum-Of-Products logic expression.

Process Walk-Thru : Steps (d) & (e)

Z Y X Z Y X Z Y X

Z Y XZ Y X Z Y XF 1

X Y Z F1 TP1 TP2 TP3 TP4 TP5

0 0 0 0 1 0 0 1 0

0 0 1 0 1 0 0 1 0

0 1 0 0 1 1 0 0 0

0 1 1 1 1 1 1 0 0

1 0 0 1 0 0 0 1 1

1 0 1 1 0 0 0 1 1

1 1 0 0 0 0 0 0 0

1 1 1 0 0 0 0 0 0

8

Circuit to Truth Table to Logic Expression

Page 9: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Example #1: Circuit Analysis

Analyze the logic circuit shown below to determine the circuit’s truth table. Using the truth table, derive the logic expression for the output F2.

9

Page 10: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Example #1: Circuit Analysis

C BA

C BAC BA C BAF2

Solutiona)

b) & c)

TP1TP2 TP3

TP4

TP5

e)A B C F2 TP1 TP2 TP3 TP4 TP5

0 0 0 0 1 0 0 1 0

0 0 1 0 1 0 0 0 0

0 1 0 1 1 1 0 1 1

0 1 1 1 1 1 1 0 0

1 0 0 0 0 0 0 1 0

1 0 1 0 0 0 0 0 0

1 1 0 1 0 0 0 1 1

1 1 1 0 0 0 0 0 0

C BA

C BA

d)

e) 10

Page 11: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

The Processa) Working from the inputs to the output, write

the cumulating logic expression at the output of each gate concluding with the expression for the circuit’s output.

b) Using the circuit’s output logic expression, derive the circuit’s truth table.

11

Circuit to Logic Expression to Truth Table

Page 12: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Circuit to Logic Expression to Truth Table

Analyze the logic circuit shown below to determine the logic expression for the output F1. Using the logic expression, derive the circuit’s truth table.

Process Walk-Thru

12

Page 13: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

a) Working from the inputs to the output, write the cumulating logic expression at the output of each gate concluding with the expression for the circuit’s output.

Process Walk-Thru : Step (a)

X

Y

Y X

YX

Z Y X

Y X Z Y X

13

Circuit to Logic Expression to Truth Table

Page 14: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

b) Using the circuit’s output logic expression, derive the circuit’s truth table.

Process Walk-Thru : Step (b)

X Y Z F1

0 0 0 0

0 0 1 0

0 1 0 0

0 1 1 1

1 0 0 1

1 0 1 1

1 1 0 0

1 1 1 0

Z Y X

Y X

Y X Z Y XF 1

14

Circuit to Logic Expression to Truth Table

Page 15: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Example #2: Circuit Analysis

Analyze the logic circuit shown below to determine the logic expression for the output F2. Using the logic expression, derive the circuit’s truth table.

15

Page 16: AOI Logic Analysis - Weeblybbacher.weebly.com/uploads/8/4/6/2/8462… · PPT file · Web view · 2014-10-21Introductory Slide / Overview of Presentation. ... Circuit Analysis Techniques

Example #2: Circuit Analysis

A B C F2

0 0 0 0

0 0 1 0

0 1 0 1

0 1 1 1

1 0 0 0

1 0 1 0

1 1 0 1

1 1 1 0

A

C

C B

B A C B A C B C B A C B C B AF 2

Solutiona)

b)

C B A C B

16