Jump to content

UVM register access from a predictor


Recommended Posts

Janick, thank you for your response.

Yes, my concern is that scoreboard might need changed when a register name definition in spec changes. We have not done this yet, we are looking into generating UVM register code with a tool from the register specification. I need to generate multiple predictors which need to see register values, so all of them need to be updated just because the names in the spec changed. If there is no better way, I guess I just have to live with it.

Link to comment
Share on other sites

my concern is that scoreboard might need changed when a register name definition in spec changes.

The register model abstracts you from implementation details like physical addresses, bus widths, endianness, field size and offsets. The only thing it does not abstract is the register name because the register name is above the level of abstraction of the register model.

You will indeed have to live with it because you are working at the same level of abstraction as the register model. If you want some level of independence, you need to create some firmware driver layer.

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