counters

14
1 Counters Counters are a specific type of sequential circuit. Like registers, the state, or the flip-flop values themselves, serves as the “output.” The output value increases by one on each clock cycle. After the largest value, the output “wraps around” back to 0.

Upload: lee-diaz

Post on 21-Nov-2014

860 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Counters

1

Counters•Counters are a specific type of

sequential circuit.•Like registers, the state, or the flip-

flop values themselves, serves as the “output.”

•The output value increases by one on each clock cycle.

•After the largest value, the output “wraps around” back to 0.

Page 2: Counters

Using two bits:

2

Present State Next State A B A B 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0

00 01

1011

1

11

1

Page 3: Counters

(ASYNCHRONOUS COUNTER)

RIPPLE COUNTER

3

Page 4: Counters

4

Asynchronous Counters

• This counter is called asynchronous because not all flip flops are hooked to the same clock.

Page 5: Counters

• This is called as a ripple counter due to the way the FFs respond one after another in a kind of rippling effect.

•In a ripple counter, a flip-flop output transition serves as a source for triggering other flip-flops.

5

Page 6: Counters

6

Page 7: Counters

7

Asynchronous counters

If the clock has period T. Q0 has period 2T. Q1 period is 4TWith n flip flops the period is 2n.

Page 8: Counters

• Binary Ripple Counter–(2 bits, 3 bits, 4 bits, …)– 1 to 0

•Binary Countdown Counter– 0 to 1

•BCD Ripple Counter–4 bits

8

Page 9: Counters

9

Page 10: Counters

BINARY RIPPLE COUNTER

10

Page 11: Counters

BINARY COUNTDOWN COUNTER

11

Page 12: Counters

12

Page 13: Counters

BCD RIPPLE COUNTER

13

Page 14: Counters

14