Skip to content
Snippets Groups Projects
Commit 9cfc9b1d authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Concat] fix stitching for Vitis HLS

parent c1c6b05d
No related branches found
No related tags found
No related merge requests found
...@@ -362,9 +362,10 @@ class StreamingConcat(HLSCustomOp): ...@@ -362,9 +362,10 @@ class StreamingConcat(HLSCustomOp):
def get_verilog_top_module_intf_names(self): def get_verilog_top_module_intf_names(self):
intf_names = super().get_verilog_top_module_intf_names() intf_names = super().get_verilog_top_module_intf_names()
n_inputs = self.get_n_inputs() n_inputs = self.get_n_inputs()
sname = self.hls_sname()
intf_names["s_axis"] = [] intf_names["s_axis"] = []
for i in range(n_inputs): for i in range(n_inputs):
intf_names["s_axis"].append( intf_names["s_axis"].append(
("in%d_V_V" % i, self.get_instream_width_padded(i)) ("in%d_%s" % (i, sname), self.get_instream_width_padded(i))
) )
return intf_names return intf_names
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment