In reply to dave_59:
Hi Dave, the reason I say the driver code is alright is because it is working well with `uvm_do_on_with. The following piece of code is working fine. It is only when I am trying out with above methods is when I am facing issues. when using start_item/finish_item do we explicitly need to provide sequencer info, as far as I know it should pick up the default sequencer, is there any thing that I am missing with regards to sequencer in the earlier method?
class puc extends uvm_sequence;
base_trans req;
`uvm_declare_p_sequencer(sequencer)
function new (string name = "puc");
super.new(name);
endfunction
task body();
req = new();
`uvm_do_on_with(req,p_sequencer,{req.addr = 'h480; req.Id == 'h6;});
endbody
endclass