1 |
2 |
atalla |
/*
|
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-2007 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 |
|
|
//#pragma file_not_in_maxplusii_format
|
22 |
|
|
(header "graphic" (version "1.3"))
|
23 |
|
|
(pin
|
24 |
|
|
(input)
|
25 |
|
|
(rect 448 392 616 408)
|
26 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
27 |
|
|
(text "in_data[63..0]" (rect 5 0 72 12)(font "Arial" ))
|
28 |
|
|
(pt 168 8)
|
29 |
|
|
(drawing
|
30 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
31 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
32 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
33 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
34 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
35 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
36 |
|
|
)
|
37 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
38 |
|
|
)
|
39 |
|
|
(pin
|
40 |
|
|
(input)
|
41 |
|
|
(rect 448 408 616 424)
|
42 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
43 |
|
|
(text "in_ctrl[7..0]" (rect 5 0 60 12)(font "Arial" ))
|
44 |
|
|
(pt 168 8)
|
45 |
|
|
(drawing
|
46 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
47 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
48 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
49 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
50 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
51 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
52 |
|
|
)
|
53 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
54 |
|
|
)
|
55 |
|
|
(pin
|
56 |
|
|
(input)
|
57 |
|
|
(rect 448 424 616 440)
|
58 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
59 |
|
|
(text "in_wr" (rect 5 0 29 12)(font "Arial" ))
|
60 |
|
|
(pt 168 8)
|
61 |
|
|
(drawing
|
62 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
63 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
64 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
65 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
66 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
67 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
68 |
|
|
)
|
69 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
70 |
|
|
)
|
71 |
|
|
(pin
|
72 |
|
|
(input)
|
73 |
|
|
(rect 448 440 616 456)
|
74 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
75 |
|
|
(text "in_rd" (rect 5 0 28 12)(font "Arial" ))
|
76 |
|
|
(pt 168 8)
|
77 |
|
|
(drawing
|
78 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
79 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
80 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
81 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
82 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
83 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
84 |
|
|
)
|
85 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
86 |
|
|
)
|
87 |
|
|
(pin
|
88 |
|
|
(input)
|
89 |
|
|
(rect 448 456 616 472)
|
90 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
91 |
|
|
(text "in_key[9..0]" (rect 5 0 64 12)(font "Arial" ))
|
92 |
|
|
(pt 168 8)
|
93 |
|
|
(drawing
|
94 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
95 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
96 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
97 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
98 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
99 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
100 |
|
|
)
|
101 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
102 |
|
|
)
|
103 |
|
|
(pin
|
104 |
|
|
(input)
|
105 |
|
|
(rect 448 472 616 488)
|
106 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
107 |
|
|
(text "out_rdy" (rect 5 0 42 12)(font "Arial" ))
|
108 |
|
|
(pt 168 8)
|
109 |
|
|
(drawing
|
110 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
111 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
112 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
113 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
114 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
115 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
116 |
|
|
)
|
117 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
118 |
|
|
)
|
119 |
|
|
(pin
|
120 |
|
|
(input)
|
121 |
|
|
(rect 448 504 616 520)
|
122 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
123 |
|
|
(text "reset" (rect 5 0 29 12)(font "Arial" ))
|
124 |
|
|
(pt 168 8)
|
125 |
|
|
(drawing
|
126 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
127 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
128 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
129 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
130 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
131 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
132 |
|
|
)
|
133 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
134 |
|
|
)
|
135 |
|
|
(pin
|
136 |
|
|
(input)
|
137 |
|
|
(rect 448 520 616 536)
|
138 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
139 |
|
|
(text "clk" (rect 5 0 19 12)(font "Arial" ))
|
140 |
|
|
(pt 168 8)
|
141 |
|
|
(drawing
|
142 |
|
|
(line (pt 92 12)(pt 117 12)(line_width 1))
|
143 |
|
|
(line (pt 92 4)(pt 117 4)(line_width 1))
|
144 |
|
|
(line (pt 121 8)(pt 168 8)(line_width 1))
|
145 |
|
|
(line (pt 92 12)(pt 92 4)(line_width 1))
|
146 |
|
|
(line (pt 117 4)(pt 121 8)(line_width 1))
|
147 |
|
|
(line (pt 117 12)(pt 121 8)(line_width 1))
|
148 |
|
|
)
|
149 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
150 |
|
|
)
|
151 |
|
|
(pin
|
152 |
|
|
(output)
|
153 |
|
|
(rect 808 392 984 408)
|
154 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
155 |
|
|
(text "in_rdy" (rect 90 0 120 12)(font "Arial" ))
|
156 |
|
|
(pt 0 8)
|
157 |
|
|
(drawing
|
158 |
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
159 |
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
160 |
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
161 |
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
162 |
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
163 |
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
164 |
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
165 |
|
|
)
|
166 |
|
|
)
|
167 |
|
|
(pin
|
168 |
|
|
(output)
|
169 |
|
|
(rect 808 408 984 424)
|
170 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
171 |
|
|
(text "out_mac[47..0]" (rect 90 0 164 12)(font "Arial" ))
|
172 |
|
|
(pt 0 8)
|
173 |
|
|
(drawing
|
174 |
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
175 |
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
176 |
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
177 |
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
178 |
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
179 |
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
180 |
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
181 |
|
|
)
|
182 |
|
|
)
|
183 |
|
|
(pin
|
184 |
|
|
(output)
|
185 |
|
|
(rect 808 424 984 440)
|
186 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
187 |
|
|
(text "out_port[7..0]" (rect 90 0 156 12)(font "Arial" ))
|
188 |
|
|
(pt 0 8)
|
189 |
|
|
(drawing
|
190 |
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
191 |
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
192 |
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
193 |
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
194 |
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
195 |
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
196 |
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
197 |
|
|
)
|
198 |
|
|
)
|
199 |
|
|
(pin
|
200 |
|
|
(output)
|
201 |
|
|
(rect 808 440 984 456)
|
202 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
203 |
|
|
(text "out_rd_rdy" (rect 90 0 143 12)(font "Arial" ))
|
204 |
|
|
(pt 0 8)
|
205 |
|
|
(drawing
|
206 |
|
|
(line (pt 0 8)(pt 52 8)(line_width 1))
|
207 |
|
|
(line (pt 52 4)(pt 78 4)(line_width 1))
|
208 |
|
|
(line (pt 52 12)(pt 78 12)(line_width 1))
|
209 |
|
|
(line (pt 52 12)(pt 52 4)(line_width 1))
|
210 |
|
|
(line (pt 78 4)(pt 82 8)(line_width 1))
|
211 |
|
|
(line (pt 82 8)(pt 78 12)(line_width 1))
|
212 |
|
|
(line (pt 78 12)(pt 82 8)(line_width 1))
|
213 |
|
|
)
|
214 |
|
|
)
|
215 |
|
|
(symbol
|
216 |
|
|
(rect 616 368 808 560)
|
217 |
|
|
(text "manager" (rect 5 0 47 12)(font "Arial" ))
|
218 |
|
|
(text "inst" (rect 8 176 25 188)(font "Arial" ))
|
219 |
|
|
(port
|
220 |
|
|
(pt 0 32)
|
221 |
|
|
(input)
|
222 |
|
|
(text "in_data[63..0]" (rect 0 0 67 12)(font "Arial" ))
|
223 |
|
|
(text "in_data[63..0]" (rect 21 27 88 39)(font "Arial" ))
|
224 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
225 |
|
|
)
|
226 |
|
|
(port
|
227 |
|
|
(pt 0 48)
|
228 |
|
|
(input)
|
229 |
|
|
(text "in_ctrl[7..0]" (rect 0 0 55 12)(font "Arial" ))
|
230 |
|
|
(text "in_ctrl[7..0]" (rect 21 43 76 55)(font "Arial" ))
|
231 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
232 |
|
|
)
|
233 |
|
|
(port
|
234 |
|
|
(pt 0 64)
|
235 |
|
|
(input)
|
236 |
|
|
(text "in_wr" (rect 0 0 24 12)(font "Arial" ))
|
237 |
|
|
(text "in_wr" (rect 21 59 45 71)(font "Arial" ))
|
238 |
|
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
239 |
|
|
)
|
240 |
|
|
(port
|
241 |
|
|
(pt 0 80)
|
242 |
|
|
(input)
|
243 |
|
|
(text "in_rd" (rect 0 0 23 12)(font "Arial" ))
|
244 |
|
|
(text "in_rd" (rect 21 75 44 87)(font "Arial" ))
|
245 |
|
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
246 |
|
|
)
|
247 |
|
|
(port
|
248 |
|
|
(pt 0 96)
|
249 |
|
|
(input)
|
250 |
|
|
(text "in_key[9..0]" (rect 0 0 59 12)(font "Arial" ))
|
251 |
|
|
(text "in_key[9..0]" (rect 21 91 80 103)(font "Arial" ))
|
252 |
|
|
(line (pt 0 96)(pt 16 96)(line_width 3))
|
253 |
|
|
)
|
254 |
|
|
(port
|
255 |
|
|
(pt 0 112)
|
256 |
|
|
(input)
|
257 |
|
|
(text "out_rdy" (rect 0 0 37 12)(font "Arial" ))
|
258 |
|
|
(text "out_rdy" (rect 21 107 58 119)(font "Arial" ))
|
259 |
|
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
260 |
|
|
)
|
261 |
|
|
(port
|
262 |
|
|
(pt 0 128)
|
263 |
|
|
(input)
|
264 |
|
|
(text "en" (rect 0 0 11 12)(font "Arial" ))
|
265 |
|
|
(text "en" (rect 21 123 32 135)(font "Arial" ))
|
266 |
|
|
(line (pt 0 128)(pt 16 128)(line_width 1))
|
267 |
|
|
)
|
268 |
|
|
(port
|
269 |
|
|
(pt 0 144)
|
270 |
|
|
(input)
|
271 |
|
|
(text "reset" (rect 0 0 24 12)(font "Arial" ))
|
272 |
|
|
(text "reset" (rect 21 139 45 151)(font "Arial" ))
|
273 |
|
|
(line (pt 0 144)(pt 16 144)(line_width 1))
|
274 |
|
|
)
|
275 |
|
|
(port
|
276 |
|
|
(pt 0 160)
|
277 |
|
|
(input)
|
278 |
|
|
(text "clk" (rect 0 0 14 12)(font "Arial" ))
|
279 |
|
|
(text "clk" (rect 21 155 35 167)(font "Arial" ))
|
280 |
|
|
(line (pt 0 160)(pt 16 160)(line_width 1))
|
281 |
|
|
)
|
282 |
|
|
(port
|
283 |
|
|
(pt 192 32)
|
284 |
|
|
(output)
|
285 |
|
|
(text "in_rdy" (rect 0 0 30 12)(font "Arial" ))
|
286 |
|
|
(text "in_rdy" (rect 141 27 171 39)(font "Arial" ))
|
287 |
|
|
(line (pt 192 32)(pt 176 32)(line_width 1))
|
288 |
|
|
)
|
289 |
|
|
(port
|
290 |
|
|
(pt 192 48)
|
291 |
|
|
(output)
|
292 |
|
|
(text "out_mac[47..0]" (rect 0 0 74 12)(font "Arial" ))
|
293 |
|
|
(text "out_mac[47..0]" (rect 97 43 171 55)(font "Arial" ))
|
294 |
|
|
(line (pt 192 48)(pt 176 48)(line_width 3))
|
295 |
|
|
)
|
296 |
|
|
(port
|
297 |
|
|
(pt 192 64)
|
298 |
|
|
(output)
|
299 |
|
|
(text "out_port[7..0]" (rect 0 0 66 12)(font "Arial" ))
|
300 |
|
|
(text "out_port[7..0]" (rect 105 59 171 71)(font "Arial" ))
|
301 |
|
|
(line (pt 192 64)(pt 176 64)(line_width 3))
|
302 |
|
|
)
|
303 |
|
|
(port
|
304 |
|
|
(pt 192 80)
|
305 |
|
|
(output)
|
306 |
|
|
(text "out_rd_rdy" (rect 0 0 53 12)(font "Arial" ))
|
307 |
|
|
(text "out_rd_rdy" (rect 118 75 171 87)(font "Arial" ))
|
308 |
|
|
(line (pt 192 80)(pt 176 80)(line_width 1))
|
309 |
|
|
)
|
310 |
|
|
(parameter
|
311 |
|
|
"DATA_WIDTH"
|
312 |
|
|
"64"
|
313 |
|
|
""
|
314 |
|
|
)
|
315 |
|
|
(parameter
|
316 |
|
|
"CTRL_WIDTH"
|
317 |
|
|
"8"
|
318 |
|
|
""
|
319 |
|
|
)
|
320 |
|
|
(drawing
|
321 |
|
|
(rectangle (rect 16 16 176 176)(line_width 1))
|
322 |
|
|
)
|
323 |
|
|
(annotation_block (parameter)(rect 808 320 920 368))
|
324 |
|
|
)
|
325 |
|
|
(symbol
|
326 |
|
|
(rect 392 472 424 488)
|
327 |
|
|
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
|
328 |
|
|
(text "inst1" (rect 3 5 26 17)(font "Arial" )(invisible))
|
329 |
|
|
(port
|
330 |
|
|
(pt 16 16)
|
331 |
|
|
(output)
|
332 |
|
|
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
|
333 |
|
|
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
|
334 |
|
|
(line (pt 16 16)(pt 16 8)(line_width 1))
|
335 |
|
|
)
|
336 |
|
|
(drawing
|
337 |
|
|
(line (pt 8 8)(pt 24 8)(line_width 1))
|
338 |
|
|
)
|
339 |
|
|
)
|
340 |
|
|
(connector
|
341 |
|
|
(pt 408 488)
|
342 |
|
|
(pt 408 496)
|
343 |
|
|
)
|
344 |
|
|
(connector
|
345 |
|
|
(pt 408 496)
|
346 |
|
|
(pt 616 496)
|
347 |
|
|
)
|