Jump to content

backdoor access for RC (Clear on read) register


Recommended Posts

Hi,

I am using a register model with one of the register is RC accessing policy.

The rc register content is not becoming zero with backdoor read.

Related code is as follows:

sequence:

model.DATA_RC.read(status,datar,.path(UVM_BACKDOOR),.parent(this));

regmodel.sv:

The configuration of rc register is as followes:

class dut_rc_DATA extends uvm_reg;

- - - -

value.configure(this,32,0,"RC",1,32'h99999999,1,0,1);

- - - -

endclass

and in the reg_block,

class dut_regmodel extends uvm_reg_block;

- - - -

DATA_RC.configure(this,null,"DATA_RC");

- - - -

endclass

With FRONTDOOR access rc register contents are becoming zero.

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.

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