Hi. I’m trying to complete a task which is UVM based testbench of a simple adder design. And taking the error message given below (BTW im using edaplayground and Synopsys VCS as a simulator). Here is the URL : simpleadder_uvm3(1) - EDA Playground
Error-[NOA] Null object access
sa_agent.sv, 79
The object at dereference depth 1 is being used before it was
constructed/allocated.
Please make sure that the object is allocated before using it.
#0 in \sa_agent::connect_phase at sa_agent.sv:79
#1 in \uvm_connect_phase::exec_func at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_common_phases.svh:111
#2 in \uvm_bottomup_phase::execute at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_bottomup_phase.svh:108
#3 in \uvm_bottomup_phase::traverse at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_bottomup_phase.svh:81
#4 in \uvm_bottomup_phase::traverse at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_bottomup_phase.svh:61
#5 in \uvm_bottomup_phase::traverse at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_bottomup_phase.svh:61
#6 in \uvm_bottomup_phase::traverse at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_bottomup_phase.svh:61
#7 in \uvm_phase::execute_phase at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_phase.svh:1396
#8 in \uvm_phase::m_run_phases at
/apps/vcsmx/vcs/Q-2020.03-SP1-1//etc/uvm-1.2/src/base/uvm_phase.svh:2219
V C S S i m u l a t i o n R e p o r t
Time: 0 ns
CPU Time: 0.560 seconds; Data structure size: 0.1Mb
Sun Jul 4 08:07:46 2021
Exit code expected: 0, received: 1
Done