google / google/xls

How to handling input arrays (external memories)

Open
#766 2 comments 0 reactions 0 assignees View on GitHub
enhancement xlscc
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

void test_input_array(int a[4], int n) {
for (int i = 0; i < 4; i++) {
a[i] = a[i] + 5;
}
}

gives

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

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.