各位好:在此求助一个问题
仿真报错如下:
Error-[NOA] Null object access
../testbench/sata_monitor.sv, 40
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 \sata_monitor::main at ../testbench/sata_monitor.sv:40
#1 in \vmm_xactor::new at /ware/synopsys/vcs/etc/vmm/vmm.sv:48072
#2 in \sata_env::reset_dut at ../testbench/sata_env.sv:66
#3 in \vmm_env::cfg_dut at /ware/synopsys/vcs/etc/vmm/vmm.sv:47566
#4 in \sata_env::cfg_dut at ../testbench/sata_env.sv:71
#5 in \vmm_env::pre_test at /ware/synopsys/vcs/etc/vmm/vmm.sv:47408
#6 in \vmm_env::run at /ware/synopsys/vcs/etc/vmm/vmm.sv:47371
#7 in unnamed$$_2 at ../testbench/sata_test.sv:20
#8 in sata_test_top.P_sata_test