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

Some tools have issues with hierarchical references #308

Open
alexforencich opened this issue Feb 18, 2025 · 0 comments
Open

Some tools have issues with hierarchical references #308

alexforencich opened this issue Feb 18, 2025 · 0 comments

Comments

@alexforencich
Copy link

alexforencich commented Feb 18, 2025

When using SV interfaces, sv2v likes to produce lots of hierarchical references. Makes sense as it keeps things similar to the original code. However, not all tools fully support hierarchical references.

Quartus seems to have issues with passing hierarchical references to functions, complaining that it can't pass value from actual to argument <x>. A workaround seems to be to define a shadow signal for the signal in question. Not sure if it makes sense to try to work around this specific limitation relating to functions, or if it makes more sense to simply provide an option to avoid generating hierarchical references entirely.

ISE seems to not support hierarchical references at all, or at least it has some issues with the implementation. It returns errors like <signal> is not declared under prefix <entity>.

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