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

Not possible to add variables to Makefile with flow API #443

Open
nicorum opened this issue Sep 18, 2024 · 0 comments
Open

Not possible to add variables to Makefile with flow API #443

nicorum opened this issue Sep 18, 2024 · 0 comments

Comments

@nicorum
Copy link

nicorum commented Sep 18, 2024

Variables added with add_var() to the tools EdaCommands object are not transfered to the flows EdaCommands object.
Since no official tool with flow api currently uses this, I wonder if this is an oversight or intentional behavior to not bloat the Makefile too much.

Could be fixed with a one liner, by adding:
self.commands.vars += node.inst.commands.vars
to the end of the configure_tools(self, graph) function in the edaflow.py

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