edited by
13,550 views
46 votes
46 votes

A positive edge-triggered $D$ flip-flop is connected to a positive edge-triggered $JK$ flip-flop as follows. The $Q$ output of the $D$ flip-flop is connected to both the $J$ and $K$ inputs of the $JK$ flip-flop, while the $Q$ output of the $JK$ flip-flop is connected to the input of the $D$ flip-flop. Initially, the output of the $D$ flip-flop is set to logic one and the output of the $JK$ flip-flop is cleared. Which one of the following is the bit sequence (including the initial state) generated at the $Q$ output of the $JK$ flip-flop when the flip-flops are connected to a free-running common clock? Assume that $J = K = 1$ is the toggle mode and $J = K = 0$ is the state holding mode of the $JK$ flip-flops. Both the flip-flops have non-zero propagation delays.

  1. $0110110\ldots$
  2. $0100100\ldots$
  3. $011101110\ldots$
  4. $011001100\ldots$
edited by

9 Answers

Best answer
42 votes
42 votes
$${\begin{array}{|c|c|c|l|}\hline
\bf{Q_{prev}}&    \textbf{D}&  \textbf{Q(JK)}&\bf{Explanation} \\\hline
\text{-}&1&0&\text{Now, the D output is 1, meaning J and K = 1; for next cycle} \\\hline 0&0&1& \text{J = K = 1(D output from prev state), so output toggles from 0 to 1} \\ \hline    1&1&1&\text{J = K = 0, so output remains 1} \\ \hline   1&1&0& \text{J = K = 0, so output remains 1} \\ \hline   0&0&1& \text{J = K = 1, so output toggles from 0 to 1}\\ \hline   1&1&1& \text{J = K = 0, so output remains 1}  \\ \hline    
\end{array}}$$
$\text{D}$ flipflop output will be same as its input and $\text{JK}$ flipflop output toggles when $1$ is given to both $\text{J}$ and $\text{K}$ inputs.
i.e., $Q = D_{\text{prev}}({Q_{\text{prev}}}') + ({D_{\text{prev}}}')Q_{\text{prev}}$

Correct Answer: $A$
edited by
15 votes
15 votes

Correct option: A

Answer:

Related questions

21.4k
views
7 answers
53 votes
makhdoom ghaya asked Feb 12, 2015
21,437 views
Consider a $4$-bit Johnson counter with an initial value of $0000.$ The counting sequence of this counter is $0, 1, 3, 7, 15, 14, 12, 8, 0$0, 1, 3, 5, 7, 9, 11, 13, 15, 0$0, 2, 4, 6, 8, 10, 12, 14, 0$0, 8, 12, 14, 15, 7, 3, 1, 0$
29.8k
views
7 answers
80 votes
makhdoom ghaya asked Feb 13, 2015
29,834 views
The least number of temporary variables required to create a three-address code in static single assignment form for the expression $q + r / 3 + s - t * 5 + u * v/w$ is__________________.
25.2k
views
9 answers
34 votes
makhdoom ghaya asked Feb 13, 2015
25,162 views
Let G be a connected planar graph with 10 vertices. If the number of edges on each face is three, then the number of edges in G is_______________.
27.3k
views
6 answers
38 votes
makhdoom ghaya asked Feb 13, 2015
27,283 views
Suppose that the stop-and-wait protocol is used on a link with a bit rate of $64$ $\text{kilobits}$ per second and $20$ $\text{milliseconds}$ ... bytes to achieve a link utilization of at least $50$ $\text{%}$ is_________________.