-
Notifications
You must be signed in to change notification settings - Fork 58
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
Parameter redefinition circular reference #304
Comments
I agree that output looks suspect! A reproducer would be very helpful to isolate the issue. Thank you! |
This test code:
produces:
|
Thank you very much filing this issue and sharing such a clean and simple reproducer! Your effort made my work very easy. sv2v was indeed needlessly prone to generating colliding parameter names when converting interfaces. I've just pushed 4ec99fc, which appears to resolve the issue. Please let me know if it works for you! |
I think that might solve it; but there are a couple of other issues that need to be fixed before I can actually test this out properly. I will report back here as soon as I know for sure. |
@alexforencich Thank you again for sharing that reproducer! It was very helpful. As I believe the specific bug you encountered in this thread is now resolved, I am closing this issue. Please feel free to reopen if necessary! |
I am running in to an issue where sv2v is creating circular references with parameters. I don't currently have a minimal example to share, but sv2v is generating code like this:
This causes Quartus to complain:
The text was updated successfully, but these errors were encountered: