Which of the following is correct for a D latch?a)The output toggles i...
The correct answer is option 'B': Q output follows the input D when the enable is HIGH.
Explanation:
A D latch is a basic form of latch that can store a single bit of information. It has two inputs, D (data input) and E (enable input), and two outputs, Q (output) and Q' (complement output).
The operation of a D latch can be understood by considering its truth table:
D |
E |
Q |
Q' |
---|
0 |
0 |
Q(t-1) |
Q'(t-1) |
0 |
1 |
Q(t-1) |
Q'(t-1) |
1 |
0 |
Q(t-1) |
Q'(t-1) |
1 |
1 |
D |
D' |
From the truth table, it can be observed that when the enable input E is HIGH (1), the output Q follows the input D. This means that the value of Q will be the same as the input D. On the other hand, when the enable input E is LOW (0), the output Q retains its previous state.
In option 'A', the statement "The output toggles if one of the inputs is held HIGH" is not correct. The output of a D latch does not toggle; it either follows the input or retains its previous state based on the enable input.
In option 'C', the statement "Only one of the inputs can be HIGH at a time" is not correct. Both the data input D and enable input E can be HIGH simultaneously.
In option 'D', the statement "The output complement follows the input when enabled" is not correct. The complement output Q' does not follow the input D; its value is determined by the complement of Q.
Therefore, the correct option is 'B': Q output follows the input D when the enable is HIGH.