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

Fully Asynchronous Reset Recovery Violation

MediumLogic CircuitDebug

A reset synchronizer safely brings an external asynchronous reset into a local clock domain to prevent recovery time violations.

Expected behavior:

When rst_n is asserted low, the synchronized output rst_sync_n must assert low immediately. When rst_n is de-asserted high, rst_sync_n must remain low until two consecutive rising edges of clk have occurred.

Simulation shows rst_sync_n = 1 immediately when rst_n transitions from 0 to 1 while clk = 0. The reset de-assertion is not synchronized to the clock. Inspect the circuit and correct the fault.

Constraints

  • Do not modify the clock source or introduce new clock signals.
  • Only use standard D flip-flops with asynchronous clear pins.
  • The first flip-flop in the synchronizer chain must have its data input tied high.

Topics

debugsequential-logicclock-domain-crossingreset-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.

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