Codiode

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.

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.

Part of Clocking and Synchronization

Problem 74 of 85 in the Clocking and Synchronization track.

Related problems

Browse all problems · Digital logic design practice problems · Learning tracks

Solve this on a laptopSend yourself the link and continue there.