In reply to SV26:
This is the first entry from the driver:
UVM_INFO my_pkg.sv(46) @ 0: uvm_test_top.env.agnt.sqncr@@seq [my_sequence] Starting the sequence
UVM_INFO @ 30000: uvm_test_top.env.agnt.driv [DRIV] Driving data across DUT:
wr= 1
addr= 1
data= 24
It is from runtime 0 (see @0). What you are printing is the content of your seq_item. At that time the reset is active in your DUT. This resets the mem to ‘0’ and the driver data do not show-up here. Thjis results in the monitor values of:
UVM_INFO my_pkg.sv(135) @ 50000: uvm_test_top.env.agnt.mon [MON] Monitor received data for WR operation
UVM_INFO @ 50000: uvm_test_top.env.agnt.mon [MONITOR] Monitoring data:
wr= 0
addr= 0
data= 0
And you had a few weaknesses in your code tolerated by VCS.
See how it works here: