From 583b2e29c2ccb1d02b26b429586a34c139bf8705 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <yamanu@xilinx.com>
Date: Thu, 12 Aug 2021 10:10:27 +0200
Subject: [PATCH] [Vitis] add disable_deadlock_detection (breaks rtlsim
 otherwise)

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

diff --git a/src/finn/custom_op/fpgadataflow/hlscustomop.py b/src/finn/custom_op/fpgadataflow/hlscustomop.py
index c94e43009..9dbc3dbd0 100644
--- a/src/finn/custom_op/fpgadataflow/hlscustomop.py
+++ b/src/finn/custom_op/fpgadataflow/hlscustomop.py
@@ -334,6 +334,7 @@ class HLSCustomOp(CustomOp):
                 "config_compile -disable_unroll_code_size_check",
                 "config_interface -m_axi_addr64",
                 "config_rtl -auto_prefix",
+                "config_export -disable_deadlock_detection",
             ],
         }
         return default_directives[hls_version]
-- 
GitLab