Jump to content

UVM RAL - Register Verification for Different Access types


Recommended Posts

I'm experimenting UVM RAL register verification for all the access types for registers and I'm experiencing the issue while using built-in sequence uvm_reg_access_seq. In my design I've implemented all the access types of register and while using mentioned sequence, RC and RS access types register are being written and then read which I believe should not happen by UVM reference guide. In UVM reference guide, by definition RO, RS and RC access types registers behavioral is mentioned below.

 

”RO” W: no effect, R: no effect

”RC” W: no effect, R: clears all bits

”RS” W: no effect, R: sets all bits

 

While RO registers being verified, following warning is given by UVM.

UVM_WARNING uvm_1.1d/reg/sequences/uvm_reg_access_seq.svh(107) @ 370: reporter@@reg_access_seq.single_reg_access_seq [uvm_reg_access_seq] Register 'model.mem_model.status_reg' has RO fields

 

But for RC and RS access types registers, I can see its trying to write via FRONTDOOR first and then reads BACKDOOR and finally there is data mismatch error is generated.

 

 

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