RTL Studio Open IDE

4.5 · AXI CLASS

AXI virtual sequence: parallel read and write traffic

Fork parallel AXI read and write sequences to stress outstanding transaction handling.

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

What you practice

AXI virtual sequence: parallel read and write traffic (4.5). Fork parallel AXI read and write sequences to stress outstanding transaction handling. It is in AXI Virtual Sequence — Part 4 · AXI4 Full UVM Verification of the AXI Masterclass. Five-channel parallel UVM for AXI Full timing.

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

This lesson teaches how to use a UVM virtual sequence to launch multiple AXI write and read sequences in parallel using fork/join, enabling stress testing of the DUT’s outstanding transaction handling.

Learning objectives

  • Understand how virtual sequences coordinate multiple child sequences.
  • Learn to fork parallel AXI write and read sequences in the body() task.
  • Practice connecting sequencer instances correctly in start() calls.
  • Verify parallel traffic handling via scoreboard comparison.

Theory

UVM virtual sequences do not drive transactions directly; they orchestrate child sequences by calling start() on them. Using fork/join, multiple child sequences can run concurrently, simulating real-world traffic with multiple outstanding transactions. This tests the DUT’s ability to handle out-of-order responses and shared resources like memory.

ConceptDescription
fork/joinStarts all child tasks in parallel and waits for all to finish before proceeding.
m_sequencerInside a virtual sequence, this refers to the sequencer passed to vseq.start(env.sqr).
Virtual sequenceA container sequence that does not produce items itself but launches other sequences.

No mermaid needed — the TB structure is standard UVM with sequencer-driven parallel sequences.

Practice

  1. Open RtlStudio and select this chapter.

Confirm files appear in Explore.

  1. Open student/tb/tb_top.sv in the editor.
  2. Open student/tb/seq/axi_virtual_sequence.sv in the editor.
  3. In the body() task of axi_virtual_sequence, replace each __TODO__ with the correct sequencer handle.
  4. Run Simulation and check the Log panel for INFO messages and INFO: PASS.

Summary

The student practiced launching parallel AXI read and write sequences using fork/join to stress the DUT’s ability to handle multiple outstanding transactions. This virtual sequence simulates high-traffic scenarios by initiating concurrent operations without waiting for each to complete individually. The key takeaway is that proper use of fork/join in virtual sequences enables effective verification of out-of-order transaction handling and scoreboard robustness. All tests passed, confirming the scoreboard correctly tracks and validates parallel traffic.

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 AXI virtual sequence: parallel read and write traffic. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.