blob: 3d752ce132cd09ebfbf0cfd1b843a7302e984c86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<%page args="transports"/>\
\
%for i, transport in enumerate(transports):
// Transport ${i} (${transport["name"]} ${transport["type"]})
input wire [${transport["width"]}-1:0] s_${transport["name"]}_tdata,
input wire s_${transport["name"]}_tlast,
input wire s_${transport["name"]}_tvalid,
output wire s_${transport["name"]}_tready,
output wire [${transport["width"]}-1:0] m_${transport["name"]}_tdata,
output wire m_${transport["name"]}_tlast,
output wire m_${transport["name"]}_tvalid,
input wire m_${transport["name"]}_tready${"," if i < len(transports) - 1 else ""}
%endfor
|