Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/stdlib/stream: correct comment in example code about when data loss
In the example code the condition `done & self.stream.valid & ~self.stream.ready` is not sufficient to cause the payload to be discarded. That is because the done bit remains high. In case of a very slow stream, the first two quickly arriving serial transactions will never be lost, even if the first transaction has not been processed yet, when the second one arrives. However if a 3rd transaction arrives as well, then the 2nd transaction will be discarded.
- Loading branch information