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

[HLSCustomOp] fix Thresholding op to use new interface convention

parent d843b509
No related branches found
No related tags found
No related merge requests found
...@@ -825,8 +825,8 @@ class Thresholding_Batch(HLSCustomOp): ...@@ -825,8 +825,8 @@ class Thresholding_Batch(HLSCustomOp):
# create a hierarchy for this layer, with the same port names # create a hierarchy for this layer, with the same port names
clk_name = self.get_verilog_top_module_intf_names()["clk"][0] clk_name = self.get_verilog_top_module_intf_names()["clk"][0]
rst_name = self.get_verilog_top_module_intf_names()["rst"][0] rst_name = self.get_verilog_top_module_intf_names()["rst"][0]
dout_name = self.get_verilog_top_module_intf_names()["m_axis"][0] dout_name = self.get_verilog_top_module_intf_names()["m_axis"][0][0]
din_name = self.get_verilog_top_module_intf_names()["s_axis"][0] din_name = self.get_verilog_top_module_intf_names()["s_axis"][0][0]
cmd.append("create_bd_cell -type hier %s" % node_name) cmd.append("create_bd_cell -type hier %s" % node_name)
cmd.append("create_bd_pin -dir I -type clk /%s/%s" % (node_name, clk_name)) cmd.append("create_bd_pin -dir I -type clk /%s/%s" % (node_name, clk_name))
cmd.append("create_bd_pin -dir I -type rst /%s/%s" % (node_name, rst_name)) cmd.append("create_bd_pin -dir I -type rst /%s/%s" % (node_name, rst_name))
......
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