In my test case I am reading the data from memory using using apb_sequence.
apb_master_base_seq_0.start(env_0.apb_master_agent_0.apb_master_sequencer_0);
After driving the data to pins I am expecting the read data and the same is passed back to seq using the rsp port
rsp.data = this.vif.master_dcb.PRDATA;
seq_item_port.item_done(rsp);
in seqeunce i am getting this response using
get_response(rsp)
To send response back to sequence you need to use this in driver,
//To match sequence_id of running sequence
rsp.set_id_info(req);
//Then return the response through seq_item_port
//to the sequence
seq_item_port.put_response(rsp);
That should work (unless I am missing something obvious) - do you get some error/warning? How do you say it is not getting responses? Is your seq::body() stuck?
If fou do not say how you retrieve your sequence in the driver nobody can answer your question.
Are you using seq_item_port.get_next_item(req) or do you perform a get on the seq_item_port?