The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+11 votes
704 views

A sequential circuit takes an input stream of 0's and 1's and produces an output stream of 0's and 1's. Initially it replicates the input on its output until two consecutive 0's are encountered on the input. From then onward, it produces an output stream, which is the bit-wise complement of input stream until it encounters two consecutive 1's, whereupon the process repeats. An example input and output stream is shown below.

The input stream: 101100|01001011 0|11
The desired output 101100|10110100 0|11

J-K master-slave flip-flops are to be used to design the circuit.

Give the state transition diagram

asked in Digital Logic by Veteran (59.5k points)
edited by | 704 views

1 Answer

+17 votes
Best answer

As we get $4$ states (renaming state component to binary states), we need two FFs to implement it.

answered by Veteran (55.2k points)
edited by
0
Why to use 2 FF.?
+3
we need to deal with 4 states.
4 states need 2 bits to represent them. Hence 2 Flipflops.
0
@praveen sir , how transations are going on can u explain bit more? ... m getting how op is comming
+1
look at problem as two parts, first we are looking at 00, till 00 each output is same as input, 0/0,1/0. once we get 00 then we are looking for 11, till 11 each output is complement of input, 0/1, 1/0.


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

39,776 questions
46,779 answers
140,742 comments
58,650 users