You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out that the ConvolutionInputGenerator function does not work correctly if OFMDim > 1.
It is used in ConvLayer_Batch and makes the convolution test fails (using test_conv3.tcl).
In ConvLayer_Batch, the stream convInp generated by ConvolutionInputGenerator seems erroneous (spotted by forcing all pixels to zeroes and looking at streams: this one is not full of zeroes).
In ConvolutionInputGenerator, I think that the current_line_in_block index makes an out-of-bound access to the array inputBuf in slidingwindow.h.
Hello,
I found out that the
ConvolutionInputGenerator
function does not work correctly ifOFMDim > 1
.It is used in
ConvLayer_Batch
and makes the convolution test fails (usingtest_conv3.tcl
).In ConvLayer_Batch, the stream
convInp
generated byConvolutionInputGenerator
seems erroneous (spotted by forcing all pixels to zeroes and looking at streams: this one is not full of zeroes).In
ConvolutionInputGenerator
, I think that thecurrent_line_in_block
index makes an out-of-bound access to the arrayinputBuf
in slidingwindow.h.Steps to reproduce
On
dev
branch (e2932ad):ofm_dimension = 1
byofm_dimension = 2
intb/data/gen_weigths.py
pushd tb/data/; python gen_weigths.py; popd
export FINN_HLS_ROOT=$(realpath .)
pushd tb; vitis_hls -f test_conv3.tcl
The test used
test_swg.tcl
still works.I used Vitis HLS 2023.2, but I was working on FINN-HLSLIB using a regular compiler for my project and the test fails too.
The text was updated successfully, but these errors were encountered: