Closed chhzh123 closed 3 years ago
This underscores the importance of doing automatic inference of the FIFO sizing. Can we manually specify the FIFO size in HeteroCL to workaround this issue?
Yes, I am just trying to tackle this problem, and this program is a test example. I discussed with @Hecmay about the implementation of .to
yesterday. Seems there're still several issues need to be fixed.
Two more issues here:
s.to(A, s[kernel.B])
may cause Segmentation Fault.C
cannot be generated properly in the following code.
s.to(kernel.B, s[kernel.C])
s.to(kernel.C, s[kernel.D])
Fixed. test cases added here: https://github.com/cornell-zhang/heterocl/blob/heteroflow/tests/issues/test_issue_262.py
This program uses
.to
to perform inter-stage data streaming.The generated code is shown below, which do not specify the dataflow region or the FIFO size, causing synthesis errors.