antonblanchard / vlsiffra

Create fast and efficient standard cell based adders, multipliers and multiply-adders.
Apache License 2.0
104 stars 9 forks source link

Multipliers with odd bit widths fail #20

Open hermanschmit opened 1 year ago

hermanschmit commented 1 year ago

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 commented 1 year ago

Fixed in #21