google / google/xls

Unrolled loops not support for inputs

Open
#765 2 comments 0 reactions 1 assignee Claimed by @spurserh View on GitHub
xlscc
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

void test_input_array(int a[200], int n) {
#pragma hls_unroll no
for (int i = 0; i < 200; i++) {
a[i] = a[i] + 5;
}
}

Gives

UNIMPLEMENTED: For loop missing #pragma
--> ./test_input_array.cpp:3:3
|
3 | for (int i = 0; i < 200; i++) {
| ^

Any ideas

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.