RTL Studio Open IDE

5.1 · AXI CLASS

SVA basics for AXI: stable data while VALID waits for READY

Enforce handshake stability: data and control remain stable while VALID is high and READY is low.

Video coming soon. This lesson page stays at the same URL when the lecture publishes.

What you practice

SVA basics for AXI: stable data while VALID waits for READY (5.1). Enforce handshake stability: data and control remain stable while VALID is high and READY is low. It is in SVA Basics for AXI — Part 5 · SVA and System Integration of the AXI Masterclass. SVA protocol checkers, multi-master systems, and the capstone.

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

You will write SystemVerilog Assertions (SVA) to enforce that AXI data and strobe signals remain stable during handshake stalls — a critical requirement for reliable AXI protocol compliance.

Learning objectives

  • Understand how to use SVA $stable to check signal stability over clock cycles.
  • Write assert properties for write data (wdata, wstrb) and read data (rdata) during VALID/READY stalls.
  • Bind assertion modules to the DUT interface using bind.
  • Verify assertions pass under UVM stimulus with Verilator --assert.

Theory

SystemVerilog Assertions (SVA) let you specify temporal properties about signal behavior. For AXI handshakes, it is essential that payload signals do not change while VALID is high and READY is low (i.e., during a stall). The $stable operator checks that a signal retains its value from the current cycle to the next.

OperatorMeaningExample
`=>`Overlap implication: current cycle condition holds, then next cycle consequent holds`(wvalid && !wready)=> $stable(wdata)`
$stableSignal value unchanged from previous to current cycle$stable(signal)
disable iffReset condition — assertion disabled when truedisable iff (!aresetn)

The property checks that when wvalid && !wready, the next cycle must see wdata unchanged. This prevents data corruption during backpressure.

Practice

  1. Open RtlStudio and select this chapter — confirm student/tb/axi_sva_bind.sv and student/tb/tb_top.sv appear in Explore.
  2. Open student/tb/axi_sva_bind.sv and locate the __TODO__ placeholders for wdata_stable_p and its assertion.
  3. Replace the __TODO__ parts to complete the wdata_stable_p property and its assert property statement.
  4. Run Simulation from the left sidebar and check the Log panel for INFO: output.
  5. Verify the simulation ends with INFO: PASS.

Summary

You practiced writing SystemVerilog Assertions to enforce AXI handshake stability by asserting that wdata and wstrb remain unchanged during stalls (when VALID is high but READY is low). Using the $stable operator and next-cycle implication, you defined and instantiated a property in axi_sva_bind.sv to catch violations at simulation time. Binding the assertion module to the interface and running Verilator with --assert confirmed the design meets the required timing constraint. The key takeaway is that SVA provides a declarative, reliable way to validate interface protocol behavior without modifying the DUT.

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 SVA basics for AXI: stable data while VALID waits for READY. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.