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

[Lookup] AXI lite and MM only if mem_mode="external"

parent ffed025c
No related branches found
No related tags found
No related merge requests found
...@@ -471,6 +471,8 @@ class Lookup(HLSCustomOp): ...@@ -471,6 +471,8 @@ class Lookup(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()
intf_names["axilite"] = ["s_axi_control"] mem_mode = self.get_nodeattr("mem_mode")
intf_names["aximm"] = [("m_axi_gmem", self.get_nodeattr("ext_mem_width"))] if mem_mode == "external":
intf_names["axilite"] = ["s_axi_control"]
intf_names["aximm"] = [("m_axi_gmem", self.get_nodeattr("ext_mem_width"))]
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