We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1b928c + 76938e5 commit 8552c87Copy full SHA for 8552c87
1 file changed
src/finn/analysis/fpgadataflow/hls_synth_res_estimation.py
@@ -70,7 +70,8 @@ def hls_synth_res_estimation(model):
70
root = tree.getroot()
71
for item in root.findall("AreaEstimates/Resources"):
72
for child in item:
73
- res_dict[node.name][child.tag] = child.text
+ if child.text is not None:
74
+ res_dict[node.name][child.tag] = int(child.text)
75
else:
76
warnings.warn(
77
"""Could not find report files, values will be set to zero
0 commit comments