Waiting after a txn is sent

Hi Experts

Need some ideas.

I drive a command and the driver drives it . After this command is sent design does few things and a done is output from design. I still have not implemented scorboard for
this done signal to come. Now only after this done comes I will send next command via interface.

So in the testcase class of driving the command i should wait for the done to come then send the next command.
How do I implement it ? What are different ways to doing it ?

Avinash

If the done signal from design is a simple acknowledge you can wait until it is received and send the item done. Or else if the done is a response (Example: A flow control credit or a register read data) you can use put_reponse to send it back to sequence.

seq_item_port.put_response(rsp)

When you use put_response make sure to use the get_response in the sequence