From 3de3768f961632db8c68721c7fb1b49b300a439c Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <yamanu@xilinx.com> Date: Tue, 10 Aug 2021 21:54:59 +0200 Subject: [PATCH] [Vitis] stitching fix for newer Alveo shells change the resolve_type of interfaces to avoid linking errors for newer Alveo shells --- src/finn/transformation/fpgadataflow/create_stitched_ip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/finn/transformation/fpgadataflow/create_stitched_ip.py b/src/finn/transformation/fpgadataflow/create_stitched_ip.py index ea00f2cc6..7ae3c9fee 100644 --- a/src/finn/transformation/fpgadataflow/create_stitched_ip.py +++ b/src/finn/transformation/fpgadataflow/create_stitched_ip.py @@ -333,8 +333,8 @@ class CreateStitchedIP(Transformation): # if targeting Vitis, add some properties to the IP if self.vitis: tcl.append( - "ipx::remove_bus_parameter FREQ_HZ " - "[ipx::get_bus_interfaces CLK.AP_CLK -of_objects [ipx::current_core]]" + "set_property value_resolve_type user [ipx::get_bus_parameters " + "-of [ipx::get_bus_interfaces -of [ipx::current_core ]]]" ) # replace source code with dcp tcl.append( -- GitLab