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

[HLSCustomOp] comment new get_verilog_top_module_intf_names style

parent 34c2eb02
No related branches found
No related tags found
No related merge requests found
...@@ -123,9 +123,10 @@ class HLSCustomOp(CustomOp): ...@@ -123,9 +123,10 @@ class HLSCustomOp(CustomOp):
"""Return a dict of names of input and output interfaces. """Return a dict of names of input and output interfaces.
The keys reflect the protocols each interface implements: The keys reflect the protocols each interface implements:
'clk', 'rst', 'm_axis', 's_axis', 'aximm', 'axilite'. 'clk', 'rst', 'm_axis', 's_axis', 'aximm', 'axilite'.
Values are lists of names: Values are lists of tuples (axis, aximm) or names (axilite):
's_axis' names correspond to the list of node inputs in order, 'axis' tuples correspond to the list of node inputs in order,
'm_axis' names correspond to the list of node outputs in order' each tuple is (interface_name, interface_width_bits).
axilite always assumed to be 32 bits and is not tuple (name only).
Each block must have at most one aximm and one axilite.""" Each block must have at most one aximm and one axilite."""
intf_names = {} intf_names = {}
intf_names["clk"] = ["ap_clk"] intf_names["clk"] = ["ap_clk"]
......
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