You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a parameter is defined in terms of itself, using its hierarchical name, running Slang results in a crash, without outputting any linting results.
Additional context
Interestingly, Questa and VCS by default allow hierarchical names in const context, also allowing for this circular definition, but it seems more like undefined behaviour than a feature.
Example code:
Describe the bug
If a parameter is defined in terms of itself, using its hierarchical name, running Slang results in a crash, without outputting any linting results.
To Reproduce
Minimal example:
Running on my Windows machine:
Enabling
--allow-hierarchical-const
doesn't change anything.Additional context
Interestingly, Questa and VCS by default allow hierarchical names in const context, also allowing for this circular definition, but it seems more like undefined behaviour than a feature.
Example code:
In Questa, simulation prints
1 1 2 2
, in VCS -2 1 2 2
The text was updated successfully, but these errors were encountered: