1 |
7 |
parrado |
|
2 |
|
|
for($n=0;$n<16;$n++) {
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
printf("wb_conmax_slave_if #(pri_sel%0d) s%0d(\n",$n,$n);
|
6 |
|
|
printf(" .clk_i( clk_i ),\n",$n);
|
7 |
|
|
printf(" .rst_i( rst_i ),\n",$n);
|
8 |
|
|
printf(" .conf( conf%0d ),\n",$n);
|
9 |
|
|
printf(" .wb_data_i( s%0d_data_i ),\n",$n);
|
10 |
|
|
printf(" .wb_data_o( s%0d_data_o ),\n",$n);
|
11 |
|
|
printf(" .wb_addr_o( s%0d_addr_o ),\n",$n);
|
12 |
|
|
printf(" .wb_sel_o( s%0d_sel_o ),\n",$n);
|
13 |
|
|
printf(" .wb_we_o( s%0d_we_o ),\n",$n);
|
14 |
|
|
printf(" .wb_cyc_o( s%0d_cyc_o ),\n",$n);
|
15 |
|
|
printf(" .wb_stb_o( s%0d_stb_o ),\n",$n);
|
16 |
|
|
printf(" .wb_ack_i( s%0d_ack_i ),\n",$n);
|
17 |
|
|
printf(" .wb_err_i( s%0d_err_i ),\n",$n);
|
18 |
|
|
printf(" .wb_rty_i( s%0d_rty_i ),\n",$n);
|
19 |
|
|
printf(" .m0_data_i( m0s%0d_data_o ),\n",$n);
|
20 |
|
|
printf(" .m0_data_o( m0s%0d_data_i ),\n",$n);
|
21 |
|
|
printf(" .m0_addr_i( m0s%0d_addr ),\n",$n);
|
22 |
|
|
printf(" .m0_sel_i( m0s%0d_sel ),\n",$n);
|
23 |
|
|
printf(" .m0_we_i( m0s%0d_we ),\n",$n);
|
24 |
|
|
printf(" .m0_cyc_i( m0s%0d_cyc ),\n",$n);
|
25 |
|
|
printf(" .m0_stb_i( m0s%0d_stb ),\n",$n);
|
26 |
|
|
printf(" .m0_ack_o( m0s%0d_ack ),\n",$n);
|
27 |
|
|
printf(" .m0_err_o( m0s%0d_err ),\n",$n);
|
28 |
|
|
printf(" .m0_rty_o( m0s%0d_rty ),\n",$n);
|
29 |
|
|
printf(" .m1_data_i( m1s%0d_data_o ),\n",$n);
|
30 |
|
|
printf(" .m1_data_o( m1s%0d_data_i ),\n",$n);
|
31 |
|
|
printf(" .m1_addr_i( m1s%0d_addr ),\n",$n);
|
32 |
|
|
printf(" .m1_sel_i( m1s%0d_sel ),\n",$n);
|
33 |
|
|
printf(" .m1_we_i( m1s%0d_we ),\n",$n);
|
34 |
|
|
printf(" .m1_cyc_i( m1s%0d_cyc ),\n",$n);
|
35 |
|
|
printf(" .m1_stb_i( m1s%0d_stb ),\n",$n);
|
36 |
|
|
printf(" .m1_ack_o( m1s%0d_ack ),\n",$n);
|
37 |
|
|
printf(" .m1_err_o( m1s%0d_err ),\n",$n);
|
38 |
|
|
printf(" .m1_rty_o( m1s%0d_rty ),\n",$n);
|
39 |
|
|
printf(" .m2_data_i( m2s%0d_data_o ),\n",$n);
|
40 |
|
|
printf(" .m2_data_o( m2s%0d_data_i ),\n",$n);
|
41 |
|
|
printf(" .m2_addr_i( m2s%0d_addr ),\n",$n);
|
42 |
|
|
printf(" .m2_sel_i( m2s%0d_sel ),\n",$n);
|
43 |
|
|
printf(" .m2_we_i( m2s%0d_we ),\n",$n);
|
44 |
|
|
printf(" .m2_cyc_i( m2s%0d_cyc ),\n",$n);
|
45 |
|
|
printf(" .m2_stb_i( m2s%0d_stb ),\n",$n);
|
46 |
|
|
printf(" .m2_ack_o( m2s%0d_ack ),\n",$n);
|
47 |
|
|
printf(" .m2_err_o( m2s%0d_err ),\n",$n);
|
48 |
|
|
printf(" .m2_rty_o( m2s%0d_rty ),\n",$n);
|
49 |
|
|
printf(" .m3_data_i( m3s%0d_data_o ),\n",$n);
|
50 |
|
|
printf(" .m3_data_o( m3s%0d_data_i ),\n",$n);
|
51 |
|
|
printf(" .m3_addr_i( m3s%0d_addr ),\n",$n);
|
52 |
|
|
printf(" .m3_sel_i( m3s%0d_sel ),\n",$n);
|
53 |
|
|
printf(" .m3_we_i( m3s%0d_we ),\n",$n);
|
54 |
|
|
printf(" .m3_cyc_i( m3s%0d_cyc ),\n",$n);
|
55 |
|
|
printf(" .m3_stb_i( m3s%0d_stb ),\n",$n);
|
56 |
|
|
printf(" .m3_ack_o( m3s%0d_ack ),\n",$n);
|
57 |
|
|
printf(" .m3_err_o( m3s%0d_err ),\n",$n);
|
58 |
|
|
printf(" .m3_rty_o( m3s%0d_rty ),\n",$n);
|
59 |
|
|
printf(" .m4_data_i( m4s%0d_data_o ),\n",$n);
|
60 |
|
|
printf(" .m4_data_o( m4s%0d_data_i ),\n",$n);
|
61 |
|
|
printf(" .m4_addr_i( m4s%0d_addr ),\n",$n);
|
62 |
|
|
printf(" .m4_sel_i( m4s%0d_sel ),\n",$n);
|
63 |
|
|
printf(" .m4_we_i( m4s%0d_we ),\n",$n);
|
64 |
|
|
printf(" .m4_cyc_i( m4s%0d_cyc ),\n",$n);
|
65 |
|
|
printf(" .m4_stb_i( m4s%0d_stb ),\n",$n);
|
66 |
|
|
printf(" .m4_ack_o( m4s%0d_ack ),\n",$n);
|
67 |
|
|
printf(" .m4_err_o( m4s%0d_err ),\n",$n);
|
68 |
|
|
printf(" .m4_rty_o( m4s%0d_rty ),\n",$n);
|
69 |
|
|
printf(" .m5_data_i( m5s%0d_data_o ),\n",$n);
|
70 |
|
|
printf(" .m5_data_o( m5s%0d_data_i ),\n",$n);
|
71 |
|
|
printf(" .m5_addr_i( m5s%0d_addr ),\n",$n);
|
72 |
|
|
printf(" .m5_sel_i( m5s%0d_sel ),\n",$n);
|
73 |
|
|
printf(" .m5_we_i( m5s%0d_we ),\n",$n);
|
74 |
|
|
printf(" .m5_cyc_i( m5s%0d_cyc ),\n",$n);
|
75 |
|
|
printf(" .m5_stb_i( m5s%0d_stb ),\n",$n);
|
76 |
|
|
printf(" .m5_ack_o( m5s%0d_ack ),\n",$n);
|
77 |
|
|
printf(" .m5_err_o( m5s%0d_err ),\n",$n);
|
78 |
|
|
printf(" .m5_rty_o( m5s%0d_rty ),\n",$n);
|
79 |
|
|
printf(" .m6_data_i( m6s%0d_data_o ),\n",$n);
|
80 |
|
|
printf(" .m6_data_o( m6s%0d_data_i ),\n",$n);
|
81 |
|
|
printf(" .m6_addr_i( m6s%0d_addr ),\n",$n);
|
82 |
|
|
printf(" .m6_sel_i( m6s%0d_sel ),\n",$n);
|
83 |
|
|
printf(" .m6_we_i( m6s%0d_we ),\n",$n);
|
84 |
|
|
printf(" .m6_cyc_i( m6s%0d_cyc ),\n",$n);
|
85 |
|
|
printf(" .m6_stb_i( m6s%0d_stb ),\n",$n);
|
86 |
|
|
printf(" .m6_ack_o( m6s%0d_ack ),\n",$n);
|
87 |
|
|
printf(" .m6_err_o( m6s%0d_err ),\n",$n);
|
88 |
|
|
printf(" .m6_rty_o( m6s%0d_rty ),\n",$n);
|
89 |
|
|
printf(" .m7_data_i( m7s%0d_data_o ),\n",$n);
|
90 |
|
|
printf(" .m7_data_o( m7s%0d_data_i ),\n",$n);
|
91 |
|
|
printf(" .m7_addr_i( m7s%0d_addr ),\n",$n);
|
92 |
|
|
printf(" .m7_sel_i( m7s%0d_sel ),\n",$n);
|
93 |
|
|
printf(" .m7_we_i( m7s%0d_we ),\n",$n);
|
94 |
|
|
printf(" .m7_cyc_i( m7s%0d_cyc ),\n",$n);
|
95 |
|
|
printf(" .m7_stb_i( m7s%0d_stb ),\n",$n);
|
96 |
|
|
printf(" .m7_ack_o( m7s%0d_ack ),\n",$n);
|
97 |
|
|
printf(" .m7_err_o( m7s%0d_err ),\n",$n);
|
98 |
|
|
printf(" .m7_rty_o( m7s%0d_rty )\n",$n);
|
99 |
|
|
printf(" );\n\n",$n);
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
}
|
103 |
|
|
|