Skip to content

Fix parsing of logic synthesis reports

Javier Duarte requested to merge github/fork/vloncar/vsynth_report_fix into main

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.

Merge request reports

Loading