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

Add wide format support to cl_fix_in_range #14

Merged
merged 1 commit into from
Jul 6, 2021

Conversation

harry-commin-enclustra
Copy link
Collaborator

  • To avoid code duplication (which seems to have led to unexplained inconsistency with cl_fix_resize), I just followed the python implementation (which calls cl_fix_resize explicitly).
  • The VHDL testbench still passes. However, if any new failure is found, then the python implementation must be fixed in parallel.
  • I have not checked synthesis (and I don't see an obvious use case for this function in synthesis). I would expect synthesis to be sane, but some optimization may be needed.

- To avoid code duplication (which seems to have led to unexplained inconsistency with cl_fix_resize), I just followed the python implementation (which calls cl_fix_resize explicitly).
- The VHDL testbench still passes. However, if any new failure is found, then the python implementation must be fixed in parallel.
- I have not checked synthesis (and I don't see an obvious use case for this function in synthesis). I would expect synthesis to be sane, but some optimization may be needed.
@harry-commin-enclustra harry-commin-enclustra merged commit 86af053 into master Jul 6, 2021
@harry-commin-enclustra harry-commin-enclustra deleted the feature/cl_fix_in_range branch July 6, 2021 09:28
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