Nicer error message for variable loop bounds
Open
xlscc
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
#pragma hls_top
int some_func(int image[8], int length) {
int sum = 0;
#pragma hls_unroll yes
for (int i = 0; i < length; i++) { // "Length" is not visible on this line
sum += image[i];
}
return sum;
}
Contributor guide
Assessment
This issue has not been assessed yet.