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

Clear Namespace DB on subsequent exports. #28

Open
hughjackson opened this issue Jan 23, 2024 · 0 comments
Open

Clear Namespace DB on subsequent exports. #28

hughjackson opened this issue Jan 23, 2024 · 0 comments

Comments

@hughjackson
Copy link

In some projects it may be useful to generate a full SoC UVM output and also multiple Block Level outputs. I have tried this and, with the default options, the classes don't get declared in later packages. I believe this is because of namespace_db which prevents class redeclaration. I think it would be good to add an option, to allow clearing of namespace_db at the start of the export method. Effectively each export would be considered unique. This can be worked around by creating a new exporter between exports, but this issue did confuse me for a little bit. Not sure if it is worth fixing, but worth clarifying somewhere

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

No branches or pull requests

1 participant