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

Multi-cycle divider improvements #139

Open
desmonddak opened this issue Nov 15, 2024 · 0 comments
Open

Multi-cycle divider improvements #139

desmonddak opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@desmonddak
Copy link
Contributor

Motivation

Some of the computations are using 2's complement where a 1's complement (inversion) based approach may be more efficient.
This should be explored to see if you can save all those carry operations.

More corner cases for the divider would be good to have in the test suite.
A test using a narrow divider might cover all corners.
We could enhance the MultCycleDividerState to be an enum and perhaps use the ROHD-HCL FSM construct.

Desired solution

Create a narrow divider and see if we can cover all corners.
If not, create a list of corner cases and cover them with short tests.

Try converting computations to use 1's complement and avoid the carries.

Alternatives considered

No response

Additional details

No response

@desmonddak desmonddak added the enhancement New feature or request label Nov 15, 2024
@mkorbel1 mkorbel1 added the help wanted Extra attention is needed label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants