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

Mean Time Between Failures Parameters

MediumLogic CircuitTiming Diagram

Mean Time Between Failures (MTBF) for a synchronizer decreases as the asynchronous data transition frequency increases. An analysis circuit evaluates metastability risk by asserting a flag HIGH for one full clock period immediately following any rising edge of CLK where an asynchronous input transitions state.

Five signals are shown: CLK (clock, period 2), ASYNC_A (high-density asynchronous input), ASYNC_B (low-density asynchronous input), M_FLAG_A (risk flag for A, initially 0), and M_FLAG_B (risk flag for B, initially 0).

Trace M_FLAG_A and M_FLAG_B across all 14 time steps to identify which signal stream exhibits more collision events.

Constraints

  • A transition is defined as the input value at the current time step being different from the input value at the immediately preceding time step.
  • The risk flag captures the collision event exactly at the rising edge and holds the HIGH state until the next rising edge.
  • If no transition occurs exactly on the rising edge, the flag is driven LOW for that clock period.

Topics

MetastabilitySynchronizersMTBFClocking

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