From c497ed0ae5ecefb6f8dbb717b57e49a320d3c8dc Mon Sep 17 00:00:00 2001
From: mmrahorovic <mmrahorovic@hotmail.com>
Date: Tue, 7 Jun 2022 16:54:07 +0100
Subject: [PATCH] [custom_op]: changed deprecated pragmas and made pipeline
 flushing by default

---
 src/finn/custom_op/fpgadataflow/hlscustomop.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/finn/custom_op/fpgadataflow/hlscustomop.py b/src/finn/custom_op/fpgadataflow/hlscustomop.py
index 030d1834f..3ea1cf0f0 100644
--- a/src/finn/custom_op/fpgadataflow/hlscustomop.py
+++ b/src/finn/custom_op/fpgadataflow/hlscustomop.py
@@ -332,10 +332,10 @@ class HLSCustomOp(CustomOp):
             ],
             "vitis_hls": [
                 "set_param hls.enable_hidden_option_error false",
-                "config_compile -disable_unroll_code_size_check",
+                "config_compile -disable_unroll_code_size_check -pipeline_style flp",
                 "config_interface -m_axi_addr64",
-                "config_rtl -auto_prefix",
-                "config_export -disable_deadlock_detection",
+                "config_rtl -module_auto_prefix",
+                "config_rtl -deadlock_detection none",
             ],
         }
         return default_directives[hls_version]
-- 
GitLab