CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Sequential Logic

Positive Edge Integrated Clock Gating Cell

MediumLogic CircuitBuild

Modern low-power ASIC designs aggressively shut down clock trees to idle logic blocks. A glitch-free integrated clock gating cell safely passes or blocks the clock signal without introducing spurious edges that corrupt downstream flip-flops.

Construct a positive-edge integrated clock gating cell. The circuit must gate the input clock clk based on the enable signal en. To prevent glitches, the enable signal must be synchronized such that it only propagates to the gating logic when clk is low. The output clock gclk follows clk when the synchronized enable is high, and remains low when the synchronized enable is low.

| clk | en | Internal Latched en | gclk | |-------|------|-----------------------|--------| | 0 | 0 | 0 | 0 | | 0 | 1 | 1 | 0 | | 1 | X | Hold previous state | Internal Latched en |

Constraints

  • Use exactly one negative level-sensitive latch to synchronize the enable signal.
  • Use exactly one 2-input AND gate for the final clock gating.
  • Do not use edge-triggered flip-flops.
  • Do not use combinational feedback loops.

Topics

SynchronizationClockingLow PowerICG

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • 3-bit Ripple Counter from Toggle Flip-FlopsEasy
  • D Latch from a 2:1 MUXEasy
  • 2-bit Ring CounterEasy
  • T Flip-Flop from a D Flip-FlopEasy
  • Handshake Deadlock Due to Early ResetHard
  • Reconvergence of Individually Synchronized BitsHard
  • Debug: Asynchronous Clear GlitchHard
  • Clock Gate Enable Crossing DomainsHard

Browse all problems · Learning tracks