Slave sequence & driver cookbook example

In reply to shreypatel7:

Also for your query to do as following:
"
get_responsn(req)
assert(rsp.randomize with {rsp.addr ==req.addr; rsp.rwn == req.rwn;});
"

‘rsp’ in sequence has already been copied from ‘req’, before randomizing ‘rsp’.