Jump to content
Sign in to follow this  
paragsathe

Accessing sequence fields in case of Register model

Recommended Posts

If we have the register adapter and the regisetr model in place, we generally use the built in read and write methods to access registers in our testbench.But if there is a field related to random number of wait states in the sequence item (transaction item), how to change this parameter while giving the reads and writes to the Bus via the Register model.

There is no such field in the uvm_reg_bus_op struct.

Parag

Share this post


Link to post
Share on other sites

hi,

you can use the extension mechanism during read/write. simply supply an own property container in the .extension arg. this is later avail in uvm_reg_item.extension in the uvm_reg_adapter

/uwe

Share this post


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

Sign in to follow this  

×
×
  • Create New...