RTL Studio Open IDE

1.2 · AXI CLASS

Read channels (AR, R) RTL: ARREADY and RVALID handshake

Implement read channel handshake for ARREADY and RVALID.

Watch on YouTube

What you practice

Read channels (AR, R) RTL: ARREADY and RVALID handshake (1.2). Implement read channel handshake for ARREADY and RVALID. It is in Read Channels RTL — 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

Implement the AXI4-Lite read address (AR) and read data (R) channel handshakes: assert ARREADY when ARVALID is high, and assert RVALID one cycle after AR handshake completes.

Learning objectives

  • Complete the ARREADY handshake logic in student/rtl/axi_lite_slave.sv.
  • Ensure RVALID is asserted exactly one cycle after ARREADY and drive RDATA correctly.
  • Run simulation and verify expected INFO log lines in student/tb/tb_top.sv.

Theory

AXI4-Lite read transactions use two channels:

  • AR channel: Master asserts ARVALID with address; slave responds with ARREADY when ready.
  • R channel: Slave asserts RVALID with data and response; master responds with RREADY.

The slave must:

  • Assert ARREADY on the same cycle ARVALID is high (if no stalls).
  • Assert RVALID exactly one cycle after AR handshake completes.
  • Drive RDATA and RRESP on the RVALID cycle.
ChannelDirectionHandshakeSlave action
ARMaster→SlaveARVALID & ARREADYAccept address
RSlave→MasterRVALID & RREADYProvide data

Practice

  1. Open Lesson 1.2 in RtlStudio; files appear in Explore.
  2. Edit student/rtl/axi_lite_slave.sv to complete the // TODO lines for arready and rvalid logic.
  3. Run Simulation and check the Log panel for INFO lines.
  4. (Optional) Open the Waveform tab to inspect AR/R timing aligned to INFO checkpoints.

Summary

You implemented the ARREADY handshake logic to accept read addresses and added RVALID/RDATA sequencing to respond with read data one cycle after the address handshake. By asserting ARREADY when ARVALID is high and RVALID only after the AR handshake completes, you ensured correct AXI4-Lite read transaction behavior. Simulation confirmed the expected INFO log entries and timing, validating that your RTL correctly handles the read address and read data channels.

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 Read channels (AR, R) RTL: ARREADY and RVALID handshake. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.