Using wait on uvm object handle passed from test to sequence

In reply to bhupesh.paliwal:

Did you make self debugging? You didn’t show the full code, it’s difficult to help you solve the problem. You said that the sequence was started, sequence was stopped at “wait” instruction? And you got the correct value (equal 10) in “write” function? If so, you need to check the copy function: If you want to copy the “val” attribute in “info” object. You have to add the “val” to `uvm_field_int macro otherwise, “val” will be never get value in copy function.

Use `uvm_info to debug the problem.

Thanks,
Chris.