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

typo error on Figure 8.8 code? #12

Open
hokim72 opened this issue Aug 15, 2019 · 0 comments
Open

typo error on Figure 8.8 code? #12

hokim72 opened this issue Aug 15, 2019 · 0 comments

Comments

@hokim72
Copy link

hokim72 commented Aug 15, 2019

Is RAW correct
in #pragma HLS DEPENDENCE variable=hist inter RAW distance=2 ?
I think the following is WAR(write after read)
hist[val] = hist[val] + 1;
Could you explain why it is not WAR but RAW?
Is it because of his[val] read at i+1(right-hand side of the equal) after hist[val] write at i(left-hand side of the equal) ?

@hokim72 hokim72 changed the title error on Figure 8.8 code? typo error on Figure 8.8 code? Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant