retagged by
7,334 views
11 votes
11 votes

Consider a $3$-bit counter, designed using $T$ flip-flops, as shown below:

Assuming the initial state of the counter given by $\text{PQR}$ as $000$, what are the next three states?

  1. $011,101,000$
  2. $001,010,111$
  3. $011,101,111$
  4. $001,010,000$
retagged by

3 Answers

Best answer
12 votes
12 votes

From the given $3$ state counter made from $T$ flipflops, the next input sequence are as follows:

  • $T_P=R$
  • $T_Q=\overline{P}$
  • $T_R=\overline{Q}$
Initial State Current input Next State
$P$ $Q$ $R$ $T_P$ $T_Q$ $T_R$ $P^+$ $Q^+$ $R^+$
0 0 0 0 1 1 0 1 1
0 1 1 1 1 0 1 0 1
1 0 1 1 0 1 0 0 0

$%\begin{array} {|c|c|c|c|c|c|c|c|c|} \hline \text{Initial State} & & & \text{Current input} & & & \text{Next State} \\\hline P & Q & R & T_{P} & T_{Q} & T_{R} & P^{+} & Q^{+} & R^{+} \\\hline 0 & 0 & 0 & 0 & 1 & 1 & 0 & 1 & 1 \\\hline 0 & 1 & 1 & 1 & 1 & 0 & 1 & 0 & 1 \\\hline 1 & 0 & 1 & 1 & 0 & 1 & 0 & 0 & 0 \\\hline \end{array}$

In $T$ flip flop for low input$(0),$ the next state is $Q_n$ (current state) and for high input$(1),$ it toggles/complements the present state$(\overline{Q_n})$

$011,101,000$

Option A is correct.

edited by
4 votes
4 votes
P Q R
0 0 0
0 1 1
1 0 1
0 0 0

 

If P is 0, then Q will toggle in next clock cycle.

If Q is 0, then R will toggle in next clock cycle.

If R is 1, then P will toggle in next clock cycle.

Using these rules, the transition is shown in the table.

Option A

2 votes
2 votes

ANS IS A.

011, 101, 000. 

INITIAL VALUE OF PQR = 000. 

Answer: