Stream.full() Method - 2022.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2022-06-07
Version
2022.1 English

This method of the hls::stream objects returns true, if and only if the object is full, as shown below:

hls::stream<int> my_stream;
int src_var = 42;
bool stream_full;

stream_full = my_stream.full();

This method can be used to ensure deterministic behavior of the blocking API.