I would like to decrease hardware resource usage in my FPGA design by applying Loop Streaming optimization. In the Check Report provided after HDL code generation, I can see a warning that streaming failed:
"Could not apply coder.hdl.loopspec pragma with the 'stream' option. This could be because the 'stream' optionwas applied on a loop containing a nested loop with a streaming factor that is not equal to the number of iterations,or because the 'stream' option was applied in a System Object."
My loop indeed contains a nested loop, but the streaming factor is accurate. Also, I have closely followed the requirements and limitations given on the Optimize MATLAB Loops documentation page.
Why is streaming still failing?
Best Answer