Response driver

What is the best way to write a response driver? Normal drivers use sequences but this driver won’t use sequences. I just created a uvm_component and ack’d the memory read request and sent back some data and it works ok.

Is there a better way to do it?

In reply to dave41266:

If it doesn’t make usage of sequences and other DV component might need response while accessing the memory then use the config_db or the interface already provided.

Regards

In reply to dave41266:

If it works, that is good. What is better?

We normally define “better” in UVM to mean “re-usable” in other situation. You might want to read:

https://verificationacademy.com/cookbook/sequences/slave