digital electronics board game counter digital. board game counter demo - digital 2 this...

23
Digital Electronics Board Game Counter Digital

Upload: kathryn-logan

Post on 18-Jan-2016

236 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Digital Electronics

Board Game CounterDigital

Page 2: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Board Game Counter Demo - Digital

2

This presentation will• Review the Board Game Counter block diagram.

• Review the circuit design of the sequential logic section of the Board Game Counter.

• Review the circuit design of the combinational logic section of the Board Game Counter.

2

Page 3: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Board Game Counter Block Diagram

3

0 0 0 1 1 1

0 1 1 0 0 1

1 0 1 0 1 0

1 2 3 4 5 6

AnalogSection

SequentialLogicSection

CombinationalLogicSection

The Analog Section produces a dampened square wave that “rolls” the count and slowly stops.

On every pulse of the clock, the Sequential Logic Section increments a binary count from 1 to 6, then repeats.

The Combinational Logic Section encodes the binary count into the die’s seven dots.

CLOCK

L1L2L3L4L5L6L7

A

B

C

Page 4: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Board Game Counter Block Diagram

4

AnalogSection

CombinationalLogicSection

The Analog Section produces a dampened square wave that “rolls” the count and slowly stops.

On every pulse of the clock, the Sequential Logic Section increments a binary count from 1 to 6, then repeats.

The Combinational Logic Section encodes the binary count into the die’s seven dots.

L1L2L3L4L5L6L7

SequentialLogicSection

CLOCK

A

B

C

Page 5: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Sequential Logic Section

5

Schematic Diagram

CLOCK

ABC

3-Bit Counter Default Count Range

(010 = 0002 to 710 = 1112)

Set / Reset LogicChanges Count Range

(110 = 0012 to 610 = 1102)Sequential Logic Section

Page 6: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

6

CLOCK

Functional Test (1 of 6)

Count of “1” (A=0; B=0; C=1)

Logic ‘0’Logic ‘1’

Sequential Logic Section

Page 7: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

7

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (2 of 6)

Count of “2” (A=0; B=1; C=0)

Page 8: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

8

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (3 of 6)

Count of “3” (A=0; B=1; C=1)

Page 9: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

9

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (4 of 6)

Count of “4” (A=1; B=0; C=0)

Page 10: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

10

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (5 of 6)

Count of “5” (A=1; B=0; C=1)

Page 11: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

11

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (6 of 6)

Count of “6” (A=1; B=1; C=0)

Page 12: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Board Game Counter Block Diagram

12

SequentialLogicSection

CLOCKAnalogSection

The Analog Section produces a dampened square wave that “rolls” the count and slowly stops.

On every pulse of the clock, the Sequential Logic Section increments a binary count from 1 to 6, then repeats.

The Combinational Logic Section encodes the binary count into the die’s seven dots.

CombinationalLogicSection

L1L2L3L4L5L6L7

A

B

C

Page 13: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

13

ABC

Schematic Diagram

Combinational Logic Section

Note: Because L1 / L5, L2 / L6, & L3 / L7 are always on together, only one combinational logic circuit was required for each pair.

Page 14: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

14

Truth TableA B C L1 L2 L3 L4 L5 L6 L7

0 0 0 - - - - - - -

0 0 1 0 0 0 1 0 0 0

0 1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 1 1 0 0

1 0 0 1 0 1 0 1 0 1

1 0 1 1 0 1 1 1 0 1

1 1 0 1 1 1 0 1 1 1

1 1 1 - - - - - - -

“1”

“2”

“3”

“4”

“5”

“6”

Page 15: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

15

Truth TableA B C L1 L2 L3 L4 L5 L6 L7

0 0 0 - - - - - - -

0 0 1 0 0 0 1 0 0 0

0 1 0 0 0 1 0 0 0 1

0 1 1 1 0 0 1 1 0 0

1 0 0 1 0 1 0 1 0 1

1 0 1 1 0 1 1 1 0 1

1 1 0 1 1 1 0 1 1 1

1 1 1 - - - - - - -

Again, note that L1 / L5, L2 / L6, & L3 / L7 have the same entries in the truth table; therefore, they are equal functions.

Page 16: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

16

A = 0B = 0C = 1

Logic ‘0’Logic ‘1’

Functional Test (1 of 6)

Count of “1” (A=0; B=0; C=1)

Page 17: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

17

A = 0B = 1C = 0

Logic ‘0’Logic ‘1’

Functional Test (2 of 6)

Count of “2” (A=0; B=1; C=0)

Page 18: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

18

A = 0B = 1C = 1

Logic ‘0’Logic ‘1’

Functional Test (3 of 6)

Count of “3” (A=0; B=1; C=1)

Page 19: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

19

A = 1B = 0C = 0

Logic ‘0’Logic ‘1’

Functional Test (4 of 6)

Count of “4” (A=1; B=0; C=0)

Page 20: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

20

A = 1B = 0C = 1

Logic ‘0’Logic ‘1’

Functional Test (5 of 6)

Count of “5” (A=1; B=0; C=1)

Page 21: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic Section

21

A = 1B = 1C = 0

Logic ‘0’Logic ‘1’

Functional Test (6 of 6)

Count of “6” (A=1; B=1; C=0)

Page 22: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Combinational Logic SectionUsing LEDs

22

A = 1B = 0C = 0

Shown with a count of “4” (A=1; B=0; C=0)

LED – Light Emitting Diode

Page 23: Digital Electronics Board Game Counter Digital. Board Game Counter Demo - Digital 2 This presentation will Review the Board Game Counter block diagram

Board Game Counter - Digital

23

SequentialLogic

Section

CombinationalLogic

Section

Ana

log

Sec

tion

Discussed in the previous lesson