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

Async Input Without Synchronizer: Direct DFF Connection

EasyLogic CircuitTiming Diagram

An asynchronous input fed directly into a positive-edge-triggered D flip-flop causes metastability if it transitions simultaneously with the clock edge. Five signals are shown: CLK (clock, period 2), D (asynchronous input), B (synchronous combinational input), Q (flip-flop output, initially 0), and OUT (combinational output of Q AND B). Trace both Q and OUT across all 10 time steps. Use the value X to denote any metastable or indeterminate state.

Constraints

  • Q evaluates to X if D changes at the exact time step of a rising clock edge.
  • OUT evaluates to X only if the indeterminate state cannot be resolved by the known input B.

Topics

AsynchronousMetastabilityLatches and Flip-Flops

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
  • Reconvergence of Individually Synchronized BitsHard
  • FIFO Empty Logic Evaluated in Wrong DomainMedium
  • T Flip-Flop: Propagation Delay Accumulation in 3-Stage Ripple CounterMedium
  • Handshake Deadlock Due to Early ResetHard

Browse all problems · Learning tracks