Skip to main content

MOD-6 synchronous counter, negative edge JK

Short answer

A MOD-6 synchronous counter with negative-edge JK flip-flops shares a common clock. States are 000–101; equations: J0=K0=1, J1=Q2'Q0, K1=Q0, J2=Q1Q0, K2=Q0. Unused states 110 and 111 transition to 000, making the counter self-starting.

Design the synchronous MOD-6 counter using -ve edge triggered JK flip flop.

A synchronous MOD-6 counter goes through 6 states, 000 → 001 → 010 → 011 → 100 → 101 → 000, with all flip-flops triggered by the falling edge of a common clock. Three JK flip-flops are needed (23=8≥62^3 = 8 \ge 6). States 110 and 111 are not used (don't cares).

Excitation table

JK excitation: 0→0: J=0, K=X; 0→1: J=1, K=X; 1→0: J=X, K=1; 1→1: J=X, K=0.

Present Q2Q1Q0Next Q2Q1Q0J2K2J1K1J0K0
0000010X0X1X
0010100X1XX1
0100110XX01X
0111001XX1X1
100101X00X1X
101000X10XX1

K-maps

J1: Q2 / Q1Q000011110
001XX
100XX
K1: Q2 / Q1Q000011110
0XX10
1XXXX
J2: Q2 / Q1Q000011110
00010
1XXXX
K2: Q2 / Q1Q000011110
0XXXX
101XX

J0=K0=1J_0 = K_0 = 1 (Q0 toggles on every clock).

Equations

J2=Q1Q0,K2=Q0J1=Q2‾Q0,K1=Q0J0=1,K0=1\begin{aligned} &J_2 = Q_1Q_0,\quad K_2 = Q_0 \\ &J_1 = \overline{Q_2}Q_0,\quad K_1 = Q_0 \\ &J_0 = 1,\quad K_0 = 1 \end{aligned}

Circuit (negative-edge triggered)

   +-----+       +-----+       +-----+
J0>|J   Q|-Q0 J1>|J   Q|-Q1 J2>|J   Q|-Q2
   | FF0 |       | FF1 |       | FF2 |
K0>|K    |    K1>|K    |    K2>|K    |
   +--o--+       +--o--+       +--o--+
      |             |             |
CLK---+-------------+-------------+
J0 = K0 = 1
J1 = Q2'.Q0    K1 = Q0
J2 = Q1.Q0     K2 = Q0

"o" at the clock input shows negative-edge triggering. Only two 2-input AND gates are needed.

Check

Unused states go 110 → 111 → 000, so the counter starts correctly from any power-on state.

Timing diagram

CLK  __|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾
Q2   ________________|‾‾‾‾‾‾‾|_______
Q1   ________|‾‾‾‾‾‾‾|_______________
Q0   ____|‾‾‾|___|‾‾‾|___|‾‾‾|___|‾‾‾
Cnt  0    1   2   3   4   5   0   1

All outputs change at the falling clock edges; Q2Q_2 gives fclk/6f_{clk}/6.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 8 questions →