I recently switch my works from PYNQ-Z2 to ZCU104.
However, I get a problem on my first exercise, which is multiplying each elements in a given array by 3.
I can receive the result, but it is incorrect. And any suggestion would be appreciated.
My input is
PynqBuffer([ 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60,
64, 68, 72, 76], dtype=uint32)
the expected output is multiplying each element by 3.
However, the result I obtained is
PynqBuffer([ 0, 0, 0, 0, 48, 0, 0, 0, 96, 0, 0, 0,
144, 0, 0, 0, 192, 0, 0, 0], dtype=uint32)
My block design is
And the DMA configuration
The C++ code is also attached with this post.
array_mul.cpp (414 Bytes) array_mul.h (160 Bytes)