Synchronous Counters Synchronous digital counters have a common clock which results in all the...

11
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently, there are no cumulative delays that result because the clock signal must ripple through the stages as in the asynchronous counters. Synchronous counters can be designed to count up and down in numerical order. In addition, they may be used to produce count sequences of non-consecutive numbers. The count sequence produced by synchronous counters is not dependent on the trigger characteristics of the flip-flops that comprise the count stages. The count sequence is achieved by applying the required logic function into the flip-flops.

Transcript of Synchronous Counters Synchronous digital counters have a common clock which results in all the...

Page 1: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

Synchronous CountersSynchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently, there are no cumulative delays that result because the clock signal must ripple through the stages as in the asynchronous counters. Synchronous counters can be designed to count up and down in numerical order. In addition, they may be used to produce count sequences of non-consecutive numbers. The count sequence produced by synchronous counters is not dependent on the trigger characteristics of the flip-flops that comprise the count stages. The count sequence is achieved by applying the required logic function into the flip-flops.

Page 2: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

Synchronous Counter Analysis

Verify that the counter is indeed synchronous (i.e. identify the common clock feature).

Determine the number of stages by counting the number of flip-flops or outputs.

Determine the type of flip-flops and the input function for each stage. For reference, recall the characteristic table which indicates the present state (Qt), the present inputs and the next state (Qt+1) for each flip flop.

Construct a characteristic table for the complete counter circuit. Analyze the counter using the characteristic table to determine

the complete counter sequence. This analysis concludes when the count sequence begins to repeat.

Determine the modulus of the counter. Construct a state transition diagram to describe the counter

operation. Graph the output waveforms produced by the counter.

Page 3: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

A two-bit synchronous counter

Page 4: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

J-K Flip-Flop Characteristic Table

Present InputsJ        K Present Next

stateQt    stateQt+1

0 0 0 00 0 1 10 1 0 00 1 1 01 0 0 11 0 1 11 1 0 11 1 1 0

Page 5: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

Counter Characteristic Table

Page 6: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

State transition diagram

Page 7: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

Waveform Diagram for counter

Page 8: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

Synchronous counter design

To successfully design synchronous counters we may employ the following six basic steps: Create the state transition diagram. Create a present state-next state table (often referred to as the

next state table). Expand the table to form the transition table for each flip-flop in

the circuit. The transition table shows the flip-flop inputs required to make the counter go from present state to the desired next state. This is also referred to as the excitation table.

Determine the logic functions of the J and K inputs as a function of the present states.

Analyze the counter to verify the design. Construct and test the counter.

Page 9: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

state transition diagram

Let us employ these Techniques to design a MOD-8 counter to count in the following sequence: 0, 1, 2, 3, 4, 5, 6, 7.

Page 10: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,

Creating present state-next state table

Present State Next State

Q2 Q1 Q0 Q2 Q1 Q0

0 0 0 0 0 1

0 0 1 0 1 0

0 1 0 0 1 1

0 1 1 1 0 0

1 0 0 1 0 1

1 0 1 1 1 0

1 1 0 1 1 1

1 1 1 0 0 0

Page 11: Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,