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

Power of 2 Divider Chain

EasyLogic CircuitBuild

System-on-Chip architectures often require a hierarchy of related clocks to drive different buses and peripherals at scaled frequencies. Generating these clocks synchronously ensures they maintain strict phase alignment across the die.

The circuit must generate three divided clock signals. The outputs div2, div4, and div8 must divide the primary clock frequency by 2, 4, and 8 respectively. To prevent timing violations between clock domains, all divided outputs must transition simultaneously on the rising edge of the clock with zero relative phase skew. A high rst signal synchronously resets all outputs to 0.

| Cycle | rst | div8 | div4 | div2 | |-------|-------|--------|--------|--------| | 0 | 1 | 0 | 0 | 0 | | 1 | 0 | 0 | 0 | 1 | | 2 | 0 | 0 | 1 | 0 | | 3 | 0 | 0 | 1 | 1 | | 4 | 0 | 1 | 0 | 0 | | 5 | 0 | 1 | 0 | 1 | | 6 | 0 | 1 | 1 | 0 | | 7 | 0 | 1 | 1 | 1 | | 8 | 0 | 0 | 0 | 0 |

Constraints

  • Drive all flip-flops using only the primary clock signal.
  • Do not cascade the output of one flip-flop into the clock pin of another.
  • Implement an active-high synchronous reset using the rst signal.

Topics

SynchronizationClockingDividers

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