In reply to dave_59:
I am using DPI for interface of C and System verilog.
In C code, i am using below function which return data from given address using READ function.
data = READ(address);
READ function require to be blocking as it perform read operation via system verilog driver.
I have defined READ task in system verilog. But how to return data from this READ task?