-
Notifications
You must be signed in to change notification settings - Fork 5
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
Removed configure_vivado_synth_tool from project #343
Conversation
…esign, flow_args.get(synth), ooc=ooc)
…esign, flow_args.get(synth), ooc=ooc)
This is looking pretty good! If you would just delete the |
I think any issues with the dictionary instance, if they exist, will come up because of how our configure rule works. It has to blow away the ninja build file and remake it. Potential issues would be if we change a script file and run ninja again, and the issue would have to do with how the flow args are re-read into the build file as seen at the bottom of the ninja_flow_manager.py file |
It looks like one of the unit tests (so far) failed because of the .get("synth") |
@yonnorc42 OK, looks like we will need a few more fixes to resolve this. In places like this, you will need to do something like: if flow_args is None:
flow_args = [] You may be tempted to change the default |
@jgoeders I didn't see your comment before I did another request |
In this case, wouldn't I make it an empty dictionary instead of an empty list? |
Yes, you're correct. |
When I implement that if statement into the required files, it passes the unittests now, but it fails the pylint tests, and I think it's saying I failed because I have duplicate lines of code in all those places. This makes me think it wants me to use a function instead of a duplicate if statement in all those files, but I feel like that's essentially what we had originally with configure_vivado_synth_tool |
I think this is ready to merge, unless you want me to change it |
Fixes #314