From 6c37019e7ab94759dcccb93deb38e07e10243842 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 74bc73955..51b45e0e4 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