Deadlock while filling pipe for simulation
Hi, following best practice as descibed here we run into trouble with stalled writes.
When you create a testbench for a oneAPI kernel that you intend to compile as an IP core, write all your data to the host pipe before invoking the kernel.
There is a reproducer attached based on streaming data interface example.
As reducing the amount of data to process for simulation seems an easy workaround, this will not work if the design is more complex or bigger and the interface width is larger. Both conditions reduce the number of data samples before the buffer access stalls.
For our relevant design this means a too small size of simulateable data to get reasonable simulation results.
I have following questions:
1) Is this intented behaviour?
2) Is there a parameter to increase the accepted number of samples for simulation pipes?
3) Will this solution solve the simulation issue too?
Thanks for any feedback!
Ric.
oneAPI DPC++/C++ Compiler 2024.1.0 (2024.1.0.20240308), Ubuntu 22.04.4 LTS