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

riffa.py ctype type error due to float type entered into fpga_send length argument #65

Open
dsdy120 opened this issue Jun 24, 2024 · 0 comments

Comments

@dsdy120
Copy link

dsdy120 commented Jun 24, 2024

Raising an issue that on RIFFA v2.2.0, running on Ubuntu 20.04.6 LTS, kernel version 5.4.0-186-generic, using Python 3.8.10, using fpga_send results in an error because in line 128 of riffa.py, length variable is assigned a float value, which raises a ctype error when passed into libriffa.fpga_send. Setting length = int(datalen/4) resolves the issue, but I am unsure if this breaks anything else.

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