Two D-flip flops, as shown below, are to be connected as a synchronous co…
Two D-flip flops, as shown below, are to be connected as a synchronous counter that goes through the following Q_1Q_0 sequence 00 \to 01 \to 11 \to 10 \to 00 \to \ldots The inputs D_0 and D_1 respectively should be connected as \draw (0,0) node[flipflop, flipflop def={t1={\ensuremath{D_0}}, c3=1, t3={\ensuremath{C_k}}, t6={\ensuremath{Q_0}}, t4={\ensuremath{\overline{Q_0}}}}] (F0) {}; \draw (5.0,0) node[flipflop, flipflop def={t1={\ensuremath{D_1}}, c3=1, t3={\ensuremath{C_k}}, t6={\ensuremath{Q_1}}, t4={\ensuremath{\overline{Q_1}}}}] (F1) {}; \draw (F0.pin 1) -- ++(-0.8,0); \draw (F1.pin 1) -- ++(-0.8,0); \draw (F0.pin 6) -- ++(0.6,0); \draw (F0.pin 4) -- ++(0.6,0); \draw (F1.pin 6) -- ++(0.9,0); \draw (F1.pin 4) -- ++(0.9,0); \node[right] at ([xshift=0.9cm]F1.pin 5) {MSB}; \draw (F0.pin 3) -- ++(-0.6,0) -- ([xshift=-0.6cm]F0.pin 3 |- 0,-2.2) node[circ]{} -- ++(-1.2,0) node[left]{Clock}; \draw ([xshift=-0.6cm]F0.pin 3 |- 0,-2.2) -| ([xshift=-0.6cm]F1.pin 3) -- (F1.pin 3);
- $\overline{Q_1}$ and $Q_0$
- $\overline{Q_0}$ and $Q_1$
- $\overline{Q_1}Q_0$ and $\overline{Q_1}Q_0$
- $\overline{Q_1}\,\overline{Q_0}$ and $Q_1Q_0$
Correct answer
A. $\overline{Q_1}$ and $Q_0$
Explanation
For D flip-flops the input equals the next state: {c|c|c|c} Q_1Q_0 & next Q_1Q_0 & D_1 & D_0 \\ \hline 00 & 01 & 0 & 1 \\ 01 & 11 & 1 & 1 \\ 11 & 10 & 1 & 0 \\ 10 & 00 & 0 & 0 $D_0 = 1$ exactly when $Q_1 = 0$, so $D_0 = \overline{Q_1}$. $D_1 = 1$ exactly when $Q_0 = 1$, so $D_1 = Q_0$. Answer: (a) $\overline{Q_1}$ and $Q_0$.