in Digital Logic
982 views
2 votes
2 votes
Given a T flip-flop in the 0 state, what is the sequence of inputs necessary to cause the following sequence of states:

0, 1, 1, 1, 0, 0, 1, 0, 1, 0.
in Digital Logic
982 views

1 Answer

1 vote
1 vote
Best answer

T flip flop has only one input, and when that input is HIGH the state of the flip flop toggles. And when the T input is LOW, the flip flop retains its state.

Given in the question, the required states (in order) are : 0, 1, 1, 1, 0, 0, 1, 0, 1, 0.

For every toggle in flip flop state, we need T input to be HIGH (or 1), and when the state is same as the previous state the T input should be LOW(or 0).

So, since the first transition is from 0 to 1, it is a toggle so T = 1

Then from 1 to 1, no toggle, so T = 0.

Continuing in this fashion, we have the following sequence of inputs:

1, 0, 0, 1, 0, 1, 1, 1, 1

selected by