CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/FSM Design

Moore FSM Output Delay Analysis

EasyLogic CircuitAnalyze

Replacing a Mealy machine with a Moore machine often breaks downstream modules that expect immediate data. The waveform trace provided captures the behavior of two state machines reacting to an input X. Both machines are designed to detect the sequence 101. Machine A asserts its output Y_A immediately when the final 1 is detected. Machine B asserts its output Y_B on the clock cycle following the sequence detection.

Determine the structural differences between these two implementations and identify the cause of the delay on Y_B.

Constraints

  • Assume both FSMs operate on the positive edge of clk.
  • Input X is synchronous to the clock domain.
  • Both machines implement an overlapping sequence detector.

Topics

fsmmealymooretimingsequential-logic

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

  • Debugging Handshake DeadlockHard
  • Sequence Detector 101 (FSM)Medium
  • Incomplete Default State AssignmentMedium
  • Debugging Sequence Detector LockupMedium

Browse all problems · Learning tracks