Hands-on examples for UART protocol + RTL + basic testbench (no UVM in this module).
UART TX/RX RTL with a basic directed testbench: loopback (TX output → RX input), send a few bytes, check they are received correctly.
Run it (from repo root):
cd module3/examples/uart_baseline
make runOr use the module script:
./scripts/module3.sh --runContents:
dut/:uart_tx.v,uart_rx.v,baud_gen.vtop_uart_baseline.sv: Top with loopback; directed stimulus and checks in initial blocks.sim_main.cpp: C++ harness (clock, reset); simulation runs until$finish.
See examples/uart_baseline/README.md for layout and requirements.
Full UART UVM verification (agent, sequences, driver, monitor, scoreboard) is in Module 4 (module4/examples/uart_uvm/). Module 3 focuses on protocol + RTL + basic TB only.