edited by
687 views
1 votes
1 votes

Given the sequence 010202010 is generated from a sequential circuit of n flip-flops. And these flip-flops generate the sequence respectively. What is the minimum value of n?

  1.   3
  2.   4
  3.   5
  4.  ​​​​​​​ 6
edited by

1 Answer

Best answer
6 votes
6 votes
we need to distinguish between 5 zeros, between two 1's, and also between two zeros.
to represent 0,1,2 two bits are enough
writing the sequence
0 - 00
1- 01
0 - 00
2 - 10
0 - 00
2 - 10
0 - 00
1 - 01
0 - 00
checkout which is repeating more number of times
 there are 5 zeros and we need to distinguish them
first zero = 000-00
2nd zero= 001-00
3rd zero = 010-00
4th zero=  011-00
5th zero = 100-00
two 1's can also be distiguished by 3 bits
two 2's can also be distiguished by 3 bits
so, 5 flipflops are needed, we capture the output only at last 2 flipflops and first 3 flipflops distingush between states
hence 5 are necessary
selected by

Related questions

0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
4
bts1jimin asked Jan 21, 2019
713 views
What should be default order of msb lsb in flip flops if msb lsb flip flop not given for a counter