Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.23 KB

File metadata and controls

37 lines (23 loc) · 1.23 KB

Module 4: UART — UVM+SV Verification

Goal: Extend UART verification to UVM+SV — UART agent (transaction, sequence, driver, monitor, scoreboard); run on Verilator.

Overview

This module builds on Module 3 (UART protocol + RTL + basic testbench):

  • Same DUT: UART TX, RX, baud_gen (reused from module3/examples/uart_baseline).
  • UVM testbench: UART agent — transaction, sequence, driver, monitor, scoreboard; loopback TX→RX; directed sequence (e.g. 0x00, 0x01, 0x55, 0xAA, 0xFF).
  • Toolchain: Verilator + UVM_HOME + Make (same as Module 2).

Links

Quick Start

  1. Environment: Verilator, Make, C++ compiler, UVM (UVM_HOME or vendored UVM).

  2. Run the UART UVM example:

cd module4/examples/uart_uvm
make SIM=verilator TEST=test_uart_uvm

Or from repo root: ./scripts/module4.sh --run

See examples/uart_uvm/README.md for details.

Next Steps

After completing this module, proceed to Module 5: SPI — protocol + RTL + basic testbench.