Note:
You cannot derive new classes from the stream classes or encapsulate them in other
formats such as structs or arrays. However, you may use references to instances of
these classes as references inside other classes, meaning that you can create a class
that has a reference to a stream object as a data member.
I first missed this sentence in the HLS Reference doc and tried encapsulating `stream` and stream_in` in a struct.
In some cases, I get a silent failure at `_fpga` time, where compile is successful, and test also runs successfully but nothing seems to be read from the stream (successful blocking `read` but no data, or unexpected)
Best,
Val