diff --git a/src/finn/analysis/fpgadataflow/hls_synth_res_estimation.py b/src/finn/analysis/fpgadataflow/hls_synth_res_estimation.py index 0334c316b80a5c0628d00b75eb40776436cb8434..d2fc9bd37ae74917b93c50afc7340f9fb6c7b8c0 100644 --- a/src/finn/analysis/fpgadataflow/hls_synth_res_estimation.py +++ b/src/finn/analysis/fpgadataflow/hls_synth_res_estimation.py @@ -66,7 +66,7 @@ def hls_synth_res_estimation(model): for item in root.findall("AreaEstimates/Resources"): for child in item: res_dict[node.name].append( - ["{} : {}".format(child.tag, child.text)] + "{} : {}".format(child.tag, child.text) ) else: raise Exception( diff --git a/src/finn/custom_op/fpgadataflow/__init__.py b/src/finn/custom_op/fpgadataflow/__init__.py index 3a1d65a0cc46b5cccf1e30d93517d0a40c8b7aac..fb302027b8a6b67ebb0bdb467926eedfda9c5b0d 100644 --- a/src/finn/custom_op/fpgadataflow/__init__.py +++ b/src/finn/custom_op/fpgadataflow/__init__.py @@ -81,8 +81,8 @@ class HLSCustomOp(CustomOp): """Returns summarized resource estimation of BRAMs and LUTs of the node.""" resources = [] - resources.append("BRAMs: " + str(self.bram_estimation())) - resources.append("LUTs: " + str(self.lut_estimation())) + resources.append("BRAM_18K: " + str(self.bram_estimation())) + resources.append("LUT: " + str(self.lut_estimation())) return resources def bram_estimation(self):