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

Cross Domain Reconvergence Functional Failure

HardLogic CircuitDebug

Cross-domain signals must not reconverge in logic if synchronized independently due to variable arrival times. A control path transfers valid_in and cmd_in from a source clock domain clk_a to a destination clock domain clk_b to trigger an execute signal.

Expected behavior:

The execute output must assert high in the destination domain for one clock cycle when a valid command is issued from the source domain. The circuit must safely transfer these signals without risking timing misalignment between the valid strobe and the command data.

Simulation shows execute = 0 during destination clock cycle 4 when both inputs were asserted simultaneously in source clock cycle 1. The execution pulse is missing or misaligned in the destination domain, causing the command to be dropped.

Inspect the circuit and correct the fault.

Constraints

  • The circuit must use exactly one 2-flop synchronizer for the control path.
  • The command signal must be captured in a holding register and sampled using the synchronized control signal.
  • Do not route multiple independently synchronized signals into combinational logic.

Topics

debugsequential-logiccdcsynchronization

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