1 |
9 |
jefflieu |
/*
|
2 |
|
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
3 |
|
|
editor if you plan to continue editing the block that represents it in
|
4 |
|
|
the Block Editor! File corruption is VERY likely to occur.
|
5 |
|
|
*/
|
6 |
|
|
/*
|
7 |
|
|
Copyright (C) 1991-2011 Altera Corporation
|
8 |
|
|
Your use of Altera Corporation's design tools, logic functions
|
9 |
|
|
and other software and tools, and its AMPP partner logic
|
10 |
|
|
functions, and any output files from any of the foregoing
|
11 |
|
|
(including device programming or simulation files), and any
|
12 |
|
|
associated documentation or information are expressly subject
|
13 |
|
|
to the terms and conditions of the Altera Program License
|
14 |
|
|
Subscription Agreement, Altera MegaCore Function License
|
15 |
|
|
Agreement, or other applicable license agreement, including,
|
16 |
|
|
without limitation, that your use is for the sole purpose of
|
17 |
|
|
programming logic devices manufactured by Altera and sold by
|
18 |
|
|
Altera or its authorized distributors. Please refer to the
|
19 |
|
|
applicable agreement for further details.
|
20 |
|
|
*/
|
21 |
|
|
(header "symbol" (version "1.1"))
|
22 |
|
|
(symbol
|
23 |
|
|
(rect 16 16 376 528)
|
24 |
|
|
(text "sgmii" (rect 5 0 40 12)(font "Arial" ))
|
25 |
|
|
(text "inst" (rect 8 496 36 508)(font "Arial" ))
|
26 |
|
|
(port
|
27 |
|
|
(pt 0 32)
|
28 |
|
|
(input)
|
29 |
|
|
(text "gmii_tx_d[7..0]" (rect 0 0 106 12)(font "Arial" ))
|
30 |
|
|
(text "gmii_tx_d[7..0]" (rect 21 27 127 39)(font "Arial" ))
|
31 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
32 |
|
|
)
|
33 |
|
|
(port
|
34 |
|
|
(pt 0 48)
|
35 |
|
|
(input)
|
36 |
|
|
(text "gmii_tx_en" (rect 0 0 70 12)(font "Arial" ))
|
37 |
|
|
(text "gmii_tx_en" (rect 21 43 91 55)(font "Arial" ))
|
38 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
39 |
|
|
)
|
40 |
|
|
(port
|
41 |
|
|
(pt 0 64)
|
42 |
|
|
(input)
|
43 |
|
|
(text "gmii_tx_err" (rect 0 0 77 12)(font "Arial" ))
|
44 |
|
|
(text "gmii_tx_err" (rect 21 59 98 71)(font "Arial" ))
|
45 |
|
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
46 |
|
|
)
|
47 |
|
|
(port
|
48 |
|
|
(pt 0 80)
|
49 |
|
|
(input)
|
50 |
|
|
(text "mii_tx_d[3..0]" (rect 0 0 99 12)(font "Arial" ))
|
51 |
|
|
(text "mii_tx_d[3..0]" (rect 21 75 120 87)(font "Arial" ))
|
52 |
|
|
(line (pt 0 80)(pt 16 80)(line_width 3))
|
53 |
|
|
)
|
54 |
|
|
(port
|
55 |
|
|
(pt 0 96)
|
56 |
|
|
(input)
|
57 |
|
|
(text "mii_tx_en" (rect 0 0 63 12)(font "Arial" ))
|
58 |
|
|
(text "mii_tx_en" (rect 21 91 84 103)(font "Arial" ))
|
59 |
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
60 |
|
|
)
|
61 |
|
|
(port
|
62 |
|
|
(pt 0 112)
|
63 |
|
|
(input)
|
64 |
|
|
(text "mii_tx_err" (rect 0 0 70 12)(font "Arial" ))
|
65 |
|
|
(text "mii_tx_err" (rect 21 107 91 119)(font "Arial" ))
|
66 |
|
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
67 |
|
|
)
|
68 |
|
|
(port
|
69 |
|
|
(pt 0 128)
|
70 |
|
|
(input)
|
71 |
|
|
(text "reset_tx_clk" (rect 0 0 84 12)(font "Arial" ))
|
72 |
|
|
(text "reset_tx_clk" (rect 21 123 105 135)(font "Arial" ))
|
73 |
|
|
(line (pt 0 128)(pt 16 128)(line_width 1))
|
74 |
|
|
)
|
75 |
|
|
(port
|
76 |
|
|
(pt 0 144)
|
77 |
|
|
(input)
|
78 |
|
|
(text "reset_rx_clk" (rect 0 0 84 12)(font "Arial" ))
|
79 |
|
|
(text "reset_rx_clk" (rect 21 139 105 151)(font "Arial" ))
|
80 |
|
|
(line (pt 0 144)(pt 16 144)(line_width 1))
|
81 |
|
|
)
|
82 |
|
|
(port
|
83 |
|
|
(pt 0 160)
|
84 |
|
|
(input)
|
85 |
|
|
(text "address[4..0]" (rect 0 0 92 12)(font "Arial" ))
|
86 |
|
|
(text "address[4..0]" (rect 21 155 113 167)(font "Arial" ))
|
87 |
|
|
(line (pt 0 160)(pt 16 160)(line_width 3))
|
88 |
|
|
)
|
89 |
|
|
(port
|
90 |
|
|
(pt 0 176)
|
91 |
|
|
(input)
|
92 |
|
|
(text "read" (rect 0 0 28 12)(font "Arial" ))
|
93 |
|
|
(text "read" (rect 21 171 49 183)(font "Arial" ))
|
94 |
|
|
(line (pt 0 176)(pt 16 176)(line_width 1))
|
95 |
|
|
)
|
96 |
|
|
(port
|
97 |
|
|
(pt 0 192)
|
98 |
|
|
(input)
|
99 |
|
|
(text "writedata[15..0]" (rect 0 0 113 12)(font "Arial" ))
|
100 |
|
|
(text "writedata[15..0]" (rect 21 187 134 199)(font "Arial" ))
|
101 |
|
|
(line (pt 0 192)(pt 16 192)(line_width 3))
|
102 |
|
|
)
|
103 |
|
|
(port
|
104 |
|
|
(pt 0 208)
|
105 |
|
|
(input)
|
106 |
|
|
(text "write" (rect 0 0 35 12)(font "Arial" ))
|
107 |
|
|
(text "write" (rect 21 203 56 215)(font "Arial" ))
|
108 |
|
|
(line (pt 0 208)(pt 16 208)(line_width 1))
|
109 |
|
|
)
|
110 |
|
|
(port
|
111 |
|
|
(pt 0 224)
|
112 |
|
|
(input)
|
113 |
|
|
(text "clk" (rect 0 0 21 12)(font "Arial" ))
|
114 |
|
|
(text "clk" (rect 21 219 42 231)(font "Arial" ))
|
115 |
|
|
(line (pt 0 224)(pt 16 224)(line_width 1))
|
116 |
|
|
)
|
117 |
|
|
(port
|
118 |
|
|
(pt 0 240)
|
119 |
|
|
(input)
|
120 |
|
|
(text "reset" (rect 0 0 35 12)(font "Arial" ))
|
121 |
|
|
(text "reset" (rect 21 235 56 247)(font "Arial" ))
|
122 |
|
|
(line (pt 0 240)(pt 16 240)(line_width 1))
|
123 |
|
|
)
|
124 |
|
|
(port
|
125 |
|
|
(pt 0 256)
|
126 |
|
|
(input)
|
127 |
|
|
(text "rxp" (rect 0 0 21 12)(font "Arial" ))
|
128 |
|
|
(text "rxp" (rect 21 251 42 263)(font "Arial" ))
|
129 |
|
|
(line (pt 0 256)(pt 16 256)(line_width 1))
|
130 |
|
|
)
|
131 |
|
|
(port
|
132 |
|
|
(pt 0 272)
|
133 |
|
|
(input)
|
134 |
|
|
(text "ref_clk" (rect 0 0 49 12)(font "Arial" ))
|
135 |
|
|
(text "ref_clk" (rect 21 267 70 279)(font "Arial" ))
|
136 |
|
|
(line (pt 0 272)(pt 16 272)(line_width 1))
|
137 |
|
|
)
|
138 |
|
|
(port
|
139 |
|
|
(pt 0 288)
|
140 |
|
|
(input)
|
141 |
|
|
(text "gxb_pwrdn_in" (rect 0 0 84 12)(font "Arial" ))
|
142 |
|
|
(text "gxb_pwrdn_in" (rect 21 283 105 295)(font "Arial" ))
|
143 |
|
|
(line (pt 0 288)(pt 16 288)(line_width 1))
|
144 |
|
|
)
|
145 |
|
|
(port
|
146 |
|
|
(pt 0 304)
|
147 |
|
|
(input)
|
148 |
|
|
(text "gxb_cal_blk_clk" (rect 0 0 106 12)(font "Arial" ))
|
149 |
|
|
(text "gxb_cal_blk_clk" (rect 21 299 127 311)(font "Arial" ))
|
150 |
|
|
(line (pt 0 304)(pt 16 304)(line_width 1))
|
151 |
|
|
)
|
152 |
|
|
(port
|
153 |
|
|
(pt 0 320)
|
154 |
|
|
(input)
|
155 |
|
|
(text "reconfig_clk" (rect 0 0 84 12)(font "Arial" ))
|
156 |
|
|
(text "reconfig_clk" (rect 21 315 105 327)(font "Arial" ))
|
157 |
|
|
(line (pt 0 320)(pt 16 320)(line_width 1))
|
158 |
|
|
)
|
159 |
|
|
(port
|
160 |
|
|
(pt 0 336)
|
161 |
|
|
(input)
|
162 |
|
|
(text "reconfig_togxb[3..0]" (rect 0 0 141 12)(font "Arial" ))
|
163 |
|
|
(text "reconfig_togxb[3..0]" (rect 21 331 162 343)(font "Arial" ))
|
164 |
|
|
(line (pt 0 336)(pt 16 336)(line_width 3))
|
165 |
|
|
)
|
166 |
|
|
(port
|
167 |
|
|
(pt 0 352)
|
168 |
|
|
(input)
|
169 |
|
|
(text "reconfig_busy" (rect 0 0 92 12)(font "Arial" ))
|
170 |
|
|
(text "reconfig_busy" (rect 21 347 113 359)(font "Arial" ))
|
171 |
|
|
(line (pt 0 352)(pt 16 352)(line_width 1))
|
172 |
|
|
)
|
173 |
|
|
(port
|
174 |
|
|
(pt 360 32)
|
175 |
|
|
(output)
|
176 |
|
|
(text "gmii_rx_d[7..0]" (rect 0 0 106 12)(font "Arial" ))
|
177 |
|
|
(text "gmii_rx_d[7..0]" (rect 233 27 339 39)(font "Arial" ))
|
178 |
|
|
(line (pt 360 32)(pt 344 32)(line_width 3))
|
179 |
|
|
)
|
180 |
|
|
(port
|
181 |
|
|
(pt 360 48)
|
182 |
|
|
(output)
|
183 |
|
|
(text "gmii_rx_dv" (rect 0 0 70 12)(font "Arial" ))
|
184 |
|
|
(text "gmii_rx_dv" (rect 269 43 339 55)(font "Arial" ))
|
185 |
|
|
(line (pt 360 48)(pt 344 48)(line_width 1))
|
186 |
|
|
)
|
187 |
|
|
(port
|
188 |
|
|
(pt 360 64)
|
189 |
|
|
(output)
|
190 |
|
|
(text "gmii_rx_err" (rect 0 0 77 12)(font "Arial" ))
|
191 |
|
|
(text "gmii_rx_err" (rect 262 59 339 71)(font "Arial" ))
|
192 |
|
|
(line (pt 360 64)(pt 344 64)(line_width 1))
|
193 |
|
|
)
|
194 |
|
|
(port
|
195 |
|
|
(pt 360 80)
|
196 |
|
|
(output)
|
197 |
|
|
(text "tx_clk" (rect 0 0 42 12)(font "Arial" ))
|
198 |
|
|
(text "tx_clk" (rect 297 75 339 87)(font "Arial" ))
|
199 |
|
|
(line (pt 360 80)(pt 344 80)(line_width 1))
|
200 |
|
|
)
|
201 |
|
|
(port
|
202 |
|
|
(pt 360 96)
|
203 |
|
|
(output)
|
204 |
|
|
(text "rx_clk" (rect 0 0 42 12)(font "Arial" ))
|
205 |
|
|
(text "rx_clk" (rect 297 91 339 103)(font "Arial" ))
|
206 |
|
|
(line (pt 360 96)(pt 344 96)(line_width 1))
|
207 |
|
|
)
|
208 |
|
|
(port
|
209 |
|
|
(pt 360 112)
|
210 |
|
|
(output)
|
211 |
|
|
(text "mii_rx_d[3..0]" (rect 0 0 99 12)(font "Arial" ))
|
212 |
|
|
(text "mii_rx_d[3..0]" (rect 240 107 339 119)(font "Arial" ))
|
213 |
|
|
(line (pt 360 112)(pt 344 112)(line_width 3))
|
214 |
|
|
)
|
215 |
|
|
(port
|
216 |
|
|
(pt 360 128)
|
217 |
|
|
(output)
|
218 |
|
|
(text "mii_rx_dv" (rect 0 0 63 12)(font "Arial" ))
|
219 |
|
|
(text "mii_rx_dv" (rect 276 123 339 135)(font "Arial" ))
|
220 |
|
|
(line (pt 360 128)(pt 344 128)(line_width 1))
|
221 |
|
|
)
|
222 |
|
|
(port
|
223 |
|
|
(pt 360 144)
|
224 |
|
|
(output)
|
225 |
|
|
(text "mii_rx_err" (rect 0 0 70 12)(font "Arial" ))
|
226 |
|
|
(text "mii_rx_err" (rect 269 139 339 151)(font "Arial" ))
|
227 |
|
|
(line (pt 360 144)(pt 344 144)(line_width 1))
|
228 |
|
|
)
|
229 |
|
|
(port
|
230 |
|
|
(pt 360 160)
|
231 |
|
|
(output)
|
232 |
|
|
(text "mii_col" (rect 0 0 49 12)(font "Arial" ))
|
233 |
|
|
(text "mii_col" (rect 290 155 339 167)(font "Arial" ))
|
234 |
|
|
(line (pt 360 160)(pt 344 160)(line_width 1))
|
235 |
|
|
)
|
236 |
|
|
(port
|
237 |
|
|
(pt 360 176)
|
238 |
|
|
(output)
|
239 |
|
|
(text "mii_crs" (rect 0 0 49 12)(font "Arial" ))
|
240 |
|
|
(text "mii_crs" (rect 290 171 339 183)(font "Arial" ))
|
241 |
|
|
(line (pt 360 176)(pt 344 176)(line_width 1))
|
242 |
|
|
)
|
243 |
|
|
(port
|
244 |
|
|
(pt 360 192)
|
245 |
|
|
(output)
|
246 |
|
|
(text "set_10" (rect 0 0 42 12)(font "Arial" ))
|
247 |
|
|
(text "set_10" (rect 297 187 339 199)(font "Arial" ))
|
248 |
|
|
(line (pt 360 192)(pt 344 192)(line_width 1))
|
249 |
|
|
)
|
250 |
|
|
(port
|
251 |
|
|
(pt 360 208)
|
252 |
|
|
(output)
|
253 |
|
|
(text "set_100" (rect 0 0 49 12)(font "Arial" ))
|
254 |
|
|
(text "set_100" (rect 290 203 339 215)(font "Arial" ))
|
255 |
|
|
(line (pt 360 208)(pt 344 208)(line_width 1))
|
256 |
|
|
)
|
257 |
|
|
(port
|
258 |
|
|
(pt 360 224)
|
259 |
|
|
(output)
|
260 |
|
|
(text "set_1000" (rect 0 0 56 12)(font "Arial" ))
|
261 |
|
|
(text "set_1000" (rect 283 219 339 231)(font "Arial" ))
|
262 |
|
|
(line (pt 360 224)(pt 344 224)(line_width 1))
|
263 |
|
|
)
|
264 |
|
|
(port
|
265 |
|
|
(pt 360 240)
|
266 |
|
|
(output)
|
267 |
|
|
(text "hd_ena" (rect 0 0 42 12)(font "Arial" ))
|
268 |
|
|
(text "hd_ena" (rect 297 235 339 247)(font "Arial" ))
|
269 |
|
|
(line (pt 360 240)(pt 344 240)(line_width 1))
|
270 |
|
|
)
|
271 |
|
|
(port
|
272 |
|
|
(pt 360 256)
|
273 |
|
|
(output)
|
274 |
|
|
(text "led_col" (rect 0 0 49 12)(font "Arial" ))
|
275 |
|
|
(text "led_col" (rect 290 251 339 263)(font "Arial" ))
|
276 |
|
|
(line (pt 360 256)(pt 344 256)(line_width 1))
|
277 |
|
|
)
|
278 |
|
|
(port
|
279 |
|
|
(pt 360 272)
|
280 |
|
|
(output)
|
281 |
|
|
(text "led_crs" (rect 0 0 49 12)(font "Arial" ))
|
282 |
|
|
(text "led_crs" (rect 290 267 339 279)(font "Arial" ))
|
283 |
|
|
(line (pt 360 272)(pt 344 272)(line_width 1))
|
284 |
|
|
)
|
285 |
|
|
(port
|
286 |
|
|
(pt 360 288)
|
287 |
|
|
(output)
|
288 |
|
|
(text "led_an" (rect 0 0 42 12)(font "Arial" ))
|
289 |
|
|
(text "led_an" (rect 297 283 339 295)(font "Arial" ))
|
290 |
|
|
(line (pt 360 288)(pt 344 288)(line_width 1))
|
291 |
|
|
)
|
292 |
|
|
(port
|
293 |
|
|
(pt 360 304)
|
294 |
|
|
(output)
|
295 |
|
|
(text "led_disp_err" (rect 0 0 84 12)(font "Arial" ))
|
296 |
|
|
(text "led_disp_err" (rect 255 299 339 311)(font "Arial" ))
|
297 |
|
|
(line (pt 360 304)(pt 344 304)(line_width 1))
|
298 |
|
|
)
|
299 |
|
|
(port
|
300 |
|
|
(pt 360 320)
|
301 |
|
|
(output)
|
302 |
|
|
(text "led_char_err" (rect 0 0 84 12)(font "Arial" ))
|
303 |
|
|
(text "led_char_err" (rect 255 315 339 327)(font "Arial" ))
|
304 |
|
|
(line (pt 360 320)(pt 344 320)(line_width 1))
|
305 |
|
|
)
|
306 |
|
|
(port
|
307 |
|
|
(pt 360 336)
|
308 |
|
|
(output)
|
309 |
|
|
(text "led_link" (rect 0 0 56 12)(font "Arial" ))
|
310 |
|
|
(text "led_link" (rect 283 331 339 343)(font "Arial" ))
|
311 |
|
|
(line (pt 360 336)(pt 344 336)(line_width 1))
|
312 |
|
|
)
|
313 |
|
|
(port
|
314 |
|
|
(pt 360 352)
|
315 |
|
|
(output)
|
316 |
|
|
(text "tx_clkena" (rect 0 0 63 12)(font "Arial" ))
|
317 |
|
|
(text "tx_clkena" (rect 276 347 339 359)(font "Arial" ))
|
318 |
|
|
(line (pt 360 352)(pt 344 352)(line_width 1))
|
319 |
|
|
)
|
320 |
|
|
(port
|
321 |
|
|
(pt 360 368)
|
322 |
|
|
(output)
|
323 |
|
|
(text "rx_clkena" (rect 0 0 63 12)(font "Arial" ))
|
324 |
|
|
(text "rx_clkena" (rect 276 363 339 375)(font "Arial" ))
|
325 |
|
|
(line (pt 360 368)(pt 344 368)(line_width 1))
|
326 |
|
|
)
|
327 |
|
|
(port
|
328 |
|
|
(pt 360 384)
|
329 |
|
|
(output)
|
330 |
|
|
(text "rx_recovclkout" (rect 0 0 99 12)(font "Arial" ))
|
331 |
|
|
(text "rx_recovclkout" (rect 240 379 339 391)(font "Arial" ))
|
332 |
|
|
(line (pt 360 384)(pt 344 384)(line_width 1))
|
333 |
|
|
)
|
334 |
|
|
(port
|
335 |
|
|
(pt 360 400)
|
336 |
|
|
(output)
|
337 |
|
|
(text "readdata[15..0]" (rect 0 0 106 12)(font "Arial" ))
|
338 |
|
|
(text "readdata[15..0]" (rect 233 395 339 407)(font "Arial" ))
|
339 |
|
|
(line (pt 360 400)(pt 344 400)(line_width 3))
|
340 |
|
|
)
|
341 |
|
|
(port
|
342 |
|
|
(pt 360 416)
|
343 |
|
|
(output)
|
344 |
|
|
(text "waitrequest" (rect 0 0 77 12)(font "Arial" ))
|
345 |
|
|
(text "waitrequest" (rect 262 411 339 423)(font "Arial" ))
|
346 |
|
|
(line (pt 360 416)(pt 344 416)(line_width 1))
|
347 |
|
|
)
|
348 |
|
|
(port
|
349 |
|
|
(pt 360 432)
|
350 |
|
|
(output)
|
351 |
|
|
(text "txp" (rect 0 0 21 12)(font "Arial" ))
|
352 |
|
|
(text "txp" (rect 318 427 339 439)(font "Arial" ))
|
353 |
|
|
(line (pt 360 432)(pt 344 432)(line_width 1))
|
354 |
|
|
)
|
355 |
|
|
(port
|
356 |
|
|
(pt 360 448)
|
357 |
|
|
(output)
|
358 |
|
|
(text "pcs_pwrdn_out" (rect 0 0 92 12)(font "Arial" ))
|
359 |
|
|
(text "pcs_pwrdn_out" (rect 247 443 339 455)(font "Arial" ))
|
360 |
|
|
(line (pt 360 448)(pt 344 448)(line_width 1))
|
361 |
|
|
)
|
362 |
|
|
(port
|
363 |
|
|
(pt 360 464)
|
364 |
|
|
(output)
|
365 |
|
|
(text "reconfig_fromgxb[16..0]" (rect 0 0 162 12)(font "Arial" ))
|
366 |
|
|
(text "reconfig_fromgxb[16..0]" (rect 177 459 339 471)(font "Arial" ))
|
367 |
|
|
(line (pt 360 464)(pt 344 464)(line_width 3))
|
368 |
|
|
)
|
369 |
|
|
(drawing
|
370 |
|
|
(rectangle (rect 16 16 344 496)(line_width 1))
|
371 |
|
|
)
|
372 |
|
|
)
|