Skip to content

Add factory registration for top-level blocks#29

Open
mballance wants to merge 1 commit intoSystemRDL:mainfrom
mballance:uvm_objutils
Open

Add factory registration for top-level blocks#29
mballance wants to merge 1 commit intoSystemRDL:mainfrom
mballance:uvm_objutils

Conversation

@mballance
Copy link

This PR adds factory registration for register blocks.
UVM encourages registering component and object classes with the factory. While it's not necessary to register all classes (eg individual registers), registering top-level classes is a good compromise.
In my case, the UVM tool I use to create environments (UVM Framework) assumes that the top-level register block can be created via the factory.

Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
Copy link

@umarcis umarcis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was also facing the same issue, and have to add this particular line of factory registration in register model myself, then it runs without any error, however it should be approved so that everyone use it without facing this issue...

@opensource-elearning
Copy link

opensource-elearning commented Feb 13, 2026

Hi @amykyta3 / @zhajio1988 / @krcb197 / @Dragon-Git / @darsor / @drom / @MarekPikula

If any one of you maintaining this repo, can you guys please help to merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants