Hello,
my question here is slightly different.
UVM reference states following :
"function void use_response_handler(bit enable)
When called with enable set to 1, responses will be sent to the response handler.
Otherwise, responses must be retrieved using get_response".
“By default, responses from the driver are retrieved in the sequence by calling
get_response.
An alternative method is for the sequencer to call the response_handler function with
each response.”
Now responses are retrieved from resonse_queue by calling get_response. However, when we are not using get_response() and use the response_handler() by enabling it (by calling use_response_handler(1)), how are the responses read from response_queue. I mean which part of code of response_handler() is doing this. As you have said, implementation in base is doing nothing and extended response_handler() function is simply dispolaying some paratmeters of response. So my question is WHICH PART OF CODE IS ACTUALLY RETRIEIVING THE RESPONSE FROM RESONSE QUEUE IF THE GET_RESPONSE() IS NOT USED AND RESPONSE_HANDLER() IS USED INSTEAD.
regards,
-sunil puranik