RTL Studio Open IDE

1.3 · AXI CLASS

SV struct register map: packed CTRL, STAT, and DATA

Define packed structs for CTRL, STAT, and DATA register fields and verify in a testbench.

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

What you practice

SV struct register map: packed CTRL, STAT, and DATA (1.3). Define packed structs for CTRL, STAT, and DATA register fields and verify in a testbench. It is in SV Struct Register Map — 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.

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 SV struct register map: packed CTRL, STAT, and DATA. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.