Asynchronous vs Synchronous

Every sequential circuit needs a clock, but there is a big difference in how that clock reaches the flip-flops. In a synchronous circuit, all flip-flops share one clock and change together. In an asynchronous circuit, some flip-flops are clocked by the outputs of others, so changes ripple through the circuit one after another. This choice affects speed, glitches and how easy the design is to verify.

In this lesson you will compare a ripple counter, which is asynchronous, with a synchronous counter, and see why modern designs are almost always synchronous. You should know T flip-flops and binary counting.

Learning objectives

After this lesson you will be able to:

  • Explain the difference between synchronous and asynchronous circuits.
  • Trace the ripple of a 3-bit asynchronous counter.
  • Explain why a ripple counter produces temporary wrong states.
  • Estimate the maximum clock frequency of both counter types.
  • Distinguish asynchronous clear from synchronous clear.

Asynchronous (ripple) counters

In a ripple counter, each bit is a T flip-flop with T = 1, and the clock input of every stage is the output of the stage before it. Only the first flip-flop sees the real clock. Each stage toggles when the previous output falls from 1 to 0, so stage 0 toggles on every clock edge, stage 1 on every second edge, and stage 2 on every fourth edge. The circuit is simple, needing no extra gates, and each stage divides the frequency by 2.

The disadvantage is delay. A stage can only react after the previous one has changed, so the changes ripple from the first bit to the last. During this time the outputs show wrong intermediate values.

Synchronous counters

In a synchronous counter every flip-flop receives the same clock. The counter decides which bits toggle by using gates: T0 = 1, T1 = Q0, T2 = Q1Q0, T3 = Q2Q1Q0, and so on. All bits that must change do so at the same instant, and only the delay of one flip-flop plus one AND gate matters.

Example 1: a ripple counter counts correctly

When the ripple has finished, a 3-bit ripple counter shows the normal binary count.

Clock edge Q2 Q1 Q0 after the ripple settles
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
8 0 0 0

Result: after the outputs settle, the counter is a normal 3-bit binary counter. The trouble is what the outputs do during the ripple.

Example 2: glitches in a ripple counter

Look at the transition from 011 to 100 in detail. The flip-flops cannot change together, so the circuit passes through other values on the way.

Step Q2 Q1 Q0 What happened
0 011 Before the clock edge
1 010 Q0 toggles 1 to 0 on the clock edge
2 000 Q0 fell, so Q1 toggles 1 to 0
3 100 Q1 fell, so Q2 toggles 0 to 1

Result: for a short time the counter shows 010 and then 000, which are not the right values. If a decoder is connected to these outputs, it may produce a false pulse for those two states. A synchronous counter changes all three bits together, so the outputs go directly from 011 to 100, apart from small differences in gate delays. The same effect happens at 111 to 000, which passes through 110 and 100.

Example 3: speed comparison

Suppose each flip-flop needs 10 ns to change its output, and a 3-input AND gate in the synchronous counter takes 8 ns. For a 4-bit counter:

Design Clock period needed Maximum frequency
4-bit ripple (asynchronous) 4 x 10 = 40 ns 25 MHz
4-bit synchronous 10 + 8 = 18 ns 55.6 MHz

In the ripple counter the last stage changes only after four flip-flop delays in a row, so every extra bit adds another 10 ns. In the synchronous counter the delay depends on the AND gate, not on the number of stages. (This ignores setup time, to keep the numbers simple.)

Result: the synchronous counter runs more than twice as fast, and the gap grows as bits are added.

Asynchronous and synchronous clear

Flip-flops often have extra inputs for resetting them. An asynchronous clear acts immediately, whatever the clock does, so the output goes to 0 as soon as the clear signal is active. A synchronous clear is only looked at on the clock edge, so the output goes to 0 at the next active edge. Asynchronous clear is handy for powering up in a known state, but a glitch on the clear line can reset the circuit by accident, so synchronous clear is safer in the middle of a design.

Common mistakes

  • Reading the outputs of a ripple counter during the ripple. Wait until all stages have settled.
  • Using ripple counter outputs as clocks or decoder inputs without care. The glitches can cause false triggers.
  • Forgetting that delay adds up. A ripple counter with n stages needs about n times the flip-flop delay.
  • Assuming asynchronous means "no clock". It means that not every flip-flop is driven by the same clock.
  • Using an asynchronous clear driven by logic that can glitch. It can reset the circuit at the wrong moment.

Practice problems

Check your logic with the truth table generator.

  1. A 5-bit ripple counter has a flip-flop delay of 8 ns. What are the total delay and the maximum clock frequency?

    Answer: 5 x 8 = 40 ns, so the maximum frequency is 25 MHz.

  2. List the values a 3-bit ripple counter shows while it goes from 111 to 000.

    Answer: 111, then 110, then 100, then 000.

  3. Which type of counter can produce temporary wrong output values: synchronous or asynchronous?

    Answer: The asynchronous (ripple) counter, because the stages change one after the other.

  4. Write the T inputs of a 4-bit synchronous binary counter.

    Answer: T0 = 1, T1 = Q0, T2 = Q1Q0 and T3 = Q2Q1Q0.

Frequently asked questions

Why are ripple counters still used? They need very few parts, so they are fine for slow circuits and simple frequency dividers, where the temporary glitches do not matter and nothing else depends on the exact moment each bit changes.

Why do most modern designs use synchronous circuits? With one shared clock, the timing of the whole design can be analysed with one rule: every path must settle before the next clock edge. Tools can check this automatically, which is very hard with asynchronous circuits.

Can synchronous counters be slow too? Yes. As the number of bits grows, the AND gates need more inputs, and the delay increases. Designers then split the AND gates into stages or use carry look-ahead methods.

You can test the next-state logic of your own counters in the Boolean calculator.

Next lesson: Shift Registers