Jump to content
gaurav_brcm

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 ?

 

Thanks,

Gaurav

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...