12-05-2012 10:03 AM
I inherited Vivado HSL project from my colleague and synthesized the design. I was going through the report file and found that the throughput and latency information were not provided. The report said "???" for both, but it went through the synthesis and showed the resource utilization and other information.
Does anyone know why I am getting "???" for the throughput and latency of my design?
12-05-2012 01:31 PM
Let me add more information to the problem...
There is a function which includes multiple for-loops. The interations of the loops are determined by input argument of the function, but that input arguement is defined as a constant outside of the function. THus, it looks like below:
void function1 (...)
const int n = 256;
function2(n, ... )
void function2(n, ...)
In this case, can't the tool figure out how many interations it would have in the loop?
12-06-2012 03:04 PM
1) 'function1' is part of the design (i.e., not just used in TB), and
2) 'function2' is not call multiple times with different 'n',
Vivado HLS should propagate the constant into 'function2'. If it doesn't happen in your design, please share a test case. We will look into it. Thanks.