23
1 Homework • Reading – Tokheim, Section 5-10, 7-4 Machine Projects – Continue on MP4 • Labs – Continue labs with your assigned section

Digital Circuits - Seven Segment Display

  • Upload
    buikhue

  • View
    245

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Digital Circuits - Seven Segment Display

1

Homework

• Reading– Tokheim, Section 5-10, 7-4

• Machine Projects– Continue on MP4

• Labs– Continue labs with your assigned section

Page 2: Digital Circuits - Seven Segment Display

2

Seven Segment Display

• Used for output of a single decimal digit

• Driven by a binary coded decimal (BCD) nibble

• A separate set of combinational logic turns on or off each segment to create the digit display

Page 3: Digital Circuits - Seven Segment Display

3

Seven Segment Display

Page 4: Digital Circuits - Seven Segment Display

4

Seven Segment Display

Page 5: Digital Circuits - Seven Segment Display

5

Seven Segment Display

• Seven Segment Display Driver

Page 6: Digital Circuits - Seven Segment Display

6

Seven Segment Display

• Truth Table for Seven Segment Display Driver

Page 7: Digital Circuits - Seven Segment Display

7

Seven Segment Display Logic

• Seven combinational logic circuits - one for each segment

• Look at the logic for segment e – when is it on?A B C D Sum of Product Terms

L L L L A B C D

L L H L A B C D

L H H L A B C D

H L L L A B C D

• How to factor this sum in order to simplify?

Page 8: Digital Circuits - Seven Segment Display

8

Karnaugh Map for Segment e

A B

A B

A B

A B

C D C D C D C D

• Put down all the 1’s for D, C, B, A = 0 through 9

• Then, fill in 0’s for all other valid BCD input values

1 0

10

1

1

0

0

0 0

Page 9: Digital Circuits - Seven Segment Display

9

Don’t Cares in Karnaugh Map

• That takes care of 10 out of 16 combinations

• What about the other 6? They are “don’t cares”

A B

A B

A B

A B

C D C D C D C D

1 0

10

1

X X

X

1

0

0

X

X

X

0

0

Page 10: Digital Circuits - Seven Segment Display

10

Karnaugh Map for Segment e• Now we loop the largest areas that we can• Use “don’t cares” as 1’s if loops can be larger

Segment e = B D + C D

A B

A B

A B

A B

C D C D C D C D

1 0

10

1

X

1

X

X0

0

X

X

X

0

0

Page 11: Digital Circuits - Seven Segment Display

11

Segment e Logic Circuit

A B C D

BCD Inputs

e

C D

B D

Not Used

Page 12: Digital Circuits - Seven Segment Display

12

Test Segment e Logic Circuit

0 0 0 0

BCD Inputs

e = 1

C D = 0

B D = 1

Not Used

e

Page 13: Digital Circuits - Seven Segment Display

13

Test Segment e Logic Circuit

0 0 0 1

BCD Inputs

e = 0

C D = 0

B D = 0

Not Used

e

Page 14: Digital Circuits - Seven Segment Display

14

Test Segment e Logic Circuit

0 0 1 0

BCD Inputs

e = 1

C D = 1

B D = 1

Not Used

e

Page 15: Digital Circuits - Seven Segment Display

15

Test Segment e Logic Circuit

0 0 1 1

BCD Inputs

e = 0

C D = 0

B D = 0

Not Used

e

Page 16: Digital Circuits - Seven Segment Display

16

Test Segment e Logic Circuit

0 1 0 0

BCD Inputs

e = 0

C D = 0

B D = 0

Not Used

e

Page 17: Digital Circuits - Seven Segment Display

17

Test Segment e Logic Circuit

0 1 0 1

BCD Inputs

e = 0

C D = 0

B D = 0

Not Used

e

Page 18: Digital Circuits - Seven Segment Display

18

Test Segment e Logic Circuit

0 1 1 0

BCD Inputs

e = 1

C D = 1

B D = 0

Not Used

e

Page 19: Digital Circuits - Seven Segment Display

19

Test Segment e Logic Circuit

0 1 1 1

BCD Inputs

e = 0

C D = 0

B D = 0

Not Used

e

Page 20: Digital Circuits - Seven Segment Display

20

Test Segment e Logic Circuit

1 0 0 0

BCD Inputs

e = 1

C D = 0

B D = 1

Not Used

e

Page 21: Digital Circuits - Seven Segment Display

21

Test Segment e Logic Circuit

1 0 0 1

BCD Inputs

e = 0

C D = 0

B D = 0

Not Used

e

Page 22: Digital Circuits - Seven Segment Display

22

Test Segment e Logic Circuit

1 0 1 0 = DON’T CARE!

BCD Inputs

e = 1

C D = 1

B D = 1

Not Used

e

Page 23: Digital Circuits - Seven Segment Display

23

Can we do better than the map result?

• Sometimes, if we look at the Boolean equation from the Karnaugh map for segment e:

Segment e = B D + C D

It can be factored:

Segment e = (B + C) D

• Simpler Logic Diagram (Product of Sums):

eBCD