Logic circuits

Which correctly describes the operation of a D latch?

  1. AIt captures the input only at the instant of the rising clock edge
  2. BIt always outputs the inverted input
  3. CWhile the enable signal is active, the input passes straight to the output; when it becomes inactive, the value is held
Show answer and explanation

Answer: C. While the enable signal is active, the input passes straight to the output; when it becomes inactive, the value is held

A D latch is a level-sensitive storage element: while the enable (clock) is active, changes at the input appear at the output (transparent), and the value at the moment enable goes inactive is held. Capturing only at an edge is what a D flip-flop does, and one can be built from two latches.

Practice this topic Back to topic

More Logic circuits questions

  1. What is the state called when a flip-flop receiving an asynchronous signal violates setup or hold time and its output is temporarily neither 0 nor 1?
  2. Which type of sequential circuit (state machine) has outputs determined only by the current state?
  3. Which represents decimal 59 in BCD (binary-coded decimal)?
  4. When is the output of a three-input majority circuit 1?
  5. Which correctly lists the inputs of a full adder?