In reply to cgales:
Thanks cgales,
It is working.But for a strange reason,to see the updated values of data_0 and data_1,I have to use $display statements.I can’t see the updated values of data_0 and data_1 by using print() method of uvm.
I am sharing links of screenshots of my output.Please follow it through 1 to 3:
1)Dropbox - 1.PNG - Simplify your life