tensil-ai / tensil

Open source machine learning accelerators
https://www.tensil.ai
Other
348 stars 28 forks source link

Allow array size that is not a multiple of numScalarsPerWord #49

Open tdb-alcorn opened 2 years ago

tdb-alcorn commented 2 years ago

@B-Willems got this error when trying to create a 5x5 array on pynq z-2:

axi.Converter: Vector size (= 5 must be a multiple of " +
        s"numScalarsPerWord (= 4)"

The problem is the AXI Converter serdes doesn't handle this case yet. Let's add support for this.