Jump to content

UVM Backdoor access

Recommended Posts

Hi all,

I have a scenario where I'm performing a backdoor write on some flops on the dut. I have a register with certain bits being used, linked to corresponding flops on the rtl. 

For example : say you have a 32 bit uvm_reg a_test [31:0] and a_test[1] is linked to flop top.dut.a, a_test[3] is linked to top.dut.b and you want to perform the following operations on them. 

assign a_test[4] = top.dut.b             ---step 1

backdoor write deposit top.dut.b = a_test[3]           --- step 2

How can that be done using uvm backdoor access support routines? (For a_test[3] I can add_hdl_path_slice to top.dut.b, but how can I perform the first step without directly using the hdl path? )
I am stressing on using uvm support routines because the code has to run on an emulator. 

Link to comment
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.

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...