Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: mac2_new.v | |
4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
6 | // | |
7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
8 | // | |
9 | // This program is free software; you can redistribute it and/or modify | |
10 | // it under the terms of the GNU General Public License as published by | |
11 | // the Free Software Foundation; version 2 of the License. | |
12 | // | |
13 | // This program is distributed in the hope that it will be useful, | |
14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // GNU General Public License for more details. | |
17 | // | |
18 | // You should have received a copy of the GNU General Public License | |
19 | // along with this program; if not, write to the Free Software | |
20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | // | |
22 | // For the avoidance of doubt, and except that if any non-GPL license | |
23 | // choice is available it will apply instead, Sun elects to use only | |
24 | // the General Public License version 2 (GPLv2) at this time for any | |
25 | // software where a choice of GPL license versions is made | |
26 | // available with the language indicating that GPLv2 or any later version | |
27 | // may be used, or where a choice of which version of the GPL is applied is | |
28 | // otherwise unspecified. | |
29 | // | |
30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
31 | // CA 95054 USA or visit www.sun.com if you need additional information or | |
32 | // have any questions. | |
33 | // | |
34 | // ========== Copyright Header End ============================================ | |
35 | // ########################################################## | |
36 | // # File Name : mac2.v | |
37 | // # Author Name : John Lo | |
38 | // # Description : It contains mac_2ports and phy_clock_2ports. | |
39 | // # It is for N2. | |
40 | // # | |
41 | // # Parent Module: | |
42 | // # Child Module: | |
43 | // # Interface Mod: | |
44 | // # Date Created : 7/26/04 | |
45 | // # | |
46 | // # Copyright (c) 2020, Sun Microsystems, Inc. | |
47 | // # Sun Proprietary and Confidential | |
48 | // ########################################################## | |
49 | ||
50 | ||
51 | module mac2 | |
52 | (/*AUTOARG*/ | |
53 | // Outputs | |
54 | xaui_link_led_1, xaui_link_led_0, xaui_act_led_1, xaui_act_led_0, | |
55 | mif_pio_intr, mdoe, mdo, mac_txc_req1, mac_txc_req0, mac_rxc_tag1, | |
56 | mac_rxc_tag0, mac_rxc_stat1, mac_rxc_stat0, mac_rxc_data1, | |
57 | mac_rxc_data0, mac_rxc_ctrl1, mac_rxc_ctrl0, mac_rxc_ack1, | |
58 | mac_rxc_ack0, mac_pio_rdata, mac_pio_intr1, mac_pio_intr0, | |
59 | mac_pio_err, mac_pio_ack, mac_esr_txd3_1, mac_esr_txd3_0, | |
60 | mac_esr_txd2_1, mac_esr_txd2_0, mac_esr_txd1_1, mac_esr_txd1_0, | |
61 | mac_esr_txd0_1, mac_esr_txd0_0, mac_esr_tclk_1, mac_esr_tclk_0, | |
62 | mac_debug_port, mdc, | |
63 | // Inputs | |
64 | txc_mac_tag1, txc_mac_tag0, txc_mac_stat1, txc_mac_stat0, | |
65 | txc_mac_data1, txc_mac_data0, txc_mac_ack1, txc_mac_ack0, | |
66 | txc_mac_abort1, txc_mac_abort0, tcu_scan_mode, rxc_mac_req1, | |
67 | rxc_mac_req0, pio_mac_sel, pio_clients_wdata, pio_clients_rd, | |
68 | pio_clients_addr, niu_reset_l, niu_clk, mdi_1, mdi_0, mdi, | |
69 | mac_reset1, mac_reset0, mac_312tx_test_clk, mac_312rx_test_clk, | |
70 | mac_156tx_test_clk, mac_156rx_test_clk, mac_125tx_test_clk, | |
71 | mac_125rx_test_clk, esr_mac_tclk_1, esr_mac_tclk_0, | |
72 | esr_mac_sync_1, esr_mac_sync_0, esr_mac_rxd3_1, esr_mac_rxd3_0, | |
73 | esr_mac_rxd2_1, esr_mac_rxd2_0, esr_mac_rxd1_1, esr_mac_rxd1_0, | |
74 | esr_mac_rxd0_1, esr_mac_rxd0_0, esr_mac_rclk_1, esr_mac_rclk_0, | |
75 | esr_mac_oddcg0_1, esr_mac_oddcg0_0, esr_mac_los_1, esr_mac_los_0 | |
76 | ); | |
77 | ||
78 | // manual IO declaration -loj | |
79 | output mdc; | |
80 | ||
81 | /*AUTOINPUT*/ | |
82 | // Beginning of automatic inputs (from unused autoinst inputs) | |
83 | input [3:0] esr_mac_los_0; // To mac_2ports of mac_2ports.v | |
84 | input [3:0] esr_mac_los_1; // To mac_2ports of mac_2ports.v | |
85 | input esr_mac_oddcg0_0; // To mac_2ports of mac_2ports.v | |
86 | input esr_mac_oddcg0_1; // To mac_2ports of mac_2ports.v | |
87 | input [3:0] esr_mac_rclk_0; // To mac_2ports of mac_2ports.v, ... | |
88 | input [3:0] esr_mac_rclk_1; // To mac_2ports of mac_2ports.v, ... | |
89 | input [9:0] esr_mac_rxd0_0; // To mac_2ports of mac_2ports.v | |
90 | input [9:0] esr_mac_rxd0_1; // To mac_2ports of mac_2ports.v | |
91 | input [9:0] esr_mac_rxd1_0; // To mac_2ports of mac_2ports.v | |
92 | input [9:0] esr_mac_rxd1_1; // To mac_2ports of mac_2ports.v | |
93 | input [9:0] esr_mac_rxd2_0; // To mac_2ports of mac_2ports.v | |
94 | input [9:0] esr_mac_rxd2_1; // To mac_2ports of mac_2ports.v | |
95 | input [9:0] esr_mac_rxd3_0; // To mac_2ports of mac_2ports.v | |
96 | input [9:0] esr_mac_rxd3_1; // To mac_2ports of mac_2ports.v | |
97 | input [3:0] esr_mac_sync_0; // To mac_2ports of mac_2ports.v | |
98 | input [3:0] esr_mac_sync_1; // To mac_2ports of mac_2ports.v | |
99 | input [3:0] esr_mac_tclk_0; // To phy_clock_2ports of phy_clock_2ports.v | |
100 | input [3:0] esr_mac_tclk_1; // To phy_clock_2ports of phy_clock_2ports.v | |
101 | input mac_125rx_test_clk; // To phy_clock_2ports of phy_clock_2ports.v | |
102 | input mac_125tx_test_clk; // To phy_clock_2ports of phy_clock_2ports.v | |
103 | input mac_156rx_test_clk; // To phy_clock_2ports of phy_clock_2ports.v | |
104 | input mac_156tx_test_clk; // To phy_clock_2ports of phy_clock_2ports.v | |
105 | input mac_312rx_test_clk; // To phy_clock_2ports of phy_clock_2ports.v | |
106 | input mac_312tx_test_clk; // To phy_clock_2ports of phy_clock_2ports.v | |
107 | input mac_reset0; // To mac_2ports of mac_2ports.v | |
108 | input mac_reset1; // To mac_2ports of mac_2ports.v | |
109 | input mdi; // To mac_2ports of mac_2ports.v | |
110 | input mdi_0; // To mac_2ports of mac_2ports.v | |
111 | input mdi_1; // To mac_2ports of mac_2ports.v | |
112 | input niu_clk; // To mac_2ports of mac_2ports.v | |
113 | input niu_reset_l; // To mac_2ports of mac_2ports.v | |
114 | input [19:0] pio_clients_addr; // To mac_2ports of mac_2ports.v | |
115 | input pio_clients_rd; // To mac_2ports of mac_2ports.v | |
116 | input [31:0] pio_clients_wdata; // To mac_2ports of mac_2ports.v | |
117 | input pio_mac_sel; // To mac_2ports of mac_2ports.v | |
118 | input rxc_mac_req0; // To mac_2ports of mac_2ports.v | |
119 | input rxc_mac_req1; // To mac_2ports of mac_2ports.v | |
120 | input tcu_scan_mode; // To phy_clock_2ports of phy_clock_2ports.v | |
121 | input txc_mac_abort0; // To mac_2ports of mac_2ports.v | |
122 | input txc_mac_abort1; // To mac_2ports of mac_2ports.v | |
123 | input txc_mac_ack0; // To mac_2ports of mac_2ports.v | |
124 | input txc_mac_ack1; // To mac_2ports of mac_2ports.v | |
125 | input [63:0] txc_mac_data0; // To mac_2ports of mac_2ports.v | |
126 | input [63:0] txc_mac_data1; // To mac_2ports of mac_2ports.v | |
127 | input [3:0] txc_mac_stat0; // To mac_2ports of mac_2ports.v | |
128 | input [3:0] txc_mac_stat1; // To mac_2ports of mac_2ports.v | |
129 | input txc_mac_tag0; // To mac_2ports of mac_2ports.v | |
130 | input txc_mac_tag1; // To mac_2ports of mac_2ports.v | |
131 | // End of automatics | |
132 | ||
133 | /*AUTOOUTPUT*/ | |
134 | // Beginning of automatic outputs (from unused autoinst outputs) | |
135 | output [31:0] mac_debug_port; // From mac_2ports of mac_2ports.v | |
136 | output [3:0] mac_esr_tclk_0; // From phy_clock_2ports of phy_clock_2ports.v | |
137 | output [3:0] mac_esr_tclk_1; // From phy_clock_2ports of phy_clock_2ports.v | |
138 | output [9:0] mac_esr_txd0_0; // From mac_2ports of mac_2ports.v | |
139 | output [9:0] mac_esr_txd0_1; // From mac_2ports of mac_2ports.v | |
140 | output [9:0] mac_esr_txd1_0; // From mac_2ports of mac_2ports.v | |
141 | output [9:0] mac_esr_txd1_1; // From mac_2ports of mac_2ports.v | |
142 | output [9:0] mac_esr_txd2_0; // From mac_2ports of mac_2ports.v | |
143 | output [9:0] mac_esr_txd2_1; // From mac_2ports of mac_2ports.v | |
144 | output [9:0] mac_esr_txd3_0; // From mac_2ports of mac_2ports.v | |
145 | output [9:0] mac_esr_txd3_1; // From mac_2ports of mac_2ports.v | |
146 | output mac_pio_ack; // From mac_2ports of mac_2ports.v | |
147 | output mac_pio_err; // From mac_2ports of mac_2ports.v | |
148 | output mac_pio_intr0; // From mac_2ports of mac_2ports.v | |
149 | output mac_pio_intr1; // From mac_2ports of mac_2ports.v | |
150 | output [63:0] mac_pio_rdata; // From mac_2ports of mac_2ports.v | |
151 | output mac_rxc_ack0; // From mac_2ports of mac_2ports.v | |
152 | output mac_rxc_ack1; // From mac_2ports of mac_2ports.v | |
153 | output mac_rxc_ctrl0; // From mac_2ports of mac_2ports.v | |
154 | output mac_rxc_ctrl1; // From mac_2ports of mac_2ports.v | |
155 | output [63:0] mac_rxc_data0; // From mac_2ports of mac_2ports.v | |
156 | output [63:0] mac_rxc_data1; // From mac_2ports of mac_2ports.v | |
157 | output [22:0] mac_rxc_stat0; // From mac_2ports of mac_2ports.v | |
158 | output [22:0] mac_rxc_stat1; // From mac_2ports of mac_2ports.v | |
159 | output mac_rxc_tag0; // From mac_2ports of mac_2ports.v | |
160 | output mac_rxc_tag1; // From mac_2ports of mac_2ports.v | |
161 | output mac_txc_req0; // From mac_2ports of mac_2ports.v | |
162 | output mac_txc_req1; // From mac_2ports of mac_2ports.v | |
163 | output mdo; // From mac_2ports of mac_2ports.v | |
164 | output mdoe; // From mac_2ports of mac_2ports.v | |
165 | output mif_pio_intr; // From mac_2ports of mac_2ports.v | |
166 | output xaui_act_led_0; // From mac_2ports of mac_2ports.v | |
167 | output xaui_act_led_1; // From mac_2ports of mac_2ports.v | |
168 | output xaui_link_led_0; // From mac_2ports of mac_2ports.v | |
169 | output xaui_link_led_1; // From mac_2ports of mac_2ports.v | |
170 | // End of automatics | |
171 | ||
172 | /*AUTOWIRE*/ | |
173 | // Beginning of automatic wires (for undeclared instantiated-module outputs) | |
174 | wire blunt_end_loopback; // From mac_2ports of mac_2ports.v | |
175 | wire clk; // From mac_2ports of mac_2ports.v | |
176 | wire gmii_mode0; // From mac_2ports of mac_2ports.v | |
177 | wire gmii_mode1; // From mac_2ports of mac_2ports.v | |
178 | wire loopback0; // From mac_2ports of mac_2ports.v | |
179 | wire loopback1; // From mac_2ports of mac_2ports.v | |
180 | wire mii_mode0; // From mac_2ports of mac_2ports.v | |
181 | wire mii_mode1; // From mac_2ports of mac_2ports.v | |
182 | wire pcs_bypass0; // From mac_2ports of mac_2ports.v | |
183 | wire pcs_bypass1; // From mac_2ports of mac_2ports.v | |
184 | wire rbc0_a_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
185 | wire rbc0_a_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
186 | wire rbc0_b_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
187 | wire rbc0_b_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
188 | wire rbc0_c_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
189 | wire rbc0_c_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
190 | wire rbc0_d_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
191 | wire rbc0_d_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
192 | wire reset; // From mac_2ports of mac_2ports.v | |
193 | wire rx_clk_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
194 | wire rx_clk_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
195 | wire [3:0] rx_heart_beat_timer0; // From mac_2ports of mac_2ports.v | |
196 | wire [3:0] rx_heart_beat_timer1; // From mac_2ports of mac_2ports.v | |
197 | wire rx_nbclk_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
198 | wire rx_nbclk_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
199 | wire sel_clk_25mhz0; // From mac_2ports of mac_2ports.v | |
200 | wire sel_clk_25mhz1; // From mac_2ports of mac_2ports.v | |
201 | wire sel_por_loopback_clk0; // From mac_2ports of mac_2ports.v | |
202 | wire sel_por_loopback_clk1; // From mac_2ports of mac_2ports.v | |
203 | wire tx_clk_312mhz0; // From mac_2ports of mac_2ports.v | |
204 | wire tx_clk_312mhz1; // From mac_2ports of mac_2ports.v | |
205 | wire tx_clk_312mhz_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
206 | wire tx_clk_312mhz_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
207 | wire tx_clk_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
208 | wire tx_clk_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
209 | wire [3:0] tx_heart_beat_timer0; // From mac_2ports of mac_2ports.v | |
210 | wire [3:0] tx_heart_beat_timer1; // From mac_2ports of mac_2ports.v | |
211 | wire tx_nbclk_muxd0; // From phy_clock_2ports of phy_clock_2ports.v | |
212 | wire tx_nbclk_muxd1; // From phy_clock_2ports of phy_clock_2ports.v | |
213 | wire xgmii_mode0; // From mac_2ports of mac_2ports.v | |
214 | wire xgmii_mode1; // From mac_2ports of mac_2ports.v | |
215 | wire xpcs_loopback0; // From mac_2ports of mac_2ports.v | |
216 | wire xpcs_loopback1; // From mac_2ports of mac_2ports.v | |
217 | // End of automatics | |
218 | ||
219 | ||
220 | mac_2ports mac_2ports | |
221 | (/*AUTOINST*/ | |
222 | // Outputs | |
223 | .reset (reset), | |
224 | .clk (clk), | |
225 | .mac_debug_port (mac_debug_port[31:0]), | |
226 | .blunt_end_loopback (blunt_end_loopback), | |
227 | .mac_pio_ack (mac_pio_ack), | |
228 | .mac_pio_rdata (mac_pio_rdata[63:0]), | |
229 | .mac_pio_err (mac_pio_err), | |
230 | .mac_pio_intr0 (mac_pio_intr0), | |
231 | .mac_pio_intr1 (mac_pio_intr1), | |
232 | .tx_clk_312mhz0 (tx_clk_312mhz0), | |
233 | .tx_heart_beat_timer0 (tx_heart_beat_timer0[3:0]), | |
234 | .rx_heart_beat_timer0 (rx_heart_beat_timer0[3:0]), | |
235 | .mac_txc_req0 (mac_txc_req0), | |
236 | .mac_rxc_ack0 (mac_rxc_ack0), | |
237 | .mac_rxc_tag0 (mac_rxc_tag0), | |
238 | .mac_rxc_data0 (mac_rxc_data0[63:0]), | |
239 | .mac_rxc_ctrl0 (mac_rxc_ctrl0), | |
240 | .mac_rxc_stat0 (mac_rxc_stat0[22:0]), | |
241 | .mdc (mdc), | |
242 | .mdo (mdo), | |
243 | .mdoe (mdoe), | |
244 | .loopback0 (loopback0), | |
245 | .sel_por_loopback_clk0 (sel_por_loopback_clk0), | |
246 | .sel_clk_25mhz0 (sel_clk_25mhz0), | |
247 | .mii_mode0 (mii_mode0), | |
248 | .gmii_mode0 (gmii_mode0), | |
249 | .xgmii_mode0 (xgmii_mode0), | |
250 | .pcs_bypass0 (pcs_bypass0), | |
251 | .xpcs_loopback0 (xpcs_loopback0), | |
252 | .xaui_act_led_0 (xaui_act_led_0), | |
253 | .xaui_link_led_0 (xaui_link_led_0), | |
254 | .tx_clk_312mhz1 (tx_clk_312mhz1), | |
255 | .tx_heart_beat_timer1 (tx_heart_beat_timer1[3:0]), | |
256 | .rx_heart_beat_timer1 (rx_heart_beat_timer1[3:0]), | |
257 | .mac_txc_req1 (mac_txc_req1), | |
258 | .mac_rxc_ack1 (mac_rxc_ack1), | |
259 | .mac_rxc_tag1 (mac_rxc_tag1), | |
260 | .mac_rxc_data1 (mac_rxc_data1[63:0]), | |
261 | .mac_rxc_ctrl1 (mac_rxc_ctrl1), | |
262 | .mac_rxc_stat1 (mac_rxc_stat1[22:0]), | |
263 | .loopback1 (loopback1), | |
264 | .sel_por_loopback_clk1 (sel_por_loopback_clk1), | |
265 | .sel_clk_25mhz1 (sel_clk_25mhz1), | |
266 | .mii_mode1 (mii_mode1), | |
267 | .gmii_mode1 (gmii_mode1), | |
268 | .xgmii_mode1 (xgmii_mode1), | |
269 | .pcs_bypass1 (pcs_bypass1), | |
270 | .xpcs_loopback1 (xpcs_loopback1), | |
271 | .xaui_act_led_1 (xaui_act_led_1), | |
272 | .xaui_link_led_1 (xaui_link_led_1), | |
273 | .mac_esr_txd0_0 (mac_esr_txd0_0[9:0]), | |
274 | .mac_esr_txd1_0 (mac_esr_txd1_0[9:0]), | |
275 | .mac_esr_txd2_0 (mac_esr_txd2_0[9:0]), | |
276 | .mac_esr_txd3_0 (mac_esr_txd3_0[9:0]), | |
277 | .mac_esr_txd0_1 (mac_esr_txd0_1[9:0]), | |
278 | .mac_esr_txd1_1 (mac_esr_txd1_1[9:0]), | |
279 | .mac_esr_txd2_1 (mac_esr_txd2_1[9:0]), | |
280 | .mac_esr_txd3_1 (mac_esr_txd3_1[9:0]), | |
281 | .mif_pio_intr (mif_pio_intr), | |
282 | // Inputs | |
283 | .niu_clk (niu_clk), | |
284 | .niu_reset_l (niu_reset_l), | |
285 | .pio_clients_addr (pio_clients_addr[19:0]), | |
286 | .pio_clients_rd (pio_clients_rd), | |
287 | .pio_clients_wdata (pio_clients_wdata[31:0]), | |
288 | .pio_mac_sel (pio_mac_sel), | |
289 | .mac_reset0 (mac_reset0), | |
290 | .mac_reset1 (mac_reset1), | |
291 | .esr_mac_rclk_0 (esr_mac_rclk_0[3:0]), | |
292 | .tx_clk_muxd0 (tx_clk_muxd0), | |
293 | .tx_nbclk_muxd0 (tx_nbclk_muxd0), | |
294 | .tx_clk_312mhz_muxd0 (tx_clk_312mhz_muxd0), | |
295 | .rx_clk_muxd0 (rx_clk_muxd0), | |
296 | .rx_nbclk_muxd0 (rx_nbclk_muxd0), | |
297 | .txc_mac_ack0 (txc_mac_ack0), | |
298 | .txc_mac_tag0 (txc_mac_tag0), | |
299 | .txc_mac_data0 (txc_mac_data0[63:0]), | |
300 | .txc_mac_stat0 (txc_mac_stat0[3:0]), | |
301 | .txc_mac_abort0 (txc_mac_abort0), | |
302 | .rxc_mac_req0 (rxc_mac_req0), | |
303 | .mdi (mdi), | |
304 | .mdi_0 (mdi_0), | |
305 | .mdi_1 (mdi_1), | |
306 | .rbc0_a_muxd0 (rbc0_a_muxd0), | |
307 | .rbc0_b_muxd0 (rbc0_b_muxd0), | |
308 | .rbc0_c_muxd0 (rbc0_c_muxd0), | |
309 | .rbc0_d_muxd0 (rbc0_d_muxd0), | |
310 | .esr_mac_rclk_1 (esr_mac_rclk_1[3:0]), | |
311 | .tx_clk_muxd1 (tx_clk_muxd1), | |
312 | .tx_nbclk_muxd1 (tx_nbclk_muxd1), | |
313 | .tx_clk_312mhz_muxd1 (tx_clk_312mhz_muxd1), | |
314 | .rx_clk_muxd1 (rx_clk_muxd1), | |
315 | .rx_nbclk_muxd1 (rx_nbclk_muxd1), | |
316 | .txc_mac_ack1 (txc_mac_ack1), | |
317 | .txc_mac_tag1 (txc_mac_tag1), | |
318 | .txc_mac_data1 (txc_mac_data1[63:0]), | |
319 | .txc_mac_stat1 (txc_mac_stat1[3:0]), | |
320 | .txc_mac_abort1 (txc_mac_abort1), | |
321 | .rxc_mac_req1 (rxc_mac_req1), | |
322 | .rbc0_a_muxd1 (rbc0_a_muxd1), | |
323 | .rbc0_b_muxd1 (rbc0_b_muxd1), | |
324 | .rbc0_c_muxd1 (rbc0_c_muxd1), | |
325 | .rbc0_d_muxd1 (rbc0_d_muxd1), | |
326 | .esr_mac_rxd0_0 (esr_mac_rxd0_0[9:0]), | |
327 | .esr_mac_rxd1_0 (esr_mac_rxd1_0[9:0]), | |
328 | .esr_mac_rxd2_0 (esr_mac_rxd2_0[9:0]), | |
329 | .esr_mac_rxd3_0 (esr_mac_rxd3_0[9:0]), | |
330 | .esr_mac_sync_0 (esr_mac_sync_0[3:0]), | |
331 | .esr_mac_los_0 (esr_mac_los_0[3:0]), | |
332 | .esr_mac_oddcg0_0 (esr_mac_oddcg0_0), | |
333 | .esr_mac_rxd0_1 (esr_mac_rxd0_1[9:0]), | |
334 | .esr_mac_rxd1_1 (esr_mac_rxd1_1[9:0]), | |
335 | .esr_mac_rxd2_1 (esr_mac_rxd2_1[9:0]), | |
336 | .esr_mac_rxd3_1 (esr_mac_rxd3_1[9:0]), | |
337 | .esr_mac_sync_1 (esr_mac_sync_1[3:0]), | |
338 | .esr_mac_los_1 (esr_mac_los_1[3:0]), | |
339 | .esr_mac_oddcg0_1 (esr_mac_oddcg0_1)); | |
340 | ||
341 | ||
342 | phy_clock_2ports phy_clock_2ports | |
343 | (/*AUTOINST*/ | |
344 | // Outputs | |
345 | .mac_esr_tclk_0 (mac_esr_tclk_0[3:0]), | |
346 | .tx_nbclk_muxd0 (tx_nbclk_muxd0), | |
347 | .tx_clk_muxd0 (tx_clk_muxd0), | |
348 | .tx_clk_312mhz_muxd0 (tx_clk_312mhz_muxd0), | |
349 | .rx_nbclk_muxd0 (rx_nbclk_muxd0), | |
350 | .rx_clk_muxd0 (rx_clk_muxd0), | |
351 | .rbc0_a_muxd0 (rbc0_a_muxd0), | |
352 | .rbc0_b_muxd0 (rbc0_b_muxd0), | |
353 | .rbc0_c_muxd0 (rbc0_c_muxd0), | |
354 | .rbc0_d_muxd0 (rbc0_d_muxd0), | |
355 | .mac_esr_tclk_1 (mac_esr_tclk_1[3:0]), | |
356 | .tx_nbclk_muxd1 (tx_nbclk_muxd1), | |
357 | .tx_clk_muxd1 (tx_clk_muxd1), | |
358 | .tx_clk_312mhz_muxd1 (tx_clk_312mhz_muxd1), | |
359 | .rx_nbclk_muxd1 (rx_nbclk_muxd1), | |
360 | .rx_clk_muxd1 (rx_clk_muxd1), | |
361 | .rbc0_a_muxd1 (rbc0_a_muxd1), | |
362 | .rbc0_b_muxd1 (rbc0_b_muxd1), | |
363 | .rbc0_c_muxd1 (rbc0_c_muxd1), | |
364 | .rbc0_d_muxd1 (rbc0_d_muxd1), | |
365 | // Inputs | |
366 | .tcu_scan_mode (tcu_scan_mode), | |
367 | .mac_312tx_test_clk (mac_312tx_test_clk), | |
368 | .mac_312rx_test_clk (mac_312rx_test_clk), | |
369 | .mac_156tx_test_clk (mac_156tx_test_clk), | |
370 | .mac_156rx_test_clk (mac_156rx_test_clk), | |
371 | .mac_125tx_test_clk (mac_125tx_test_clk), | |
372 | .mac_125rx_test_clk (mac_125rx_test_clk), | |
373 | .reset (reset), | |
374 | .clk (clk), | |
375 | .blunt_end_loopback (blunt_end_loopback), | |
376 | .loopback0 (loopback0), | |
377 | .sel_por_loopback_clk0 (sel_por_loopback_clk0), | |
378 | .sel_clk_25mhz0 (sel_clk_25mhz0), | |
379 | .mii_mode0 (mii_mode0), | |
380 | .gmii_mode0 (gmii_mode0), | |
381 | .xgmii_mode0 (xgmii_mode0), | |
382 | .pcs_bypass0 (pcs_bypass0), | |
383 | .xpcs_loopback0 (xpcs_loopback0), | |
384 | .tx_heart_beat_timer0 (tx_heart_beat_timer0[3:0]), | |
385 | .rx_heart_beat_timer0 (rx_heart_beat_timer0[3:0]), | |
386 | .esr_mac_rclk_0 (esr_mac_rclk_0[3:0]), | |
387 | .esr_mac_tclk_0 (esr_mac_tclk_0[3:0]), | |
388 | .tx_clk_312mhz0 (tx_clk_312mhz0), | |
389 | .loopback1 (loopback1), | |
390 | .sel_por_loopback_clk1 (sel_por_loopback_clk1), | |
391 | .sel_clk_25mhz1 (sel_clk_25mhz1), | |
392 | .mii_mode1 (mii_mode1), | |
393 | .gmii_mode1 (gmii_mode1), | |
394 | .xgmii_mode1 (xgmii_mode1), | |
395 | .pcs_bypass1 (pcs_bypass1), | |
396 | .xpcs_loopback1 (xpcs_loopback1), | |
397 | .tx_heart_beat_timer1 (tx_heart_beat_timer1[3:0]), | |
398 | .rx_heart_beat_timer1 (rx_heart_beat_timer1[3:0]), | |
399 | .esr_mac_rclk_1 (esr_mac_rclk_1[3:0]), | |
400 | .esr_mac_tclk_1 (esr_mac_tclk_1[3:0]), | |
401 | .tx_clk_312mhz1 (tx_clk_312mhz1)); | |
402 | ||
403 | ||
404 | ||
405 | endmodule // mac2 | |
406 | ||
407 | ||
408 | ||
409 | ||
410 |