blob: df055645cfdc9052a30a4fc14303539e244457d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<%page args="connections, clocks"/>\
\
%for connection in connections:
<%
src_name = connection["srcblk"] # Should always be "_device_"
src = clocks[(src_name, connection["srcport"])]
dst_name = connection["dstblk"]
dst = clocks[(dst_name, connection["dstport"])]
%>\
assign ${dst_name}_${dst["name"]}_clk = ${src["name"]}_clk;
%endfor
|