RTL Studio Open IDE

1.5 · AXI CLASS

Skid buffer: decouple VALID/READY timing on an AXI channel

Add a skid buffer on the write data channel to break VALID/READY timing paths under backpressure.

Watch on YouTube

What you practice

Skid buffer: decouple VALID/READY timing on an AXI channel (1.5). Add a skid buffer on the write data channel to break VALID/READY timing paths under backpressure. It is in Skid Buffer — Part 1 · AXI4-Lite RTL Design of the AXI Masterclass. Design an AXI4-Lite slave in pure SystemVerilog.

AXI only counts when the handshake simulates. RTL Studio is the Verilog and SystemVerilog IDE where you edit the RTL and prove each beat on a VCD.

What you will learn

Today you will implement a skid buffer holding register on the AXI write data channel to break a combinational timing loop between VALID and READY, ensuring reliable operation under backpressure.

Learning objectives

  • Understand why VALID/READY handshake can cause timing loops in combinational paths.
  • Implement a skid buffer (holding register) to decouple the data path from the handshake.
  • Verify skid buffer behavior under backpressure using a testbench that delays wready.
  • Recognize skid buffer signals in AXI write channel FSM.

Theory

In AXI protocols, VALID/READY handshakes are synchronous but can form combinational loops if data is consumed immediately without buffering. A skid buffer inserts a one-cycle holding register on the data path (e.g., wdata, wstrb) so that when wready is asserted, the data is already captured and stable for the next cycle—even if wready is deasserted mid-transfer. This prevents data loss and timing violations.

SignalRole in skid buffer
skid_validIndicates data is held in the skid register
skid_wdataHolds wdata when wready is not asserted
skid_wstrbHolds wstrb alongside wdata

The skid buffer is consumed only when the FSM is ready to process the write (e.g., in WRITE state after awready), and is cleared once consumed. It does not affect the AW or B channels directly.

Practice

Open this chapter in RtlStudio. Files appear automatically in Explore.

  1. Open student/rtl/axi_lite_slave.sv in the editor.
  2. Locate the always_ff block where skid_valid, skid_wdata, and skid_wstrb are declared.
  3. In the reset branch, assign skid_valid <= 1'b0 (already present in golden, but TODO in student).
  4. In the non-reset branch, inside the if (bus.wvalid && bus.wready) block, assign skid_valid <= 1'b1, skid_wdata <= bus.wdata, and skid_wstrb <= bus.wstrb.
  5. In the WRITE state, after consuming skid data, assign skid_valid <= 1'b0 to clear it.
  6. Open student/tb/tb_top.sv to confirm the testbench stimulus: it asserts wvalid while delaying wready to trigger skid holding.
  7. Run Simulation and check the Log panel for INFO messages.

Summary

You implemented a skid buffer holding register on the AXI write data channel to decouple VALID/READY timing and prevent combinational loops under backpressure. By capturing data when both wvalid and wready assert, the skid buffer allows the slave FSM to process writes at its own pace without violating AXI handshake rules. You verified correct operation by delaying wready in the testbench, confirming that data is held and delivered once the slave is ready. The key takeaway is that skid buffers preserve data integrity during handshake delays while maintaining protocol compliance.

Run it in the Verilog IDE

  1. Open the lesson in the IDE and find the valid/ready or AXI channel ports in the editor.
  2. Simulate with Verilator. Confirm the beat on the VCD, not only in the transcript.
  3. Check that data moves only on the beats this lesson describes, and that backpressure holds the transfer.
  4. Synthesize the RTL master, slave, or buffer with Yosys. Leave the UVM bench out of synthesis.

The lesson is done when the simulation matches Skid buffer: decouple VALID/READY timing on an AXI channel. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.