3
\$\begingroup\$

Here is a problem that pops in low power design interview questions. The solution is the second picture down.

Why not use AND gates in place of the D-Latch? The person who created the solution did not go into this topic at all.

enter image description here

enter image description here

\$\endgroup\$
2
  • 1
    \$\begingroup\$ This is a well documented topic. AND gates causes glitches in clock line, it can violate pulse width rule on clock as well. D latch is the classic solution to above two problems. \$\endgroup\$
    – Mitu Raj
    Sep 26, 2022 at 4:47
  • 1
    \$\begingroup\$ @MituRaj, the question is not about clock gating. The question is about data gating. Basically the data is being zeroed. \$\endgroup\$ Sep 27, 2022 at 0:59

1 Answer 1

4
\$\begingroup\$

Think about what would happen if half of the bits in the inputs were logic 1 most of the time. Using an AND gate would force those to become 0 when the other AND input is 0, so these bits would toggle on every cycle of your circuit and you would actually increase the power consumption due to switching.

Using a latch instead means that the inputs to your circuit only switch states when they really need to for proper computation.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.