From 1b2e13a0d8e3dcd926b80e3b84ec458a3849249d Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 1 Feb 2026 11:42:32 -0500 Subject: [PATCH] Tests: Improve t_uvm_hello.v --- test_regress/t/t_uvm_hello.v | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/test_regress/t/t_uvm_hello.v b/test_regress/t/t_uvm_hello.v index 1c5a13fa6..70a18ae83 100644 --- a/test_regress/t/t_uvm_hello.v +++ b/test_regress/t/t_uvm_hello.v @@ -11,8 +11,23 @@ module t; import uvm_pkg::*; + // verilator lint_off UNUSEDSIGNAL + // verilator lint_off WIDTHTRUNC + class test extends uvm_test; + + `uvm_component_utils(test) + + function new(string name, uvm_component parent = null); + super.new(name, parent); + endfunction + + virtual function void report_phase(uvm_phase phase); + super.report_phase(phase); + $write("** UVM TEST PASSED **\n"); + endfunction + endclass + initial begin - // verilator lint_off WIDTHTRUNC - `uvm_info("TOP", "UVM TEST PASSED", UVM_MEDIUM); + run_test("test"); end endmodule