Consider the T flip-flop counter following the sequence 0-2-3-1-0

Consider the T flip-flop counter following the sequence 0-2-3-1-0
|

Consider the T flip-flop counter following the sequence 0-2-3-1-0 as shown below.

Which of the following statements is/are true?

A. The logic gate is XNOR and the input X is Q<sub style="">1</sub> &oplus; Q<sub style="">2</sub>

B. The logic gate is XOR and the input X is&nbsp;<span class="math-tex">\(\overline {{Q_1}}\odot \;{Q_2}\)</span>

C. The logic gate is XNOR and the input X is&nbsp;<span class="math-tex">\(\overline {{Q_1}}\odot \;{Q_2}\)</span>

D. The logic gate is XOR and the input X is Q<sub style="">1</sub> &oplus; Q<sub style="">2</sub>

Please scroll down to see the correct answer and solution guide.

Right Answer is:

SOLUTION

For a T flip flop with clock = 1,

the output toggles if T = 1 and the output holds the previous state if T = 0.

Logic gate output = T2

∴ Logic gate will be XNOR

X = T1

∴ X = Q1 ⊕ Q2

\( = \overline {{Q_1}} {Q_2} + \overline {{Q_2}} {Q_1}\)

X = \(\overline {{Q_1}}\odot \;Q2\)

\(\overline{\overline {{Q_1}}} \;\overline {{Q_2}} + {Q_2}\overline {{Q_1}} \)

\({Q_1}\overline {{Q_2}} + {Q_2}\overline {{Q_1}} \)

= Q2 ⊕ Q1

= Q1 ⊕ Q2