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

[IPI] allow multiple AXI lite interfaces

parent 10623ae8
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,6 @@ class CreateStitchedIP(Transformation): ...@@ -65,7 +65,6 @@ class CreateStitchedIP(Transformation):
"""The chosen frequency may lead to failure due to clock divider """The chosen frequency may lead to failure due to clock divider
constraints.""" constraints."""
) )
self.has_axilite = False
self.has_aximm = False self.has_aximm = False
self.has_m_axis = False self.has_m_axis = False
self.m_axis_idx = 0 self.m_axis_idx = 0
...@@ -127,15 +126,11 @@ class CreateStitchedIP(Transformation): ...@@ -127,15 +126,11 @@ class CreateStitchedIP(Transformation):
"make_bd_intf_pins_external " "make_bd_intf_pins_external "
"[get_bd_intf_pins %s/%s]" % (inst_name, axilite_intf_name[0]) "[get_bd_intf_pins %s/%s]" % (inst_name, axilite_intf_name[0])
) )
self.connect_cmds.append( ext_if_name = "%s_%d" % (
"set_property name s_axi_control " axilite_intf_name[0],
"[get_bd_intf_ports %s_0]" % axilite_intf_name[0] len(self.intf_names["axilite"]),
) )
assert ( self.intf_names["axilite"].append(ext_if_name)
self.has_axilite is False
), "Currently limited to one slave AXI-Stream"
self.intf_names["axilite"] = ["s_axi_control"]
self.has_axilite = True
if len(aximm_intf_name) != 0: if len(aximm_intf_name) != 0:
self.connect_cmds.append( self.connect_cmds.append(
"make_bd_intf_pins_external [get_bd_intf_pins %s/%s]" "make_bd_intf_pins_external [get_bd_intf_pins %s/%s]"
......
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