Skip to content

Add C++ driver support #989

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

Merged
merged 67 commits into from
May 26, 2025
Merged

Conversation

LinusJungemann
Copy link

Adds support for the C++ driver for FINN https://github.com/eki-project/finn-cpp-driver
The C++ driver itself is added as a submodule to FINN.

Current v1.0 driver release note: https://github.com/eki-project/finn-cpp-driver/releases/tag/v1.0

@LinusJungemann
Copy link
Author

The C++ driver depends on #1210, so that I do not have to duplicate some of the builder options. In the meantime, there are still some details that I will polish up a bit for nicer integration.

I have now moved both drivers into a single step called step_make_driver. If pynq_driver is in the generate_outputs list, then the old driver will be used. If cpp_driver is in the list, then the C++ driver is used. Additionally, the C++ driver version can be selected in the build config using "latest" or a commit hash.

Copy link
Collaborator

@preusser preusser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @LinusJungemann!
This looks good.

fpjentzsch added a commit to eki-project/finn-plus that referenced this pull request May 10, 2025
* See also Xilinx#989

---------

Co-authored-by: Felix Jentzsch <[email protected]>
Co-authored-by: bwintermann <[email protected]>
Co-authored-by: auphelia <[email protected]>
@auphelia auphelia removed the request for review from STFleming May 26, 2025 13:32
Copy link
Collaborator

@auphelia auphelia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @LinusJungemann! Looks good to me as well :) I've added some small changes on code organization, tests and added the --force flag to the xclbinutil command to make it easier to re-run.

@auphelia auphelia merged commit 71c35c5 into Xilinx:dev May 26, 2025
2 checks passed
Copy link
Collaborator

@preusser preusser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Linus!

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

Successfully merging this pull request may close these issues.

5 participants