UVM Practice Projects

Twenty hands-on verification projects that take you from your first testbench to reusable, system-level UVM environments.

How to work through a project: read the scope, build the DUT and testbench in EDA Playground, complete the verification goals, then keep the simulation log and seed as your project evidence.

Foundation Projects

Beginner1-2 hours

1. AND/OR Gate Testbench

Write your first self-checking Verilog testbench for simple combinational gates.

Project goals
  • Test every input combination.
  • Use $display and $error checks.
  • Inspect the waveform.
Open project lesson
Beginner2 hours

2. 2-to-1 Multiplexer

Verify selection behavior and create a small directed stimulus plan.

Project goals
  • Test both select values.
  • Check output after every input change.
  • Document expected truth table.
Open project lesson
Beginner2-3 hours

3. D Flip-Flop with Reset

Verify a clocked register with synchronous or asynchronous reset behavior.

Project goals
  • Generate a clock.
  • Check reset and normal capture.
  • Test data near clock edges.
Open project lesson
Beginner3 hours

4. Up/Down Counter

Build a testbench for a parameterized counter with enable and reset.

Project goals
  • Verify increment, decrement, and hold.
  • Check overflow behavior.
  • Add a reference counter.
Open project lesson
Beginner3-4 hours

5. ALU Operations

Verify arithmetic and logical operations selected by an opcode.

Project goals
  • Create an opcode test plan.
  • Check every operation.
  • Cover boundary operands.
Open project lesson
Beginner4-5 hours

7. Round-Robin Arbiter

Verify fairness and grant behavior for multiple requesters.

Project goals
  • Test single and simultaneous requests.
  • Check one-hot grants.
  • Verify round-robin fairness.
Open project lesson

Intermediate UVM Projects

Intermediate6 hours

8. Synchronous FIFO

Create a complete UVM agent, queue-based scoreboard, and coverage collector.

Project goals
  • Check ordering and flags.
  • Test full, empty, and reset.
  • Cover fill level by operation.
Open project lesson
Intermediate6-8 hours

9. Asynchronous FIFO

Verify data transfer across independent read and write clock domains.

Project goals
  • Use separate clock generators.
  • Check ordering across domains.
  • Exercise reset and flag boundaries.
Open project lesson
Intermediate6 hours

10. APB Peripheral

Build an APB UVM agent and verify register reads, writes, and error responses.

Project goals
  • Drive APB setup/access phases.
  • Monitor completed transfers.
  • Scoreboard register behavior.
Open project lesson
Intermediate8 hours

12. SPI Controller

Verify SPI modes, chip-select behavior, and shift-register data transfer.

Project goals
  • Test CPOL and CPHA modes.
  • Check bit ordering.
  • Cover transfer lengths.
Open project lesson
Intermediate8-10 hours

13. DMA Data Mover

Verify burst transfers from a source address to a destination address.

Project goals
  • Model memory contents.
  • Check burst ordering.
  • Test alignment and error cases.
Open project lesson
Intermediate8 hours

14. Cache Tag Lookup

Verify cache-hit, cache-miss, valid, and replacement decisions.

Project goals
  • Create a tag reference model.
  • Test hit and miss paths.
  • Cover sets and ways.
Open project lesson

Advanced Verification Projects

Advanced10-12 hours

15. AXI-Lite Register Block

Verify a register-controlled peripheral using sequences, assertions, and RAL.

Project goals
  • Build AXI-Lite transactions.
  • Connect a register model.
  • Check response and access policies.
Open project lesson
Advanced12 hours

16. AXI Stream Pipeline

Verify backpressure, packet boundaries, and data integrity across a stream pipeline.

Project goals
  • Generate randomized stalls.
  • Scoreboard packet data.
  • Assert stable data under backpressure.
Open project lesson
Advanced12-16 hours

17. Interrupt Controller

Verify priority, masking, pending state, and software-visible register behavior.

Project goals
  • Coordinate bus and interrupt agents.
  • Test priority conflicts.
  • Use RAL mirror checks.
Open project lesson
Advanced16 hours

18. Multi-Channel Router

Verify packet routing, arbitration, and independent input/output traffic.

Project goals
  • Use multiple active agents.
  • Correlate packets by ID.
  • Measure latency and throughput.
Open project lesson
Advanced16-20 hours

19. RISC-V ALU Subsystem

Verify instruction execution, exceptions, flags, and randomized instruction streams.

Project goals
  • Create instruction transactions.
  • Predict architectural results.
  • Cover opcode and operand crosses.
Open project lesson
Advanced20+ hours

20. SoC Subsystem Capstone

Integrate bus, data, interrupt, and register agents around one subsystem environment.

Project goals
  • Write a verification plan.
  • Coordinate agents with a virtual sequence.
  • Present coverage and regression evidence.
Open project lesson