Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xlscc] Variable set_slc, or at least should work with loop counter #7

Closed
spurserh opened this issue May 31, 2020 · 1 comment
Closed

Comments

@spurserh
Copy link
Collaborator

void reverse_nibbles(sai16 &x) {
#pragma hls_unroll yes
for(int b=0;b<16;b+=4) {
x.set_slc(b, x.slc<4>(12-b));
}
}

@cdleary
Copy link
Collaborator

cdleary commented Sep 21, 2021

Closing all the bugs filed against the old xlscc, if this same issue is encountered with the Clang-based FE we'll file a new bug / make a new test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants