Codiode

Multi Domain Reset Sequencing

HardLogic CircuitTiming Diagram

A cross-domain communication interface requires both the fast and slow clock domains to fully exit reset before data transfer is safe.

Three input signals are provided: CLK_F (fast clock, period 2), CLK_S (slow clock, period 4), and RST_N (global asynchronous active-low reset). Each clock domain uses a standard 2-stage reset synchronizer that asserts its output immediately when RST_N is LOW, and deasserts it synchronously on the second LOW-to-HIGH transition of its local clock after RST_N becomes HIGH.

Trace RST_F_N (fast domain reset), RST_S_N (slow domain reset), and the SAFE signal (which is HIGH only when both synchronized resets are HIGH) across all 16 time steps.

Constraints

  • The global reset RST_N is active-low and asynchronous.
  • Each domain's reset synchronizer requires exactly two rising edges of its respective clock to propagate the deassertion of RST_N.
  • Initial values for all synchronizer stages and outputs are 0.

Topics

SynchronizationClock DomainsReset Synchronizer

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 70 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.