Skip to content
Snippets Groups Projects
Commit b108922d authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Analysis] make resource reporting format consistent

parent 40fcb5ea
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment