How to print/display full backdoor access path of a register?

I need to know the full RTL path of a register from its backdoor access path supplied to UVM. How do I make UVM print this information to me thru simulation??

In reply to samerh:

https://verificationacademy.com/verification-methodology-reference/uvm/docs_1.1b/html/files/reg/uvm_reg_block-svh.html#uvm_reg_block.get_full_hdl_path

In reply to samerh:

get_full_hdl_path()

In reply to dave_59:

Thanks Dave for your help. But I did not know how to make get_full_hdl_path return a string I can print with full hdl scopes.

In reply to samerh:

In reg block, get_full_hdl_path returns a string. In uvm_reg, get_full_hdl_path returns the
type shown below:

function void get_full_hdl_path ( ref uvm_hdl_path_concat paths[$],
input string kind = “”,
input string separator = “.” )

In reply to samerh:

In reply to dave_59:
Thanks Dave for your help. But I did not know how to make get_full_hdl_path return a string I can print with full hdl scopes.

HI,
any idea how to achieve this? I’m unable to print any value from get_full_hdl_path().