From 12c3768bb7f825912b17d6af72982d3e3ac2502b Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <maltanar@gmail.com>
Date: Wed, 8 Apr 2020 17:59:43 +0100
Subject: [PATCH] [StreamingFC] fix decoupled mode IP stitching problems

reg -> wire for the stream wires
---
 src/finn/custom_op/fpgadataflow/templates.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/finn/custom_op/fpgadataflow/templates.py b/src/finn/custom_op/fpgadataflow/templates.py
index 44a4def41..c34167feb 100644
--- a/src/finn/custom_op/fpgadataflow/templates.py
+++ b/src/finn/custom_op/fpgadataflow/templates.py
@@ -137,15 +137,15 @@ wire [31:0] config_q0;
 
 //multiple wire AXI Streams
 reg m_axis_0_afull = 0;
-reg m_axis_0_tready;
+wire m_axis_0_tready;
 wire m_axis_0_tvalid;
 wire $WEIGHT_RANGE$ m_axis_0_tdata;
 
-reg m_axis_0_tready_q;
+wire m_axis_0_tready_q;
 wire m_axis_0_tvalid_q;
 wire $WEIGHT_RANGE$ m_axis_0_tdata_q;
 
-reg m_axis_0_tready_q2;
+wire m_axis_0_tready_q2;
 wire m_axis_0_tvalid_q2;
 wire $WEIGHT_RANGE$ m_axis_0_tdata_q2;
 
-- 
GitLab