Anyone,
How did I resolve this issue.
code link:- https://www.edaplayground.com/x/dqXZ
UVM_INFO verilog_src/questa_uvm_pkg-1.2/src/questa_uvm_pkg.sv(277) @ 0: reporter [Questa UVM] QUESTA_UVM-1.2.3
UVM_INFO verilog_src/questa_uvm_pkg-1.2/src/questa_uvm_pkg.sv(278) @ 0: reporter [Questa UVM] questa_uvm::init(+struct)
UVM_WARNING @ 0: reporter [BDTYP] Cannot create a component of type ‘apb_test’ because it is not registered with the factory.
UVM_FATAL @ 0: reporter [INVTST] Requested test from call to run_test(apb_test) not found.
UVM_INFO verilog_src/uvm-1.2/src/base/uvm_report_server.svh(847) @ 0: reporter [UVM/REPORT/SERVER]
— UVM Report Summary —
** Report counts by severity
UVM_INFO : 3
UVM_WARNING : 1
UVM_ERROR : 0
UVM_FATAL : 1
** Report counts by id
[BDTYP] 1
[INVTST] 1
[Questa UVM] 2
[UVM/RELNOTES] 1
** Note: $finish : /usr/share/questa/questasim/linux_x86_64/../verilog_src/uvm-1.2/src/base/uvm_root.svh(135)
Time: 0 ns Iteration: 0 Instance: /top
End time: 04:35:08 on Nov 08,2023, Elapsed time: 0:00:07
Errors: 0, Warnings: 4
Done