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

AXI Stream Valid Ready Dropped Data

HardLogic CircuitDebug

An AXI Stream pipeline stage buffers data and manages flow control between upstream and downstream components.

Expected behavior: The stage must capture s_data into m_data and assert m_valid when s_valid is high and the stage is ready. It must hold m_data and m_valid steady if the downstream m_ready signal is low. The stage asserts s_ready when it is empty or when the downstream component is accepting the current data.

Simulation shows data corruption during backpressure. When m_ready is low and a new s_valid transaction arrives, the pipeline overwrites m_data with the new input instead of holding the stalled data. Inspect the circuit and correct the fault.

Constraints

  • Do not add any new flip-flops to the circuit.
  • The circuit must maintain a one-cycle latency through the pipeline stage.
  • You may only modify the combinational logic driving the register enable pins.

Topics

pipelinedebughandshakeaxi

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