Digital Electronics

Ripple Counter vs Synchronous Counter and Hazards in Combinational Circuits

C-CAT

Ripple Counter vs Synchronous Counter

25.1 Asynchronous (Ripple) Counter

  • FF output clocks next FF
  • Propagation delay accumulates — slow for large n
  • Simple wiring
CLK → FF0 → FF1 → FF2 → FF3
 Q0 Q1 Q2 Q3

25.2 Synchronous Counter

  • Same clock to all FFs
  • Logic generates next state from present state
  • Faster, predictable timing
  • Used in CPUs and high-speed systems

25.3 Mod-10 Decade Counter

Counts 0000 → 1001 → reset to 0000.

Requires feedback to reset when count reaches 1010.

Ring Counter and Johnson Counter

26.1 Ring Counter (Circulating Register)

N FFs connected in ring — one hot state circulates.

ClockQ3Q2Q1Q0
01000
10100
20010
30001

Modulus = n (number of FFs)

26.2 Johnson Counter (Twisted Ring)

Inverted output fed back to input.

Sequence for 4 FFs: 0000 → 1000 → 1100 → 1110 → 1111 → 0111 → 0011 → 0001 → 0000

Modulus = 2n

Excitation Tables — Design Procedure

To design sequential circuit from state diagram:

  1. Draw state table (present state, input, next state, output)
  2. Convert next state to excitation inputs using flip-flop excitation table
  3. Derive K-maps for each excitation variable
  4. Minimize and implement

JK Excitation Table

QnQ(n+1)JK
000X
011X
10X1
11X0

D Excitation Table

QnQ(n+1)D
000
011
100
111

D = Q(n+1) — simplest design

Hazards in Combinational Circuits

28.1 Static-1 Hazard

Output should stay 1 but briefly glitches to 0 due to path delay differences.

Fix: Add redundant term (consensus term) to cover transition.

28.2 Static-0 Hazard

Brief 1 pulse when output should stay 0.

28.3 Dynamic Hazard

Multiple transitions on single input change — rare in well-designed circuits.

Continue learning

Related notes

Put this topic into timed practice

Open mock tests when you want full-exam pacing, or keep drilling in practice mode.