Logo
All chapters
Volume II: Digital Logic  ›  Registers & Counters

Synchronous Counters

A counter where every flip-flop is clocked together — fast and glitch-free.

PrevRipple Counters
NextOther Counters

Description

A counter whose flip-flops all share one clock, with logic deciding which toggle. Simultaneous clocking removes ripple delay and transient wrong counts. Combinational logic from the current count drives each flip-flop's J/K (or T) inputs.

  • Every flip-flop sees the same clock edge, so all bits update at once.
  • A flip-flop toggles when all lower bits are 1 (the count-enable chain).
  • No ripple delay → the count is valid right after the edge.
  • An up/down control picks the toggle condition (lower bits all 1 vs all 0).
  • Mod-N: detect the terminal count and clear/load to restart early.
  • What: A counter whose flip-flops all share one clock, with logic deciding which toggle.
  • Why: Simultaneous clocking removes ripple delay and transient wrong counts.
  • How: Combinational logic from the current count drives each flip-flop's J/K (or T) inputs.
  • Where: High-speed counting, timers, address generators, state sequencing.
  • When: Whenever count speed or clean decoding matters (most designs).

At a glance

What

A counter whose flip-flops all share one clock, with logic deciding which toggle.

Why

Simultaneous clocking removes ripple delay and transient wrong counts.

How

Combinational logic from the current count drives each flip-flop's J/K (or T) inputs.

Where

High-speed counting, timers, address generators, state sequencing.

When

Whenever count speed or clean decoding matters (most designs).

Think of it like…

A marching band turning on the same beat: everyone pivots together (synchronous), unlike dominoes that fall one after another (ripple).

All edges together

  • Every flip-flop sees the same clock edge, so all bits update at once.
  • A flip-flop toggles when all lower bits are 1 (the count-enable chain).
  • No ripple delay → the count is valid right after the edge.

Up/down and mod-N

  • An up/down control picks the toggle condition (lower bits all 1 vs all 0).
  • Mod-N: detect the terminal count and clear/load to restart early.

Toggle condition (up counter)

BitToggles when
Q0always
Q1Q0 = 1
Q2Q1·Q0 = 1
Q3Q2·Q1·Q0 = 1

Black-box view

CLKRSTENUp/DnSync Counterblack boxQ3Q2Q1Q0

Inputs on the left → outputs on the right · particles show signal direction

Functional / block diagram

CLK
FF Q0
FF Q1
FF Q2
FF Q3
Q3:0

Functional blocks · arrows animate in the direction data flows

Synchronous up/down counter

▶ live simulator
mod-16
0
0
0
0
0

Press Step or Runto count; each bit's waveform is traced live.

Real-world applications

High-speed countersAddress generatorsBCD / decade countersTimers

The 5 Whys

  1. 1

    Why synchronous counters? To avoid ripple delay.

  2. 2

    Why does that matter? All bits valid immediately, safe to decode.

  3. 3

    Why the AND chain? A bit flips only when all lower bits are 1.

  4. 4

    Why mod-N logic? To count in custom ranges (e.g. 0–9 BCD).

  5. 5

    Root cause: one shared clock + toggle logic buys speed at the cost of extra gates.

Cheat sheet

Working principle

  • Combinational logic from the current count drives each flip-flop's J/K (or T) inputs.
  • A counter whose flip-flops all share one clock, with logic deciding which toggle.

Formulas & Boolean expressions

  • Tₖ = Q₀·Q₁·…·Qₖ₋₁ (up counter)
  • Mod-N: clear when count = N−1
  • Q0 = always
  • Q1 = Q0 = 1
  • Q2 = Q1·Q0 = 1
  • Q3 = Q2·Q1·Q0 = 1

Key facts

  • Every flip-flop sees the same clock edge, so all bits update at once.
  • An up/down control picks the toggle condition (lower bits all 1 vs all 0).

Why it exists

  • Root cause: one shared clock + toggle logic buys speed at the cost of extra gates.
PrevRipple Counters
NextOther Counters