Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • Logic Synthesis Glossary
  • Logic Synthesis Cheatsheet
  • Synthesis Foundations14
  • Logic Optimisation and Mapping20
  • Constraints and Timing15
  • Sequential, FSM and Memory19
  • Datapath Synthesis14
  • Area, Power and Test14
    • Area, Power and Timing Trade-offs
    • Clock Gating and Low Power
      • Latch-Based Gating versus AND Gating
      • Enable Flops and the Gating Opportunity
      • Switching-Activity Power Model
      • Operand Isolation
      • Power Intent, Multi-Vt and UPF
    • DFT and Scan Insertion
  • Verification, ECO and Handoff15
  • Flows and Debugging15
  • Interview and Judgment11
Loading lesson

‹Clock Gating and Low Power
  1. Topics
  2. Logic Synthesis
  3. Area, Power and Test
  4. Clock Gating and Low Power
  5. Latch-Based Gating versus AND Gating

Part 6 · Area, Power and Test · Intermediate

Latch-Based Gating versus AND Gating

Why a bare AND gate glitches and how a latch-based cell gates cleanly.

On this page

    Gating the clock

    An idle register bank needs no clock edges. Gating stops the edges before they reach the flop clock pins.

    The gated clock still drives real loads. Its buffers and skew behave like any other clock branch.

    Why a bare AND gate glitches

    A bare AND gate combines the clock with the enable directly. Any enable move while the clock is high passes straight to the output.

    A late enable edge inside the high phase makes a runt pulse. Some flops may catch it while others miss it.

    Diagram
    EXAMPLE timing (stated parameters, not silicon data):
    clock period 4 ns, high phase 2 ns
    enable rises 0.5 ns after a rising edge
    AND-gated clock follows at once, so a runt pulse of 2 - 0.5 = 1.5 ns reaches the flops
    the latch-based cell holds enable steady through the high phase, so no pulse escapes

    The latch-based cell

    The integrated cell puts a level-sensitive latch ahead of the AND gate. The latch is transparent while the clock is low and holds while the clock is high.

    Enable can only move the AND input during the low phase. The gated clock then rises and falls cleanly with the source clock.

    Scheme

    Enable path

    Hazard

    Bare AND gate

    Enable straight into the AND

    Enable moves in the high phase escape as runt pulses.

    Latch-based cell

    Enable through a latch open in the low phase

    Enable is frozen during the high phase, so no runt pulse.

    Common mistakes

    An enable that comes from flops on the same clock is synchronous by construction. An asynchronous enable needs synchronising first, or the latch cannot promise clean gating.

    Common pitfall

    Gating by hand with an AND gate in RTL keeps the glitch hazard and hides the intent from the flow. Write the enable on the flop and let the clock-gating step place the latch-based cell.

    Interview

    Likely probes: the runt-pulse mechanism and the latch fix.

    • An AND gate passes enable edges that land inside the high phase.

    • The latch is transparent only in the low phase and holds through the high phase.

    • The 1.5 ns runt above follows directly from the stated EXAMPLE numbers.

    Check yourself Enable rises 0.5 ns after the rising edge of a clock with a 2 ns high phase. How wide is the runt pulse from a bare AND gate?

    1.5 ns. The output follows enable for the rest of the high phase: 2 minus 0.5.

    Check yourself Why does the latch-based cell not produce that pulse?

    Its latch holds enable steady while the clock is high. Enable can only reach the AND gate during the low phase.

    Related topics

    • Enable flops and the gating opportunity

    • Area, Power and Timing Trade-offs

    Previous

    90 / 139

    Next: Enable Flops and the Gating Opportunity

    Up next

    Up nextEnable Flops and the Gating Opportunity

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Switching-Activity Power Model
    • Operand Isolation
    • Power Intent, Multi-Vt and UPF