This page is a work in progress.

H11: Flip-Flops#

Time Estimate1-2 hours   Grade Impact1%   DueSep 14 @ 12pm  


Notes#

Show your work. You must show all steps of your work for full credit. While calculators can perform these calculations, demonstrating your process ensures understanding and mastery of the concepts.

Notation. To encourage flexibility between notations, the problems in this assignment use a variety of notations. We have discussed each style already; review the textbook or your notes if you need help.

Exercises#

  1. Design a D flip-flop using two D latches in a master-slave configuration. Draw the circuit diagram and explain how the clock signal controls the data flow through the flip-flop.

  2. Explain the difference between a T flip-flop and a JK flip-flop in terms of their input signals and output behavior. Provide timing diagrams to illustrate how each flip-flop responds to changes in the inputs.

  3. A student claims that a JK flip-flop can be used to implement any sequential logic circuit. Is this claim accurate? Explain the limitations of using a single JK flip-flop for sequential logic and how these limitations might be overcome in practical applications.

  4. Design a circuit that uses a T flip-flop to create a 4-bit binary counter. Explain how the T input is connected and how the clock signal controls the counting operation.

  5. Why are the outputs of a JK flip-flop considered to be in an indeterminate state when both J and K inputs are high? Discuss the implications of this behavior in digital circuit design and how it can be mitigated.

  6. Construct a logic circuit for a 3-variable function using a JK flip-flop where the inputs are only 0, 1, a variable, or its complement. Choose a nontrivial function and justify each input assignment.

  7. A circuit uses flip-flops to implement a finite-state machine next-state function. Explain why flip-flops are often a good choice for this task, and discuss how the design would change if the number of state variables increased.

  8. Compare a D flip-flop, a T flip-flop, and a JK flip-flop in terms of their information flow. For each device, describe what goes in, what comes out, and one practical use case in a digital system.

  9. Build a D flip-flop using NAND gates. Draw the circuit diagram and provide the truth table. Explain how the flip-flop maintains its state when the clock signal is low.

  10. Design a circuit for a practical application using a flip-flop. Explain the purpose of the flip-flop in the circuit and how it contributes to the overall functionality of the system.