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

Multipliers with odd bit widths fail #20

Open
hermanschmit opened this issue Feb 20, 2023 · 1 comment
Open

Multipliers with odd bit widths fail #20

hermanschmit opened this issue Feb 20, 2023 · 1 comment

Comments

@hermanschmit
Copy link
Contributor

vlsi-multiplier --bits 9

will fail with:
File ".../vlsiffra-1.0.0-py3.10.egg/vlsiffra/multiplier.py", line 64, in elaborate
File ".../vlsiffra-1.0.0-py3.10.egg/vlsiffra/multiplier.py", line 218, in _gen_partial_products
IndexError: list index out of range

@antonblanchard
Copy link
Owner

Fixed in #21

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

2 participants