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

Post on 18-Jan-2016

236 Views

Category:

Documents

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Digital Electronics

Board Game CounterDigital

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

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

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

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

6

CLOCK

Functional Test (1 of 6)

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

Logic ‘0’Logic ‘1’

Sequential Logic Section

7

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (2 of 6)

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

8

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (3 of 6)

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

9

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (4 of 6)

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

10

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (5 of 6)

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

11

CLOCK

Logic ‘0’Logic ‘1’

Sequential Logic SectionFunctional Test (6 of 6)

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

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

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.

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”

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.

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)

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)

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)

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)

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)

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)

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

Board Game Counter - Digital

23

SequentialLogic

Section

CombinationalLogic

Section

Ana

log

Sec

tion

Discussed in the previous lesson

top related