Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add factory registration for top-level blocks #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

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

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.

2 participants