From d966e8c8665b25a86cb7b13d1ea73dd0e37e7998 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <yamanu@xilinx.com>
Date: Thu, 28 Oct 2021 22:07:12 +0200
Subject: [PATCH] [DuplStreams] stitching fix

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

diff --git a/src/finn/custom_op/fpgadataflow/duplicatestreams_batch.py b/src/finn/custom_op/fpgadataflow/duplicatestreams_batch.py
index 08e48f435..51c8e4aea 100644
--- a/src/finn/custom_op/fpgadataflow/duplicatestreams_batch.py
+++ b/src/finn/custom_op/fpgadataflow/duplicatestreams_batch.py
@@ -399,6 +399,6 @@ class DuplicateStreams_Batch(HLSCustomOp):
         intf_names["m_axis"] = []
         for i in range(n_outputs):
             intf_names["m_axis"].append(
-                ("out%d_V_V", self.get_outstream_width_padded())
+                ("out%d_V_V" % i, self.get_outstream_width_padded())
             )
         return intf_names
-- 
GitLab