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

[fud2] Add consistent parameter to correctly emulate or execute on Xilinx. #2400

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nathanielnrn
Copy link
Contributor

More small parts of #2267. This should fix treatment of the XCL_EMULATION_MODE environment variable, with respect to hw and hw_emu values (aka execution and emulation).
Currently fud2 does not allow for sw_emu values because software emulation requires C files, not something we've really been dealing with.

From some spot checking on havarti seems like hw_emu can compile to an xclbin fine, but targeting actual execution seems to fail? At least on my toy dyn-mem-vec-add.futil file.

Also finally wrote down the explicit steps to use (and the parameters required at each step) and added them to the docs.
I'll move them and polish them up if needed.
To ease dealing with parameters would it make sense to require the [xilinx] parameters to be part of the fud2 config file? That way most of the logic between runs would be consistent, independent of the user remembering what they compiled to originally.

@nathanielnrn nathanielnrn marked this pull request as draft February 3, 2025 16:46
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.

1 participant