Jump to content

Register package factory registration

Recommended Posts


uvm_reg_block, uvm_reg etc are all base classes and need to be specialized(=derived). a generic uvm_reg would have no fields, a uvm_reg_block would have no embedded regs etc. so from that point of view it doesnt make sense to make an instance of such a uvm_reg_block or uvm_reg therefore they are "virtual".


Link to comment
Share on other sites

  • 5 weeks later...


from my point of view it is still reasonable to register the uvm_reg_block to the factory. In my case I want to use a generic memory model wrapper that overrides the register model instance based on a string. The implementation for the uvm_reg is OK for me.



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