retagged by
52,154 views
113 votes
113 votes

We want to design a synchronous counter that counts the sequence $0-1-0-2-0-3$ and then repeats. The minimum number of $\text{J-K}$ flip-flops required to implement this counter is _____________.

retagged by

20 Answers

0 votes
0 votes

 

As the question just speaks about synchronous counters, I thought of using a Johnson Counter in which with n flip-flops we could count mod(2n). Considering that, the question is counting 6 bits therefore we require 3 flip-flops. 

 

0 votes
0 votes
0

1

0

2

0

3

It means

00

01

00

10

00

11

but to differentiate

000

001

100

110

000

011

Still need one more bit

0000

0001

0100

0110

1000

1011

 

0----->1----->4---->6---->8---->11---->0

The counter is working like this.

So 4 flip flops
0 votes
0 votes
  1. Total States: The counter needs to represent 6 distinct states: $0, 1, 0, 2, 0, 3$ the repeat..
  2. Required Flip-Flops:
    • Each flip-flop can represent $2$ states (0 or 1).
    • To represent 6 states, we need $2^n >= 6$, where n is the number of flip-flops.
    • The smallest value of n that satisfies this condition is $n = 4$.
    • The answer could be 3 also as he condition $2^n >= 6$ is satisfied for $n=3$ as well.

Therefore, $4$ or $3$ J-K flip-flops are required to implement this counter.

 

Answer:

Related questions

34 votes
34 votes
9 answers
1
Sandeep Singh asked Feb 12, 2016
12,296 views
The $16\text{-bit}\;2's$ complement representation of an integer is $1111 \quad 1111 \quad 1111 \quad 0101;$ its decimal representation is ____________
24 votes
24 votes
4 answers
2
Arjun asked Sep 22, 2015
3,404 views
Design a $3$-bit counter using D-flip flops such that not more than one flip-flop changes state between any two consecutive states.
24 votes
24 votes
7 answers
3