Fix parsing of logic synthesis reports
Created by: vloncar
Description
Due to changes in the format of the Vivado (logic) synthesis, the parsing function is broken and zeros are returned. This fix ensures only the appropriate sections are parsed.
Type of change
-
Bug fix (non-breaking change that fixes an issue)
Tests
report = hls4ml.report.parse_vivado_report('/path/to/my/hls/outout/dir')
print(report['VivadoSynthReport'])
Observe before and after.