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

Warning when wiring enable using __call__ syntax #1364

Open
leonardt opened this issue Mar 11, 2024 · 1 comment
Open

Warning when wiring enable using __call__ syntax #1364

leonardt opened this issue Mar 11, 2024 · 1 comment

Comments

@leonardt
Copy link
Collaborator

See https://github.com/phanrahan/magma/pull/1363/files for an example, likely due to the normal call logic skipping clock types. I think this logic is there to allow wiring of registers using call without having to explicitly provide the clock.

I think if the argument is explicitly provided like in the example above, the warning shouldn't fire.

@leonardt
Copy link
Collaborator Author

Warning example
image
Note: it may be that the wiring is working fine but the warning is a false positive

@leonardt leonardt changed the title Can't wire enables using __call__ syntax Warning when wiring enable using __call__ syntax Mar 11, 2024
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