UVM Learning
Introduction
Introduction Get started Hello UVM example UVM Phases Part 1 UVM Phases Part 2 UVM Base Classes UVM Object and Core Methods UVM ComponentsBuilding a Testbench
UVM Transaction UVM Sequence UVM Sequencer UVM Driver UVM Monitor UVM Scoreboard UVM Agent UVM Environment UVM TestOther Components
Coverage CollectorExecution Model
UVM Phases ObjectionsCommunication
TLM Basics TLM Blocking Put Port TLM Non-Blocking Put Port TLM Blocking Peek Port Analysis Ports TLM FIFOConfiguration
UVM Factory UVM Config DBRuntime Control
UVM Plusargs Seeds & Reproducibility Verbosity Control Debug Runtime ControlsAdvanced
Virtual Sequences Virtual SequencerUVM RAL
Intro Abstraction Flexibility Comparison Coverage Minimum Requirements Learning Path Register Types First Implementation Register with 2 Fields Register with Reserved Bits Access Policies Part 1 Access Policies Part 2 Access Policies Part 3 Access Policies Part 4 Memory Modeling Register Block Adapter Introduction Adapter Methods Adapter Example Predictor Types Desired and Mirror Values Register Methods Desired Value Mirror ValueUVM foundations
UVM Introduction
Understand how UVM organizes stimulus, drivers, monitors, checking, coverage, and reusable verification environments.
What you will learn
UVM is a SystemVerilog class library and methodology for building scalable, reusable verification environments. Learn the architecture first, then practice each component in the lessons and projects.
What is UVM?
Universal Verification Methodology is a standardized, class-based approach for verifying digital designs. It provides conventions and base classes that help teams build testbenches which can be reused across tests, interfaces, and projects.
UVM separates five responsibilities
- Stimulus: sequences describe what scenario to run.
- Driving: drivers translate transactions into pin activity.
- Observation: monitors sample actual DUT behavior.
- Checking: scoreboards compare observations with expectations.
- Measurement: coverage and assertions show what was exercised and what failed.
How a UVM testbench is organized
uvm_test
|
v
uvm_env
|
+-- agent
| +-- sequencer <-- sequence
| +-- driver --> virtual interface --> DUT
| +-- monitor --> analysis port
|
+-- scoreboard
+-- coverage collector
The test selects a scenario. The environment assembles reusable components. The agent packages protocol behavior. The monitor publishes observations to independent consumers.
Why use UVM?
| Traditional testbench | UVM approach |
|---|---|
| Stimulus and checking often share procedural code | Sequences, drivers, monitors, and scoreboards have clear ownership |
| Reuse requires copying testbench code | Factory, configuration, and component APIs support reuse |
| Manual output inspection | Self-checking reports, assertions, and coverage provide evidence |
| One interface or one scenario | Agents and virtual sequences scale to multiple interfaces |
Your learning path
- Review SystemVerilog classes, interfaces, and randomization.
- Learn sequence items, sequences, sequencers, and drivers.
- Build monitors and analysis connections.
- Add scoreboards, reference models, assertions, and coverage.
- Combine components into complete projects and regressions.
Good to know: UVM does not automatically make a testbench correct. Correctness still comes from a clear requirement, an independent checker, and evidence that the right scenarios ran.