Output out-of-date HLS reports when synthesis is executed several times
Closed this issue · 0 comments
chhzh123 commented
The current f.report(target)
function for Vivado HLS examines whether a profile.json
file is in the project
folder. If HeteroCL finds this file, it will directly load the data and output results. Otherwise, it re-generates the results from the xml file provided by HLS.
When new optimizations are applied to the schedule, and the program is synthesized again and again, HeteroCL still reads the old json file and outputs out-of-date results for users.
Delete these several lines, and enforce HeteroCL to re-generate HLS reports will solve the problem.
heterocl/python/heterocl/report.py
Lines 32 to 33 in 58ea185