Jump to content

uvm_reg_field.get_access() method returns wrong value

Recommended Posts

Dear UVM users,

We are trying to write generic sequence for register field verification based on access type of the field. When we set the access type of particular register field to WO1 in the register class and this field is in WO register I expect that get_access method for the reg_field will return me WO1. Instead it gives me NOACCESS

Looking into code itself seems when register is WO, case statement inside returns WO for RW and WO registers but for all other types of registers it returns NOACCESS. It looks to me like a bug. If there is some idea why it is implemented like that could someone explain? It doesn't make any sense to me.

Thank you

Petr Kobiersky


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