Jump to content

controlling field for bus transaction from reg sequence


Recommended Posts

Hi

what is the best way of controlling bus transaction related fields which are not available in reg sequence.

for example register access to a particular register can be secure/unsecure and previleged/unprevileged.

I would like to control these transaction field from reg sequence, what is the best of doing it ?

Thanks

Verifier

Link to comment
Share on other sites

hi,

the path would be to define a new object deriving from uvm_object holding the additional properties. a configured instance can then be passed via the <uvm_reg>.write/read/update/mirror function in the "extension" argument. in the reg-to-bus adapter.reg2bus() translation stage you can refer to the passed object as "get_item().extension" and you can adjust the properties of your low level sequence.

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