In reply to kalyan14310:
As far as i know there is no way to get address of a variable in sv.
But if you really need this…you can create a variable in c file and return the address. In SV file with DPI_C and chandle daata type you can get the adress of that variable in sv.