blob: abfb86c9885bd11ea5d5af13b0cc2fc7408767b8 (
plain)
1
2
3
4
5
6
7
8
9
|
<%page args="io_ports"/>\
<%import six%>\
//// IO ports //////////////////////////////////
%for name, io_port in six.iteritems(io_ports):
// ${name}
%for wire in io_port["wires"]:
${wire["direction"]} wire [${"%3d" % wire["width"]}-1:0] ${wire["name"]},
%endfor
%endfor
|