From 772ae66d2bd5fc19808a2047c8d12fdf6bd50eec Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <maltanar@gmail.com>
Date: Mon, 24 Aug 2020 15:31:42 +0200
Subject: [PATCH] [Analysis] bugfix in post_synth_res

---
 src/finn/analysis/fpgadataflow/post_synth_res.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/finn/analysis/fpgadataflow/post_synth_res.py b/src/finn/analysis/fpgadataflow/post_synth_res.py
index 1673b3064..1ad0d7c98 100644
--- a/src/finn/analysis/fpgadataflow/post_synth_res.py
+++ b/src/finn/analysis/fpgadataflow/post_synth_res.py
@@ -105,7 +105,7 @@ def post_synth_res(model, override_synth_report_filename=None):
     <tableheader class="" contents="DSP48 Blocks" halign="3" width="-1"/>
 </tablerow>
                 """
-                for (restype, ind) in restype_to_ind:
+                for (restype, ind) in restype_to_ind.items():
                     node_dict[restype] = int(row[ind].attrib["contents"])
                 res_dict[node.name] = node_dict
 
-- 
GitLab