1 |
3 |
gdevic |
/*
|
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-2013 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 "graphic" (version "1.4"))
|
22 |
|
|
(pin
|
23 |
|
|
(input)
|
24 |
|
|
(rect 40 40 216 56)
|
25 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
26 |
|
|
(text "ctl_alu_oe" (rect 9 0 58 12)(font "Arial" ))
|
27 |
|
|
(pt 176 8)
|
28 |
|
|
(drawing
|
29 |
|
|
(line (pt 92 12)(pt 117 12))
|
30 |
|
|
(line (pt 92 4)(pt 117 4))
|
31 |
|
|
(line (pt 121 8)(pt 176 8))
|
32 |
|
|
(line (pt 92 12)(pt 92 4))
|
33 |
|
|
(line (pt 117 4)(pt 121 8))
|
34 |
|
|
(line (pt 117 12)(pt 121 8))
|
35 |
|
|
)
|
36 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
37 |
|
|
)
|
38 |
|
|
(pin
|
39 |
|
|
(input)
|
40 |
|
|
(rect 40 80 216 96)
|
41 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
42 |
|
|
(text "ctl_alu_shift_oe" (rect 9 0 86 12)(font "Arial" ))
|
43 |
|
|
(pt 176 8)
|
44 |
|
|
(drawing
|
45 |
|
|
(line (pt 92 12)(pt 117 12))
|
46 |
|
|
(line (pt 92 4)(pt 117 4))
|
47 |
|
|
(line (pt 121 8)(pt 176 8))
|
48 |
|
|
(line (pt 92 12)(pt 92 4))
|
49 |
|
|
(line (pt 117 4)(pt 121 8))
|
50 |
|
|
(line (pt 117 12)(pt 121 8))
|
51 |
|
|
)
|
52 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
53 |
|
|
)
|
54 |
|
|
(pin
|
55 |
|
|
(input)
|
56 |
|
|
(rect 40 104 216 120)
|
57 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
58 |
|
|
(text "ctl_alu_op2_oe" (rect 9 0 82 12)(font "Arial" ))
|
59 |
|
|
(pt 176 8)
|
60 |
|
|
(drawing
|
61 |
|
|
(line (pt 92 12)(pt 117 12))
|
62 |
|
|
(line (pt 92 4)(pt 117 4))
|
63 |
|
|
(line (pt 121 8)(pt 176 8))
|
64 |
|
|
(line (pt 92 12)(pt 92 4))
|
65 |
|
|
(line (pt 117 4)(pt 121 8))
|
66 |
|
|
(line (pt 117 12)(pt 121 8))
|
67 |
|
|
)
|
68 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
69 |
|
|
)
|
70 |
|
|
(pin
|
71 |
|
|
(input)
|
72 |
|
|
(rect 40 128 216 144)
|
73 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
74 |
|
|
(text "ctl_alu_res_oe" (rect 9 0 79 12)(font "Arial" ))
|
75 |
|
|
(pt 176 8)
|
76 |
|
|
(drawing
|
77 |
|
|
(line (pt 92 12)(pt 117 12))
|
78 |
|
|
(line (pt 92 4)(pt 117 4))
|
79 |
|
|
(line (pt 121 8)(pt 176 8))
|
80 |
|
|
(line (pt 92 12)(pt 92 4))
|
81 |
|
|
(line (pt 117 4)(pt 121 8))
|
82 |
|
|
(line (pt 117 12)(pt 121 8))
|
83 |
|
|
)
|
84 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
85 |
|
|
)
|
86 |
|
|
(pin
|
87 |
|
|
(input)
|
88 |
|
|
(rect 40 152 216 168)
|
89 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
90 |
|
|
(text "ctl_alu_op1_oe" (rect 9 0 82 12)(font "Arial" ))
|
91 |
|
|
(pt 176 8)
|
92 |
|
|
(drawing
|
93 |
|
|
(line (pt 92 12)(pt 117 12))
|
94 |
|
|
(line (pt 92 4)(pt 117 4))
|
95 |
|
|
(line (pt 121 8)(pt 176 8))
|
96 |
|
|
(line (pt 92 12)(pt 92 4))
|
97 |
|
|
(line (pt 117 4)(pt 121 8))
|
98 |
|
|
(line (pt 117 12)(pt 121 8))
|
99 |
|
|
)
|
100 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
101 |
|
|
)
|
102 |
|
|
(pin
|
103 |
|
|
(input)
|
104 |
|
|
(rect 40 176 216 192)
|
105 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
106 |
|
|
(text "ctl_alu_bs_oe" (rect 9 0 76 12)(font "Arial" ))
|
107 |
|
|
(pt 176 8)
|
108 |
|
|
(drawing
|
109 |
|
|
(line (pt 92 12)(pt 117 12))
|
110 |
|
|
(line (pt 92 4)(pt 117 4))
|
111 |
|
|
(line (pt 121 8)(pt 176 8))
|
112 |
|
|
(line (pt 92 12)(pt 92 4))
|
113 |
|
|
(line (pt 117 4)(pt 121 8))
|
114 |
|
|
(line (pt 117 12)(pt 121 8))
|
115 |
|
|
)
|
116 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
117 |
|
|
)
|
118 |
|
|
(pin
|
119 |
|
|
(input)
|
120 |
|
|
(rect 40 232 216 248)
|
121 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
122 |
|
|
(text "ctl_alu_op1_sel_bus" (rect 9 0 108 12)(font "Arial" ))
|
123 |
|
|
(pt 176 8)
|
124 |
|
|
(drawing
|
125 |
|
|
(line (pt 92 12)(pt 117 12))
|
126 |
|
|
(line (pt 92 4)(pt 117 4))
|
127 |
|
|
(line (pt 121 8)(pt 176 8))
|
128 |
|
|
(line (pt 92 12)(pt 92 4))
|
129 |
|
|
(line (pt 117 4)(pt 121 8))
|
130 |
|
|
(line (pt 117 12)(pt 121 8))
|
131 |
|
|
)
|
132 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
133 |
|
|
)
|
134 |
|
|
(pin
|
135 |
|
|
(input)
|
136 |
|
|
(rect 40 256 216 272)
|
137 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
138 |
|
|
(text "ctl_alu_op1_sel_low" (rect 9 0 105 12)(font "Arial" ))
|
139 |
|
|
(pt 176 8)
|
140 |
|
|
(drawing
|
141 |
|
|
(line (pt 92 12)(pt 117 12))
|
142 |
|
|
(line (pt 92 4)(pt 117 4))
|
143 |
|
|
(line (pt 121 8)(pt 176 8))
|
144 |
|
|
(line (pt 92 12)(pt 92 4))
|
145 |
|
|
(line (pt 117 4)(pt 121 8))
|
146 |
|
|
(line (pt 117 12)(pt 121 8))
|
147 |
|
|
)
|
148 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
149 |
|
|
)
|
150 |
|
|
(pin
|
151 |
|
|
(input)
|
152 |
|
|
(rect 40 280 216 296)
|
153 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
154 |
|
|
(text "ctl_alu_op1_sel_zero" (rect 9 0 110 12)(font "Arial" ))
|
155 |
|
|
(pt 176 8)
|
156 |
|
|
(drawing
|
157 |
|
|
(line (pt 92 12)(pt 117 12))
|
158 |
|
|
(line (pt 92 4)(pt 117 4))
|
159 |
|
|
(line (pt 121 8)(pt 176 8))
|
160 |
|
|
(line (pt 92 12)(pt 92 4))
|
161 |
|
|
(line (pt 117 4)(pt 121 8))
|
162 |
|
|
(line (pt 117 12)(pt 121 8))
|
163 |
|
|
)
|
164 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
165 |
|
|
)
|
166 |
|
|
(pin
|
167 |
|
|
(input)
|
168 |
|
|
(rect 40 328 216 344)
|
169 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
170 |
|
|
(text "ctl_alu_op2_sel_zero" (rect 9 0 110 12)(font "Arial" ))
|
171 |
|
|
(pt 176 8)
|
172 |
|
|
(drawing
|
173 |
|
|
(line (pt 92 12)(pt 117 12))
|
174 |
|
|
(line (pt 92 4)(pt 117 4))
|
175 |
|
|
(line (pt 121 8)(pt 176 8))
|
176 |
|
|
(line (pt 92 12)(pt 92 4))
|
177 |
|
|
(line (pt 117 4)(pt 121 8))
|
178 |
|
|
(line (pt 117 12)(pt 121 8))
|
179 |
|
|
)
|
180 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
181 |
|
|
)
|
182 |
|
|
(pin
|
183 |
|
|
(input)
|
184 |
|
|
(rect 40 352 216 368)
|
185 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
186 |
|
|
(text "ctl_alu_op2_sel_bus" (rect 9 0 108 12)(font "Arial" ))
|
187 |
|
|
(pt 176 8)
|
188 |
|
|
(drawing
|
189 |
|
|
(line (pt 92 12)(pt 117 12))
|
190 |
|
|
(line (pt 92 4)(pt 117 4))
|
191 |
|
|
(line (pt 121 8)(pt 176 8))
|
192 |
|
|
(line (pt 92 12)(pt 92 4))
|
193 |
|
|
(line (pt 117 4)(pt 121 8))
|
194 |
|
|
(line (pt 117 12)(pt 121 8))
|
195 |
|
|
)
|
196 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
197 |
|
|
)
|
198 |
|
|
(pin
|
199 |
|
|
(input)
|
200 |
|
|
(rect 40 376 216 392)
|
201 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
202 |
|
|
(text "ctl_alu_op2_sel_lq" (rect 9 0 98 12)(font "Arial" ))
|
203 |
|
|
(pt 176 8)
|
204 |
|
|
(drawing
|
205 |
|
|
(line (pt 92 12)(pt 117 12))
|
206 |
|
|
(line (pt 92 4)(pt 117 4))
|
207 |
|
|
(line (pt 121 8)(pt 176 8))
|
208 |
|
|
(line (pt 92 12)(pt 92 4))
|
209 |
|
|
(line (pt 117 4)(pt 121 8))
|
210 |
|
|
(line (pt 117 12)(pt 121 8))
|
211 |
|
|
)
|
212 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
213 |
|
|
)
|
214 |
|
|
(pin
|
215 |
|
|
(input)
|
216 |
|
|
(rect 40 400 216 416)
|
217 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
218 |
|
|
(text "ctl_alu_sel_op2_neg" (rect 9 0 108 12)(font "Arial" ))
|
219 |
|
|
(pt 176 8)
|
220 |
|
|
(drawing
|
221 |
|
|
(line (pt 92 12)(pt 117 12))
|
222 |
|
|
(line (pt 92 4)(pt 117 4))
|
223 |
|
|
(line (pt 121 8)(pt 176 8))
|
224 |
|
|
(line (pt 92 12)(pt 92 4))
|
225 |
|
|
(line (pt 117 4)(pt 121 8))
|
226 |
|
|
(line (pt 117 12)(pt 121 8))
|
227 |
|
|
)
|
228 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
229 |
|
|
)
|
230 |
|
|
(pin
|
231 |
|
|
(input)
|
232 |
|
|
(rect 40 424 216 440)
|
233 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
234 |
|
|
(text "ctl_alu_sel_op2_high" (rect 9 0 110 12)(font "Arial" ))
|
235 |
|
|
(pt 176 8)
|
236 |
|
|
(drawing
|
237 |
|
|
(line (pt 92 12)(pt 117 12))
|
238 |
|
|
(line (pt 92 4)(pt 117 4))
|
239 |
|
|
(line (pt 121 8)(pt 176 8))
|
240 |
|
|
(line (pt 92 12)(pt 92 4))
|
241 |
|
|
(line (pt 117 4)(pt 121 8))
|
242 |
|
|
(line (pt 117 12)(pt 121 8))
|
243 |
|
|
)
|
244 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
245 |
|
|
)
|
246 |
|
|
(pin
|
247 |
|
|
(input)
|
248 |
|
|
(rect 40 472 216 488)
|
249 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
250 |
|
|
(text "ctl_alu_core_R" (rect 9 0 82 12)(font "Arial" ))
|
251 |
|
|
(pt 176 8)
|
252 |
|
|
(drawing
|
253 |
|
|
(line (pt 92 12)(pt 117 12))
|
254 |
|
|
(line (pt 92 4)(pt 117 4))
|
255 |
|
|
(line (pt 121 8)(pt 176 8))
|
256 |
|
|
(line (pt 92 12)(pt 92 4))
|
257 |
|
|
(line (pt 117 4)(pt 121 8))
|
258 |
|
|
(line (pt 117 12)(pt 121 8))
|
259 |
|
|
)
|
260 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
261 |
|
|
)
|
262 |
|
|
(pin
|
263 |
|
|
(input)
|
264 |
|
|
(rect 40 496 216 512)
|
265 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
266 |
|
|
(text "ctl_alu_core_V" (rect 9 0 82 12)(font "Arial" ))
|
267 |
|
|
(pt 176 8)
|
268 |
|
|
(drawing
|
269 |
|
|
(line (pt 92 12)(pt 117 12))
|
270 |
|
|
(line (pt 92 4)(pt 117 4))
|
271 |
|
|
(line (pt 121 8)(pt 176 8))
|
272 |
|
|
(line (pt 92 12)(pt 92 4))
|
273 |
|
|
(line (pt 117 4)(pt 121 8))
|
274 |
|
|
(line (pt 117 12)(pt 121 8))
|
275 |
|
|
)
|
276 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
277 |
|
|
)
|
278 |
|
|
(pin
|
279 |
|
|
(input)
|
280 |
|
|
(rect 40 520 216 536)
|
281 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
282 |
|
|
(text "ctl_alu_core_S" (rect 9 0 80 12)(font "Arial" ))
|
283 |
|
|
(pt 176 8)
|
284 |
|
|
(drawing
|
285 |
|
|
(line (pt 92 12)(pt 117 12))
|
286 |
|
|
(line (pt 92 4)(pt 117 4))
|
287 |
|
|
(line (pt 121 8)(pt 176 8))
|
288 |
|
|
(line (pt 92 12)(pt 92 4))
|
289 |
|
|
(line (pt 117 4)(pt 121 8))
|
290 |
|
|
(line (pt 117 12)(pt 121 8))
|
291 |
|
|
)
|
292 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
293 |
|
|
)
|
294 |
|
|
(pin
|
295 |
|
|
(output)
|
296 |
|
|
(rect 480 40 656 56)
|
297 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
298 |
|
|
(text "alu_oe" (rect 90 0 121 12)(font "Arial" ))
|
299 |
|
|
(pt 0 8)
|
300 |
|
|
(drawing
|
301 |
|
|
(line (pt 0 8)(pt 52 8))
|
302 |
|
|
(line (pt 52 4)(pt 78 4))
|
303 |
|
|
(line (pt 52 12)(pt 78 12))
|
304 |
|
|
(line (pt 52 12)(pt 52 4))
|
305 |
|
|
(line (pt 78 4)(pt 82 8))
|
306 |
|
|
(line (pt 82 8)(pt 78 12))
|
307 |
|
|
(line (pt 78 12)(pt 82 8))
|
308 |
|
|
)
|
309 |
|
|
)
|
310 |
|
|
(pin
|
311 |
|
|
(output)
|
312 |
|
|
(rect 480 80 656 96)
|
313 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
314 |
|
|
(text "alu_shift_oe" (rect 90 0 150 12)(font "Arial" ))
|
315 |
|
|
(pt 0 8)
|
316 |
|
|
(drawing
|
317 |
|
|
(line (pt 0 8)(pt 52 8))
|
318 |
|
|
(line (pt 52 4)(pt 78 4))
|
319 |
|
|
(line (pt 52 12)(pt 78 12))
|
320 |
|
|
(line (pt 52 12)(pt 52 4))
|
321 |
|
|
(line (pt 78 4)(pt 82 8))
|
322 |
|
|
(line (pt 82 8)(pt 78 12))
|
323 |
|
|
(line (pt 78 12)(pt 82 8))
|
324 |
|
|
)
|
325 |
|
|
)
|
326 |
|
|
(pin
|
327 |
|
|
(output)
|
328 |
|
|
(rect 480 104 656 120)
|
329 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
330 |
|
|
(text "alu_op2_oe" (rect 90 0 145 12)(font "Arial" ))
|
331 |
|
|
(pt 0 8)
|
332 |
|
|
(drawing
|
333 |
|
|
(line (pt 0 8)(pt 52 8))
|
334 |
|
|
(line (pt 52 4)(pt 78 4))
|
335 |
|
|
(line (pt 52 12)(pt 78 12))
|
336 |
|
|
(line (pt 52 12)(pt 52 4))
|
337 |
|
|
(line (pt 78 4)(pt 82 8))
|
338 |
|
|
(line (pt 82 8)(pt 78 12))
|
339 |
|
|
(line (pt 78 12)(pt 82 8))
|
340 |
|
|
)
|
341 |
|
|
)
|
342 |
|
|
(pin
|
343 |
|
|
(output)
|
344 |
|
|
(rect 480 128 656 144)
|
345 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
346 |
|
|
(text "alu_res_oe" (rect 90 0 143 12)(font "Arial" ))
|
347 |
|
|
(pt 0 8)
|
348 |
|
|
(drawing
|
349 |
|
|
(line (pt 0 8)(pt 52 8))
|
350 |
|
|
(line (pt 52 4)(pt 78 4))
|
351 |
|
|
(line (pt 52 12)(pt 78 12))
|
352 |
|
|
(line (pt 52 12)(pt 52 4))
|
353 |
|
|
(line (pt 78 4)(pt 82 8))
|
354 |
|
|
(line (pt 82 8)(pt 78 12))
|
355 |
|
|
(line (pt 78 12)(pt 82 8))
|
356 |
|
|
)
|
357 |
|
|
)
|
358 |
|
|
(pin
|
359 |
|
|
(output)
|
360 |
|
|
(rect 480 152 656 168)
|
361 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
362 |
|
|
(text "alu_op1_oe" (rect 90 0 145 12)(font "Arial" ))
|
363 |
|
|
(pt 0 8)
|
364 |
|
|
(drawing
|
365 |
|
|
(line (pt 0 8)(pt 52 8))
|
366 |
|
|
(line (pt 52 4)(pt 78 4))
|
367 |
|
|
(line (pt 52 12)(pt 78 12))
|
368 |
|
|
(line (pt 52 12)(pt 52 4))
|
369 |
|
|
(line (pt 78 4)(pt 82 8))
|
370 |
|
|
(line (pt 82 8)(pt 78 12))
|
371 |
|
|
(line (pt 78 12)(pt 82 8))
|
372 |
|
|
)
|
373 |
|
|
)
|
374 |
|
|
(pin
|
375 |
|
|
(output)
|
376 |
|
|
(rect 480 176 656 192)
|
377 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
378 |
|
|
(text "alu_bs_oe" (rect 90 0 139 12)(font "Arial" ))
|
379 |
|
|
(pt 0 8)
|
380 |
|
|
(drawing
|
381 |
|
|
(line (pt 0 8)(pt 52 8))
|
382 |
|
|
(line (pt 52 4)(pt 78 4))
|
383 |
|
|
(line (pt 52 12)(pt 78 12))
|
384 |
|
|
(line (pt 52 12)(pt 52 4))
|
385 |
|
|
(line (pt 78 4)(pt 82 8))
|
386 |
|
|
(line (pt 82 8)(pt 78 12))
|
387 |
|
|
(line (pt 78 12)(pt 82 8))
|
388 |
|
|
)
|
389 |
|
|
)
|
390 |
|
|
(pin
|
391 |
|
|
(output)
|
392 |
|
|
(rect 480 232 656 248)
|
393 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
394 |
|
|
(text "alu_op1_sel_bus" (rect 90 0 171 12)(font "Arial" ))
|
395 |
|
|
(pt 0 8)
|
396 |
|
|
(drawing
|
397 |
|
|
(line (pt 0 8)(pt 52 8))
|
398 |
|
|
(line (pt 52 4)(pt 78 4))
|
399 |
|
|
(line (pt 52 12)(pt 78 12))
|
400 |
|
|
(line (pt 52 12)(pt 52 4))
|
401 |
|
|
(line (pt 78 4)(pt 82 8))
|
402 |
|
|
(line (pt 82 8)(pt 78 12))
|
403 |
|
|
(line (pt 78 12)(pt 82 8))
|
404 |
|
|
)
|
405 |
|
|
)
|
406 |
|
|
(pin
|
407 |
|
|
(output)
|
408 |
|
|
(rect 480 256 656 272)
|
409 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
410 |
|
|
(text "alu_op1_sel_low" (rect 90 0 169 12)(font "Arial" ))
|
411 |
|
|
(pt 0 8)
|
412 |
|
|
(drawing
|
413 |
|
|
(line (pt 0 8)(pt 52 8))
|
414 |
|
|
(line (pt 52 4)(pt 78 4))
|
415 |
|
|
(line (pt 52 12)(pt 78 12))
|
416 |
|
|
(line (pt 52 12)(pt 52 4))
|
417 |
|
|
(line (pt 78 4)(pt 82 8))
|
418 |
|
|
(line (pt 82 8)(pt 78 12))
|
419 |
|
|
(line (pt 78 12)(pt 82 8))
|
420 |
|
|
)
|
421 |
|
|
)
|
422 |
|
|
(pin
|
423 |
|
|
(output)
|
424 |
|
|
(rect 480 280 656 296)
|
425 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
426 |
|
|
(text "alu_op1_sel_zero" (rect 90 0 173 12)(font "Arial" ))
|
427 |
|
|
(pt 0 8)
|
428 |
|
|
(drawing
|
429 |
|
|
(line (pt 0 8)(pt 52 8))
|
430 |
|
|
(line (pt 52 4)(pt 78 4))
|
431 |
|
|
(line (pt 52 12)(pt 78 12))
|
432 |
|
|
(line (pt 52 12)(pt 52 4))
|
433 |
|
|
(line (pt 78 4)(pt 82 8))
|
434 |
|
|
(line (pt 82 8)(pt 78 12))
|
435 |
|
|
(line (pt 78 12)(pt 82 8))
|
436 |
|
|
)
|
437 |
|
|
)
|
438 |
|
|
(pin
|
439 |
|
|
(output)
|
440 |
|
|
(rect 480 328 656 344)
|
441 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
442 |
|
|
(text "alu_op2_sel_zero" (rect 90 0 173 12)(font "Arial" ))
|
443 |
|
|
(pt 0 8)
|
444 |
|
|
(drawing
|
445 |
|
|
(line (pt 0 8)(pt 52 8))
|
446 |
|
|
(line (pt 52 4)(pt 78 4))
|
447 |
|
|
(line (pt 52 12)(pt 78 12))
|
448 |
|
|
(line (pt 52 12)(pt 52 4))
|
449 |
|
|
(line (pt 78 4)(pt 82 8))
|
450 |
|
|
(line (pt 82 8)(pt 78 12))
|
451 |
|
|
(line (pt 78 12)(pt 82 8))
|
452 |
|
|
)
|
453 |
|
|
)
|
454 |
|
|
(pin
|
455 |
|
|
(output)
|
456 |
|
|
(rect 480 352 656 368)
|
457 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
458 |
|
|
(text "alu_op2_sel_bus" (rect 90 0 171 12)(font "Arial" ))
|
459 |
|
|
(pt 0 8)
|
460 |
|
|
(drawing
|
461 |
|
|
(line (pt 0 8)(pt 52 8))
|
462 |
|
|
(line (pt 52 4)(pt 78 4))
|
463 |
|
|
(line (pt 52 12)(pt 78 12))
|
464 |
|
|
(line (pt 52 12)(pt 52 4))
|
465 |
|
|
(line (pt 78 4)(pt 82 8))
|
466 |
|
|
(line (pt 82 8)(pt 78 12))
|
467 |
|
|
(line (pt 78 12)(pt 82 8))
|
468 |
|
|
)
|
469 |
|
|
)
|
470 |
|
|
(pin
|
471 |
|
|
(output)
|
472 |
|
|
(rect 480 376 656 392)
|
473 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
474 |
|
|
(text "alu_op2_sel_lq" (rect 90 0 161 12)(font "Arial" ))
|
475 |
|
|
(pt 0 8)
|
476 |
|
|
(drawing
|
477 |
|
|
(line (pt 0 8)(pt 52 8))
|
478 |
|
|
(line (pt 52 4)(pt 78 4))
|
479 |
|
|
(line (pt 52 12)(pt 78 12))
|
480 |
|
|
(line (pt 52 12)(pt 52 4))
|
481 |
|
|
(line (pt 78 4)(pt 82 8))
|
482 |
|
|
(line (pt 82 8)(pt 78 12))
|
483 |
|
|
(line (pt 78 12)(pt 82 8))
|
484 |
|
|
)
|
485 |
|
|
)
|
486 |
|
|
(pin
|
487 |
|
|
(output)
|
488 |
|
|
(rect 480 400 656 416)
|
489 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
490 |
|
|
(text "alu_sel_op2_neg" (rect 90 0 171 12)(font "Arial" ))
|
491 |
|
|
(pt 0 8)
|
492 |
|
|
(drawing
|
493 |
|
|
(line (pt 0 8)(pt 52 8))
|
494 |
|
|
(line (pt 52 4)(pt 78 4))
|
495 |
|
|
(line (pt 52 12)(pt 78 12))
|
496 |
|
|
(line (pt 52 12)(pt 52 4))
|
497 |
|
|
(line (pt 78 4)(pt 82 8))
|
498 |
|
|
(line (pt 82 8)(pt 78 12))
|
499 |
|
|
(line (pt 78 12)(pt 82 8))
|
500 |
|
|
)
|
501 |
|
|
)
|
502 |
|
|
(pin
|
503 |
|
|
(output)
|
504 |
|
|
(rect 480 424 656 440)
|
505 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
506 |
|
|
(text "alu_sel_op2_high" (rect 90 0 173 12)(font "Arial" ))
|
507 |
|
|
(pt 0 8)
|
508 |
|
|
(drawing
|
509 |
|
|
(line (pt 0 8)(pt 52 8))
|
510 |
|
|
(line (pt 52 4)(pt 78 4))
|
511 |
|
|
(line (pt 52 12)(pt 78 12))
|
512 |
|
|
(line (pt 52 12)(pt 52 4))
|
513 |
|
|
(line (pt 78 4)(pt 82 8))
|
514 |
|
|
(line (pt 82 8)(pt 78 12))
|
515 |
|
|
(line (pt 78 12)(pt 82 8))
|
516 |
|
|
)
|
517 |
|
|
)
|
518 |
|
|
(pin
|
519 |
|
|
(output)
|
520 |
|
|
(rect 480 472 656 488)
|
521 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
522 |
|
|
(text "alu_core_R" (rect 90 0 145 12)(font "Arial" ))
|
523 |
|
|
(pt 0 8)
|
524 |
|
|
(drawing
|
525 |
|
|
(line (pt 0 8)(pt 52 8))
|
526 |
|
|
(line (pt 52 4)(pt 78 4))
|
527 |
|
|
(line (pt 52 12)(pt 78 12))
|
528 |
|
|
(line (pt 52 12)(pt 52 4))
|
529 |
|
|
(line (pt 78 4)(pt 82 8))
|
530 |
|
|
(line (pt 82 8)(pt 78 12))
|
531 |
|
|
(line (pt 78 12)(pt 82 8))
|
532 |
|
|
)
|
533 |
|
|
)
|
534 |
|
|
(pin
|
535 |
|
|
(output)
|
536 |
|
|
(rect 480 496 656 512)
|
537 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
538 |
|
|
(text "alu_core_V" (rect 90 0 145 12)(font "Arial" ))
|
539 |
|
|
(pt 0 8)
|
540 |
|
|
(drawing
|
541 |
|
|
(line (pt 0 8)(pt 52 8))
|
542 |
|
|
(line (pt 52 4)(pt 78 4))
|
543 |
|
|
(line (pt 52 12)(pt 78 12))
|
544 |
|
|
(line (pt 52 12)(pt 52 4))
|
545 |
|
|
(line (pt 78 4)(pt 82 8))
|
546 |
|
|
(line (pt 82 8)(pt 78 12))
|
547 |
|
|
(line (pt 78 12)(pt 82 8))
|
548 |
|
|
)
|
549 |
|
|
)
|
550 |
|
|
(pin
|
551 |
|
|
(output)
|
552 |
|
|
(rect 480 520 656 536)
|
553 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
554 |
|
|
(text "alu_core_S" (rect 90 0 144 12)(font "Arial" ))
|
555 |
|
|
(pt 0 8)
|
556 |
|
|
(drawing
|
557 |
|
|
(line (pt 0 8)(pt 52 8))
|
558 |
|
|
(line (pt 52 4)(pt 78 4))
|
559 |
|
|
(line (pt 52 12)(pt 78 12))
|
560 |
|
|
(line (pt 52 12)(pt 52 4))
|
561 |
|
|
(line (pt 78 4)(pt 82 8))
|
562 |
|
|
(line (pt 82 8)(pt 78 12))
|
563 |
|
|
(line (pt 78 12)(pt 82 8))
|
564 |
|
|
)
|
565 |
|
|
)
|
566 |
|
|
(connector
|
567 |
|
|
(pt 216 88)
|
568 |
|
|
(pt 480 88)
|
569 |
|
|
)
|
570 |
|
|
(connector
|
571 |
|
|
(pt 216 112)
|
572 |
|
|
(pt 480 112)
|
573 |
|
|
)
|
574 |
|
|
(connector
|
575 |
|
|
(pt 216 136)
|
576 |
|
|
(pt 480 136)
|
577 |
|
|
)
|
578 |
|
|
(connector
|
579 |
|
|
(pt 216 160)
|
580 |
|
|
(pt 480 160)
|
581 |
|
|
)
|
582 |
|
|
(connector
|
583 |
|
|
(pt 216 240)
|
584 |
|
|
(pt 480 240)
|
585 |
|
|
)
|
586 |
|
|
(connector
|
587 |
|
|
(pt 216 264)
|
588 |
|
|
(pt 480 264)
|
589 |
|
|
)
|
590 |
|
|
(connector
|
591 |
|
|
(pt 216 288)
|
592 |
|
|
(pt 480 288)
|
593 |
|
|
)
|
594 |
|
|
(connector
|
595 |
|
|
(pt 216 336)
|
596 |
|
|
(pt 480 336)
|
597 |
|
|
)
|
598 |
|
|
(connector
|
599 |
|
|
(pt 216 360)
|
600 |
|
|
(pt 480 360)
|
601 |
|
|
)
|
602 |
|
|
(connector
|
603 |
|
|
(pt 216 384)
|
604 |
|
|
(pt 480 384)
|
605 |
|
|
)
|
606 |
|
|
(connector
|
607 |
|
|
(pt 216 408)
|
608 |
|
|
(pt 480 408)
|
609 |
|
|
)
|
610 |
|
|
(connector
|
611 |
|
|
(pt 216 432)
|
612 |
|
|
(pt 480 432)
|
613 |
|
|
)
|
614 |
|
|
(connector
|
615 |
|
|
(pt 216 480)
|
616 |
|
|
(pt 480 480)
|
617 |
|
|
)
|
618 |
|
|
(connector
|
619 |
|
|
(pt 216 504)
|
620 |
|
|
(pt 480 504)
|
621 |
|
|
)
|
622 |
|
|
(connector
|
623 |
|
|
(pt 216 528)
|
624 |
|
|
(pt 480 528)
|
625 |
|
|
)
|
626 |
|
|
(connector
|
627 |
|
|
(pt 216 48)
|
628 |
|
|
(pt 480 48)
|
629 |
|
|
)
|
630 |
|
|
(connector
|
631 |
|
|
(pt 216 184)
|
632 |
|
|
(pt 480 184)
|
633 |
|
|
)
|
634 |
|
|
(text "ALU internal bus to db output enable" (rect 232 32 438 46)(font "Arial" (font_size 8)))
|
635 |
|
|
(text "Shifter to internal bus" (rect 232 72 353 86)(font "Arial" (font_size 8)))
|
636 |
|
|
(text "OP2 to internal bus" (rect 232 96 339 110)(font "Arial" (font_size 8)))
|
637 |
|
|
(text "Result to internal bus" (rect 232 120 351 134)(font "Arial" (font_size 8)))
|
638 |
|
|
(text "OP1 to internal bus" (rect 232 144 339 158)(font "Arial" (font_size 8)))
|
639 |
|
|
(text "Bit selector to internal bus" (rect 232 168 379 182)(font "Arial" (font_size 8)))
|
640 |
|
|
(text "OP1 latch selector mux" (rect 288 216 418 230)(font "Arial" (font_size 8)))
|
641 |
|
|
(text "OP2 latch selector mux" (rect 288 312 418 326)(font "Arial" (font_size 8)))
|
642 |
|
|
(text "ALU core operation" (rect 296 456 406 470)(font "Arial" (font_size 8)))
|
643 |
|
|
(title_block
|
644 |
|
|
(rect 40 568 297 620)
|
645 |
|
|
(name "title-custom-small")
|
646 |
|
|
(section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "July 27, 2014" (rect 56 3 131 17)(font "Arial" (font_size 8)))(border))
|
647 |
|
|
(section (rect 0 18 256 34)(text "DESIGNER" (rect 2 0 59 12)(font "Arial" ))(text "Goran Devic" (rect 56 2 135 17)(font "Arial" (font_size 9)))(border))
|
648 |
|
|
(section (rect 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "alu_select" (rect 43 2 112 17)(font "Arial" (font_size 9)(bold)))(border))
|
649 |
|
|
(section (rect 0 0 256 17)(text "PROJECT" (rect 2 0 52 12)(font "Arial" ))(text "A-Z80" (rect 56 2 94 17)(font "Arial" (font_size 9)(bold)))(border))
|
650 |
|
|
(section (rect 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.0" (rect 43 3 60 17)(font "Arial" (font_size 8)))(border))
|
651 |
|
|
(drawing
|
652 |
|
|
)
|
653 |
|
|
)
|