HEADER7F / Guide 02 · Handshakes

Guide 02 · Handshakes

A stalled response is still a promise.

If the receiver is not ready, the transfer has not completed. The cycles between “here is the response” and “accepted” deserve their own test.

Updated 18 October 2026

The edge decides.

For an AXI channel, a transfer occurs when VALID and READY are both high at the sampling edge. VALID alone offers a transfer. READY alone does not accept one. When VALID is high and READY is low, the source must keep the offer and its payload stable until acceptance.

A source must not wait for READY before asserting VALID. Otherwise both sides can wait forever. A passive trace monitor checks observed behavior; it cannot prove that the logic generating VALID is independent of READY. For a write response, BVALID follows both the AW and W handshakes; accepting only one channel is not enough.

Apply the stall after the response appears.

For the read channel, hold RREADY low while RVALID is asserted. Watch RVALID, RDATA and RRESP across each stalled cycle. For the write-response channel, do the same with BREADY, BVALID and BRESP.

Illustrative read response, not a product measurement
CycleRVALIDRREADYRDATAResult
1100x12345678Pending
2100x12345678Still pending
3110x12345678One accepted transfer

Run a passing trace and an injected failure.

The downloadable monitor checks sampled synthetic traces. This is an executed protocol example, not an RTL simulator result.

Keep the response until it is acceptedSelected checks passed

Synthetic example · not a hardware measurement

Synthetic AXI4-Lite samples: address accepted at cycle 2, data at 4, BVALID stays high through stalled cycles 5 and 6, and BREADY accepts the response at 7.

Scroll sideways to see the full diagram

What to notice

The receiver waits. BVALID and BRESP stay steady until the response is accepted at cycle 7.

Details & downloads: Keep the response until it is accepted
  • Address is accepted at cycle 2 and write data at cycle 4. BVALID first appears at cycle 5, after both handshakes.
  • BREADY is low at cycles 5 and 6. BVALID remains 1 and BRESP remains 00 (OKAY), including acceptance at cycle 7.
  • The monitor finds no violation in its three selected write-response checks. This does not establish complete AXI4-Lite compliance.

Each numbered column is one supplied sample immediately before a consecutive ACLK rising edge. The clock is not drawn. Connecting lines are schematic; edge placement and behavior between samples were not measured. All eight input signals are retained, including BRESP when BVALID is low. These are hand-authored synthetic samples, not captured RTL or hardware.

Download SVG: Keep the response until it is acceptedWaveJSON source: Keep the response until it is accepted

References: Replayable input JSON · Executed selected-check report · Checker source (MIT) · AMD PG101: selected protocol checks · Arm AXI and ACE specification, IHI 0022H

Rendered with WaveDrom 3.7.0 · Open-source notices

Fault: the response disappears before acceptanceFault at cycle 6

Synthetic example · not a hardware measurement

Injected AXI4-Lite fault: BVALID is 1 with BREADY 0 at cycle 5, but BVALID falls to 0 at cycle 6 before the response is accepted.

Scroll sideways to see the full diagram

What to notice

At cycle 6, BVALID drops while the receiver is still waiting. The response must stay available.

Details & downloads: Fault: the response disappears before acceptance
  • Cycle 5 has BVALID=1 and BREADY=0: the response is waiting for acceptance.
  • At cycle 6, BVALID falls to 0 while BREADY is still 0. The monitor reports H7F_AXI_BVALID_HOLD at cycle 6.
  • BVALID returning for acceptance at cycle 7 does not erase the earlier violation.

Each numbered column is one supplied sample immediately before a consecutive ACLK rising edge. The clock is not drawn. Connecting lines are schematic; edge placement and behavior between samples were not measured. All eight input signals are retained, including BRESP when BVALID is low. These are hand-authored synthetic samples, not captured RTL or hardware.

Download SVG: Fault: the response disappears before acceptanceWaveJSON source: Fault: the response disappears before acceptance

References: Replayable input JSON · Executed selected-check report · Checker source (MIT) · AMD PG101: selected protocol checks · Arm AXI and ACE specification, IHI 0022H

Rendered with WaveDrom 3.7.0 · Open-source notices

Also compare a response payload that changes during the stall.

Exact reproduction instructions · Monitor source · Executed report

Count handshakes, not VALID cycles.

A response held for three cycles is not three responses. Increment your accepted-transfer count at the handshake. Separately monitor stability while it waits. This distinction catches both disappearing responses and scoreboards that overcount correct behavior.

Try short stalls and longer ones, then release READY. Keep reset as a separate scenario with explicit reset rules; do not apply an ordinary stalled-transfer assertion blindly across reset.

Reference: AMD AXI protocol-check descriptions for response stability and VALID persistence.

Next: preserve enough context to replay a failure →

Does the failure only appear under load?

Tell us which channel stalls and what changes when it does.

Describe the failure
Message us