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

Tsizer returns an error with -g2012 #1170

Open
dmitrystu opened this issue Sep 8, 2024 · 1 comment
Open

Tsizer returns an error with -g2012 #1170

dmitrystu opened this issue Sep 8, 2024 · 1 comment
Labels

Comments

@dmitrystu
Copy link

Tsizer returns an error with the -g2012 option (as well as with -g2009 and -g2005-sv), showing the message:

SIZER: The root scope $unit must be a module.
error: Code generation had 1 error(s).

However, the output statistic was generated as well.
The code contains only modules and works without issues when using the default -g2005 option.

@caryr caryr added the Bug label Sep 16, 2024
@caryr
Copy link
Collaborator

caryr commented Sep 16, 2024

We likely just need to modify the code to skip the SystemVerilog $unit scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants