Forum Discussion
ymherklotz
New Contributor
5 years agoIssue compiling code with volatile 3D array in loop
Hi,
The following code seems to compile incorrectly in Intel i++ Lite 18.1 when targeting Cyclone V.
#include "HLS/hls.h"
static volatile int32_t a[9][1][7];
component int result() {
int t...
AnilErinch_A_Intel
Frequent Contributor
5 years agoHi ,
You can prevent loop automatic loop unrolling using #pragma unroll 0 and get he code working as expected.
Thanks and Regards
Anil