Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

Usage of get_hdl_path() for backdoor register access

$
0
0

Hi All,

 

I wanted to know the usage of get_hdl_path() and get_full_hdl_path(). Any example would be helpful.

I have added set_hdl_path_root for register block on top level and added add_hdl_path for different registers such as  :

 

add_hdl_path ('{ '{"RegA", -1 , -1} }); for RegA
add_hdl_path ('{ '{"RegB", -1 , -1} }); for RegB
 

And this line in register block :

this.set_hdl_path_root("top.dut", "RTL");

 

Now I want to know what HDL path is getting used while doing peek method ?

 

Thanks,

Gaurav


Viewing all articles
Browse latest Browse all 756

Trending Articles