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

[Checksum] change AXI-lite port name to checksum

parent 85e4b214
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,7 @@ class checksum(HLSCustomOp): ...@@ -311,7 +311,7 @@ class checksum(HLSCustomOp):
"#pragma HLS interface axis port=out name=out_" + self.hls_sname() "#pragma HLS interface axis port=out name=out_" + self.hls_sname()
) )
self.code_gen_dict["$PRAGMAS$"].append( self.code_gen_dict["$PRAGMAS$"].append(
"#pragma HLS interface s_axilite port=chk" "#pragma HLS interface s_axilite port=chk bundle=checksum"
) )
self.code_gen_dict["$PRAGMAS$"].append( self.code_gen_dict["$PRAGMAS$"].append(
"#pragma HLS interface ap_ctrl_none port=return" "#pragma HLS interface ap_ctrl_none port=return"
...@@ -321,5 +321,5 @@ class checksum(HLSCustomOp): ...@@ -321,5 +321,5 @@ class checksum(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()
# expose axilite interface # expose axilite interface
intf_names["axilite"] = ["s_axi_control"] intf_names["axilite"] = ["s_axi_checksum"]
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