We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I think the below function in Stream.h should have the type bool not void.
Regards, Sarah
void WriteOptimistic(T const &val) { #pragma HLS INLINE #ifndef HLSLIB_SYNTHESIS #pragma HLS INLINE return WriteOptimistic(val, depth_); #else return WriteOptimistic(val, std::numeric_limits::max()); #endif }
The text was updated successfully, but these errors were encountered:
Hi, maybe you're thinking of the non-blocking version of write, which is called WriteNonBlocking? Or why would you expect a boolean return type?
WriteNonBlocking
Sorry, something went wrong.
Oh sorry, I think I didn't grasp the code properly yet. Sorry for the confusion.
No worries
No branches or pull requests
Hi,
I think the below function in Stream.h should have the type bool not void.
Regards,
Sarah
void WriteOptimistic(T const &val) {
#pragma HLS INLINE
#ifndef HLSLIB_SYNTHESIS
#pragma HLS INLINE
return WriteOptimistic(val, depth_);
#else
return WriteOptimistic(val, std::numeric_limits::max());
#endif
}
The text was updated successfully, but these errors were encountered: