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

Pointer Crossing Delay Analysis

HardLogic CircuitTiming Diagram

A 3-stage synchronizer transfers a FIFO pointer bit from a fast write clock domain to a slow read clock domain to calculate crossing delay.

Three signals are provided: WCLK (fast write clock, period 2), RCLK (slow read clock, period 4), and PTR_TGL (pointer toggle input). The output SYNC_OUT is the result of capturing PTR_TGL and passing it through three cascaded positive-edge-triggered D flip-flops clocked by RCLK.

Trace SYNC_OUT across all 16 time steps.

Constraints

  • SYNC_OUT updates only on the LOW-to-HIGH transitions of RCLK.
  • The synchronizer consists of three cascaded flip-flops.
  • SYNC_OUT is initially 0.

Topics

FIFOClock Domain CrossingSynchronizer

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