From 389a9156a963eb809ce901e1f8ec8409c4297fec Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Thu, 29 Sep 2022 16:35:18 +0200 Subject: [PATCH] [SWGG] inherit interface dict from HLSCustomOp to remain compatible --- .../fpgadataflow/convolutioninputgenerator_rtl.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/finn/custom_op/fpgadataflow/convolutioninputgenerator_rtl.py b/src/finn/custom_op/fpgadataflow/convolutioninputgenerator_rtl.py index 6b6180707..665325bde 100755 --- a/src/finn/custom_op/fpgadataflow/convolutioninputgenerator_rtl.py +++ b/src/finn/custom_op/fpgadataflow/convolutioninputgenerator_rtl.py @@ -842,17 +842,9 @@ class ConvolutionInputGenerator_rtl(HLSCustomOp): each tuple is (interface_name, interface_width_bits). axilite always assumed to be 32 bits and is not tuple (name only). Each block must have at most one aximm and one axilite.""" - intf_names = {} - intf_names["clk"] = ["ap_clk"] - intf_names["rst"] = ["ap_rst_n"] - sname = self.hls_sname() - intf_names["s_axis"] = [("in0_" + sname, self.get_instream_width_padded())] - intf_names["m_axis"] = [("out_" + sname, self.get_outstream_width_padded())] - intf_names["aximm"] = [] + intf_names = super().get_verilog_top_module_intf_names() if self.get_nodeattr("dynamic_mode"): intf_names["axilite"] = ["s_axi_cfg"] - else: - intf_names["axilite"] = [] return intf_names def get_dynamic_config(self, ifm_dim, stride=None, dilation=None): -- GitLab