Jump to content

Usage of get_hdl_path() for backdoor register access

Recommended Posts

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 ?




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now