Present State |
Next State |
Flipflop Inputs* |
---|
$A$ |
$B$ |
$A^+$ |
$B^+$ |
$J_A$ |
$K_A$ |
$J_B$ |
$K_B$ |
$0$ |
$0$ |
$0$ |
$1$ |
$0$ |
$X$ |
$1$ |
$X$ |
$0$ |
$1$ |
$1$ |
$0$ |
$1$ |
$X$ |
$X$ |
$1$ |
$1$ |
$0$ |
$1$ |
$1$ |
$X$ |
$0$ |
$1$ |
$X$ |
$1$ |
$1$ |
$0$ |
$0$ |
$X$ |
$1$ |
$X$ |
$1$ |
*use excitation table of JK flipflop
Solve for $J_A,K_A,J_B\;\text{and}\;K_B$ using K-map
$J_B=1\quad K_B=1\quad J_A=B\quad K_A=B$
Now draw the counter using these equations