Jump to content

[uvm_reg] is there any way to control how many byte bus access when read?


Recommended Posts

Hi UVM exports,

I am pacthing some functional coverage hole of register bus access type, and encounter the following problem about uvm_reg, hope some of you could give me some hint how to handle this without writing some other test bypass uvm_reg and thanks!

Assume there is a 32-bit register with fileds byte0, 1, 2, 3 and connected with a bus BFM whose protocol supports byte, halfword and word access.

when read we are able to hint the BFM which type of access we will use for example:

reg_byte0.set(5);

reg.update(); // byte access

reg_byte0.set(3);

reg_byte1.set(4);

reg.update(); // half word access

is there similar behavior that we could follow when read access?

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