Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.

If at some instance prior to the occurrence of the clock edge, and have a value , and respectively, what shall be the value of after the clock edge?
View worked solution
Answer: D
To find the state of the counter after the next clock edge, we first determine the input equations for each D flip-flop from the circuit diagram:
- Flip-flop P: The input is driven by an XNOR gate with inputs and :
- Flip-flop Q: The input is driven by an XOR gate with inputs and :
- Flip-flop R: The input is driven by an XOR gate with inputs and :
Given the initial state prior to the clock edge is , , and , we compute the next state values:
Thus, the value of after the clock edge is .
Free practice · Your answers on this page are not saved.
