OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [alu/] [alu_control.bdf] - Blame information for rev 14

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
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 32 256 208 272)
25
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
26
        (text "op543[2..0]" (rect 9 0 64 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 32 88 208 104)
41
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
42
        (text "alu_shift_db0" (rect 9 0 75 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 32 40 208 56)
57
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
58
        (text "alu_shift_db7" (rect 9 0 75 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 32 144 208 160)
73
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
74
        (text "ctl_shift_en" (rect 9 0 66 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 32 872 208 888)
89
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
90
        (text "alu_low_gt_9" (rect 9 0 71 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 32 992 208 1008)
105
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
106
        (text "alu_high_gt_9" (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 32 968 208 984)
121
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
122
        (text "alu_high_eq_9" (rect 9 0 78 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 32 800 208 816)
137
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
138
        (text "ctl_daa_oe" (rect 9 0 62 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 32 1192 208 1208)
153
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
154
        (text "ctl_alu_op_low" (rect 9 0 79 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 32 1160 208 1176)
169
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
170
        (text "alu_parity_out" (rect 9 0 78 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 32 648 208 664)
185
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
186
        (text "flags_cf" (rect 9 0 50 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 32 632 208 648)
201
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
202
        (text "flags_zf" (rect 9 0 49 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 32 664 208 680)
217
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
218
        (text "flags_pf" (rect 9 0 50 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 32 680 208 696)
233
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
234
        (text "flags_sf" (rect 9 0 50 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 32 600 208 616)
249
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
250
        (text "ctl_cond_short" (rect 9 0 80 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 32 1416 208 1432)
265
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
266
        (text "alu_vf_out" (rect 9 0 62 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 32 1432 208 1448)
281
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
282
        (text "iff2" (rect 9 0 26 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
        (input)
296
        (rect 32 1384 208 1400)
297
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
298
        (text "ctl_pf_sel[1..0]" (rect 9 0 83 12)(font "Arial" ))
299
        (pt 176 8)
300
        (drawing
301
                (line (pt 92 12)(pt 117 12))
302
                (line (pt 92 4)(pt 117 4))
303
                (line (pt 121 8)(pt 176 8))
304
                (line (pt 92 12)(pt 92 4))
305
                (line (pt 117 4)(pt 121 8))
306
                (line (pt 117 12)(pt 121 8))
307
        )
308
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
309
)
310
(pin
311
        (input)
312
        (rect 32 1552 208 1568)
313
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
314
        (text "ctl_alu_core_hf" (rect 9 0 84 12)(font "Arial" ))
315
        (pt 176 8)
316
        (drawing
317
                (line (pt 92 12)(pt 117 12))
318
                (line (pt 92 4)(pt 117 4))
319
                (line (pt 121 8)(pt 176 8))
320
                (line (pt 92 12)(pt 92 4))
321
                (line (pt 117 4)(pt 121 8))
322
                (line (pt 117 12)(pt 121 8))
323
        )
324
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
325
)
326
(pin
327
        (input)
328
        (rect 32 728 208 744)
329
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
330
        (text "ctl_eval_cond" (rect 9 0 77 12)(font "Arial" ))
331
        (pt 176 8)
332
        (drawing
333
                (line (pt 92 12)(pt 117 12))
334
                (line (pt 92 4)(pt 117 4))
335
                (line (pt 121 8)(pt 176 8))
336
                (line (pt 92 12)(pt 92 4))
337
                (line (pt 117 4)(pt 121 8))
338
                (line (pt 117 12)(pt 121 8))
339
        )
340
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
341
)
342
(pin
343
        (input)
344
        (rect 32 1448 208 1464)
345
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
346
        (text "repeat_en" (rect 9 0 57 12)(font "Arial" ))
347
        (pt 176 8)
348
        (drawing
349
                (line (pt 92 12)(pt 117 12))
350
                (line (pt 92 4)(pt 117 4))
351
                (line (pt 121 8)(pt 176 8))
352
                (line (pt 92 12)(pt 92 4))
353
                (line (pt 117 4)(pt 121 8))
354
                (line (pt 117 12)(pt 121 8))
355
        )
356
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
357
)
358
(pin
359
        (input)
360
        (rect 32 304 208 320)
361
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
362
        (text "flags_cf_latch" (rect 9 0 79 12)(font "Arial" ))
363
        (pt 176 8)
364
        (drawing
365
                (line (pt 92 12)(pt 117 12))
366
                (line (pt 92 4)(pt 117 4))
367
                (line (pt 121 8)(pt 176 8))
368
                (line (pt 92 12)(pt 92 4))
369
                (line (pt 117 4)(pt 121 8))
370
                (line (pt 117 12)(pt 121 8))
371
        )
372
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
373
)
374
(pin
375
        (input)
376
        (rect 32 888 208 904)
377
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
378
        (text "flags_hf2" (rect 9 0 56 12)(font "Arial" ))
379
        (pt 176 8)
380
        (drawing
381
                (line (pt 92 12)(pt 117 12))
382
                (line (pt 92 4)(pt 117 4))
383
                (line (pt 121 8)(pt 176 8))
384
                (line (pt 92 12)(pt 92 4))
385
                (line (pt 117 4)(pt 121 8))
386
                (line (pt 117 12)(pt 121 8))
387
        )
388
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
389
)
390
(pin
391
        (input)
392
        (rect 32 1592 208 1608)
393
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
394
        (text "flags_hf" (rect 9 0 50 12)(font "Arial" ))
395
        (pt 176 8)
396
        (drawing
397
                (line (pt 92 12)(pt 117 12))
398
                (line (pt 92 4)(pt 117 4))
399
                (line (pt 121 8)(pt 176 8))
400
                (line (pt 92 12)(pt 92 4))
401
                (line (pt 117 4)(pt 121 8))
402
                (line (pt 117 12)(pt 121 8))
403
        )
404
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
405
)
406
(pin
407
        (input)
408
        (rect 32 840 208 856)
409
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
410
        (text "ctl_66_oe" (rect 9 0 56 12)(font "Arial" ))
411
        (pt 176 8)
412
        (drawing
413
                (line (pt 92 12)(pt 117 12))
414
                (line (pt 92 4)(pt 117 4))
415
                (line (pt 121 8)(pt 176 8))
416
                (line (pt 92 12)(pt 92 4))
417
                (line (pt 117 4)(pt 121 8))
418
                (line (pt 117 12)(pt 121 8))
419
        )
420
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
421
)
422
(pin
423
        (input)
424
        (rect 32 1176 208 1192)
425
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
426
        (text "clk" (rect 9 0 23 12)(font "Arial" ))
427
        (pt 176 8)
428
        (drawing
429
                (line (pt 92 12)(pt 117 12))
430
                (line (pt 92 4)(pt 117 4))
431
                (line (pt 121 8)(pt 176 8))
432
                (line (pt 92 12)(pt 92 4))
433
                (line (pt 117 4)(pt 121 8))
434
                (line (pt 117 12)(pt 121 8))
435
        )
436
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
437
)
438
(pin
439
        (output)
440
        (rect 648 256 824 272)
441
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
442
        (text "alu_shift_in" (rect 90 0 146 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 648 200 824 216)
457
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
458
        (text "alu_shift_right" (rect 90 0 159 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 648 152 824 168)
473
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
474
        (text "alu_shift_left" (rect 90 0 154 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 648 72 824 88)
489
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
490
        (text "shift_cf_out" (rect 90 0 150 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 792 872 968 888)
505
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
506
        (text "db[7..0]" (rect 90 0 127 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 576 1248 752 1264)
521
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
522
        (text "alu_parity_in" (rect 90 0 152 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 800 608 976 624)
537
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
538
        (text "flags_cond_true" (rect 90 0 169 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 792 1072 968 1088)
553
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
554
        (text "daa_cf_out" (rect 90 0 145 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
(pin
567
        (output)
568
        (rect 584 1384 760 1400)
569
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
570
        (text "pf_sel" (rect 90 0 120 12)(font "Arial" ))
571
        (pt 0 8)
572
        (drawing
573
                (line (pt 0 8)(pt 52 8))
574
                (line (pt 52 4)(pt 78 4))
575
                (line (pt 52 12)(pt 78 12))
576
                (line (pt 52 12)(pt 52 4))
577
                (line (pt 78 4)(pt 82 8))
578
                (line (pt 82 8)(pt 78 12))
579
                (line (pt 78 12)(pt 82 8))
580
        )
581
)
582
(pin
583
        (output)
584
        (rect 576 1288 752 1304)
585
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
586
        (text "alu_op_low" (rect 90 0 143 12)(font "Arial" ))
587
        (pt 0 8)
588
        (drawing
589
                (line (pt 0 8)(pt 52 8))
590
                (line (pt 52 4)(pt 78 4))
591
                (line (pt 52 12)(pt 78 12))
592
                (line (pt 52 12)(pt 52 4))
593
                (line (pt 78 4)(pt 82 8))
594
                (line (pt 82 8)(pt 78 12))
595
                (line (pt 78 12)(pt 82 8))
596
        )
597
)
598
(pin
599
        (output)
600
        (rect 528 1608 704 1624)
601
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
602
        (text "alu_core_cf_in" (rect 90 0 161 12)(font "Arial" ))
603
        (pt 0 8)
604
        (drawing
605
                (line (pt 0 8)(pt 52 8))
606
                (line (pt 52 4)(pt 78 4))
607
                (line (pt 52 12)(pt 78 12))
608
                (line (pt 52 12)(pt 52 4))
609
                (line (pt 78 4)(pt 82 8))
610
                (line (pt 82 8)(pt 78 12))
611
                (line (pt 78 12)(pt 82 8))
612
        )
613
)
614
(symbol
615
        (rect 336 352 368 368)
616
        (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
617
        (text "vcc_inst" (rect 3 5 45 17)(font "Arial" )(invisible))
618
        (port
619
                (pt 16 16)
620
                (output)
621
                (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
622
                (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
623
                (line (pt 16 16)(pt 16 8))
624
        )
625
        (drawing
626
                (line (pt 8 8)(pt 24 8))
627
        )
628
)
629
(symbol
630
        (rect 384 408 416 440)
631
        (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
632
        (text "gnd_inst" (rect 3 21 44 33)(font "Arial" )(invisible))
633
        (port
634
                (pt 16 0)
635
                (output)
636
                (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
637
                (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
638
                (line (pt 16 8)(pt 16 0))
639
        )
640
        (drawing
641
                (line (pt 8 8)(pt 16 16))
642
                (line (pt 16 16)(pt 24 8))
643
                (line (pt 8 8)(pt 24 8))
644
        )
645
)
646
(symbol
647
        (rect 448 232 560 424)
648
        (text "alu_mux_8" (rect 5 0 66 14)(font "Arial" (font_size 8)))
649
        (text "inst_shift_mux" (rect 8 176 81 188)(font "Arial" ))
650
        (port
651
                (pt 0 32)
652
                (input)
653
                (text "sel[2..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
654
                (text "sel[2..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
655
                (line (pt 0 32)(pt 16 32)(line_width 3))
656
        )
657
        (port
658
                (pt 0 48)
659
                (input)
660
                (text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
661
                (text "in0" (rect 21 43 37 57)(font "Arial" (font_size 8)))
662
                (line (pt 0 48)(pt 16 48))
663
        )
664
        (port
665
                (pt 0 64)
666
                (input)
667
                (text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
668
                (text "in1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
669
                (line (pt 0 64)(pt 16 64))
670
        )
671
        (port
672
                (pt 0 80)
673
                (input)
674
                (text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
675
                (text "in2" (rect 21 75 37 89)(font "Arial" (font_size 8)))
676
                (line (pt 0 80)(pt 16 80))
677
        )
678
        (port
679
                (pt 0 96)
680
                (input)
681
                (text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
682
                (text "in3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
683
                (line (pt 0 96)(pt 16 96))
684
        )
685
        (port
686
                (pt 0 112)
687
                (input)
688
                (text "in4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
689
                (text "in4" (rect 21 107 37 121)(font "Arial" (font_size 8)))
690
                (line (pt 0 112)(pt 16 112))
691
        )
692
        (port
693
                (pt 0 128)
694
                (input)
695
                (text "in5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
696
                (text "in5" (rect 21 123 37 137)(font "Arial" (font_size 8)))
697
                (line (pt 0 128)(pt 16 128))
698
        )
699
        (port
700
                (pt 0 144)
701
                (input)
702
                (text "in6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
703
                (text "in6" (rect 21 139 37 153)(font "Arial" (font_size 8)))
704
                (line (pt 0 144)(pt 16 144))
705
        )
706
        (port
707
                (pt 0 160)
708
                (input)
709
                (text "in7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
710
                (text "in7" (rect 21 155 37 169)(font "Arial" (font_size 8)))
711
                (line (pt 0 160)(pt 16 160))
712
        )
713
        (port
714
                (pt 112 32)
715
                (output)
716
                (text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
717
                (text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
718
                (line (pt 112 32)(pt 96 32))
719
        )
720
        (drawing
721
                (rectangle (rect 16 16 96 176))
722
        )
723
)
724
(symbol
725
        (rect 480 136 544 184)
726
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
727
        (text "inst2" (rect 3 37 26 49)(font "Arial" ))
728
        (port
729
                (pt 0 16)
730
                (input)
731
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
732
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
733
                (line (pt 0 16)(pt 14 16))
734
        )
735
        (port
736
                (pt 0 32)
737
                (input)
738
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
739
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
740
                (line (pt 0 32)(pt 14 32))
741
        )
742
        (port
743
                (pt 64 24)
744
                (output)
745
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
746
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
747
                (line (pt 42 24)(pt 64 24))
748
        )
749
        (drawing
750
                (line (pt 14 12)(pt 30 12))
751
                (line (pt 14 37)(pt 31 37))
752
                (line (pt 14 12)(pt 14 37))
753
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
754
        )
755
)
756
(symbol
757
        (rect 480 184 544 232)
758
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
759
        (text "inst1" (rect 3 37 26 49)(font "Arial" ))
760
        (port
761
                (pt 0 16)
762
                (input)
763
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
764
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
765
                (line (pt 0 16)(pt 14 16))
766
        )
767
        (port
768
                (pt 0 32)
769
                (input)
770
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
771
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
772
                (line (pt 0 32)(pt 14 32))
773
        )
774
        (port
775
                (pt 64 24)
776
                (output)
777
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
778
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
779
                (line (pt 42 24)(pt 64 24))
780
        )
781
        (drawing
782
                (line (pt 14 12)(pt 30 12))
783
                (line (pt 14 37)(pt 31 37))
784
                (line (pt 14 12)(pt 14 37))
785
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
786
        )
787
)
788
(symbol
789
        (rect 384 152 432 184)
790
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
791
        (text "not1" (rect 3 21 24 33)(font "Arial" ))
792
        (port
793
                (pt 0 16)
794
                (input)
795
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
796
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
797
                (line (pt 0 16)(pt 13 16))
798
        )
799
        (port
800
                (pt 48 16)
801
                (output)
802
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
803
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
804
                (line (pt 39 16)(pt 48 16))
805
        )
806
        (drawing
807
                (line (pt 13 25)(pt 13 7))
808
                (line (pt 13 7)(pt 31 16))
809
                (line (pt 13 25)(pt 31 16))
810
                (circle (rect 31 12 39 20))
811
        )
812
)
813
(symbol
814
        (rect 384 48 432 80)
815
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
816
        (text "not2" (rect 3 21 24 33)(font "Arial" ))
817
        (port
818
                (pt 0 16)
819
                (input)
820
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
821
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
822
                (line (pt 0 16)(pt 13 16))
823
        )
824
        (port
825
                (pt 48 16)
826
                (output)
827
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
828
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
829
                (line (pt 39 16)(pt 48 16))
830
        )
831
        (drawing
832
                (line (pt 13 25)(pt 13 7))
833
                (line (pt 13 7)(pt 31 16))
834
                (line (pt 13 25)(pt 31 16))
835
                (circle (rect 31 12 39 20))
836
        )
837
)
838
(symbol
839
        (rect 480 80 544 128)
840
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
841
        (text "inst3" (rect 3 37 26 49)(font "Arial" ))
842
        (port
843
                (pt 0 16)
844
                (input)
845
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
846
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
847
                (line (pt 0 16)(pt 14 16))
848
        )
849
        (port
850
                (pt 0 32)
851
                (input)
852
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
853
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
854
                (line (pt 0 32)(pt 14 32))
855
        )
856
        (port
857
                (pt 64 24)
858
                (output)
859
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
860
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
861
                (line (pt 42 24)(pt 64 24))
862
        )
863
        (drawing
864
                (line (pt 14 12)(pt 30 12))
865
                (line (pt 14 37)(pt 31 37))
866
                (line (pt 14 12)(pt 14 37))
867
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
868
        )
869
)
870
(symbol
871
        (rect 480 32 544 80)
872
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
873
        (text "inst4" (rect 3 37 26 49)(font "Arial" ))
874
        (port
875
                (pt 0 16)
876
                (input)
877
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
878
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
879
                (line (pt 0 16)(pt 14 16))
880
        )
881
        (port
882
                (pt 0 32)
883
                (input)
884
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
885
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
886
                (line (pt 0 32)(pt 14 32))
887
        )
888
        (port
889
                (pt 64 24)
890
                (output)
891
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
892
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
893
                (line (pt 42 24)(pt 64 24))
894
        )
895
        (drawing
896
                (line (pt 14 12)(pt 30 12))
897
                (line (pt 14 37)(pt 31 37))
898
                (line (pt 14 12)(pt 14 37))
899
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
900
        )
901
)
902
(symbol
903
        (rect 576 56 640 104)
904
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
905
        (text "inst5" (rect 3 37 26 49)(font "Arial" ))
906
        (port
907
                (pt 0 32)
908
                (input)
909
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
910
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
911
                (line (pt 0 32)(pt 15 32))
912
        )
913
        (port
914
                (pt 0 16)
915
                (input)
916
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
917
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
918
                (line (pt 0 16)(pt 15 16))
919
        )
920
        (port
921
                (pt 64 24)
922
                (output)
923
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
924
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
925
                (line (pt 48 24)(pt 64 24))
926
        )
927
        (drawing
928
                (line (pt 14 36)(pt 25 36))
929
                (line (pt 14 13)(pt 25 13))
930
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
931
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
932
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
933
        )
934
)
935
(symbol
936
        (rect 704 864 752 896)
937
        (text "TRI" (rect 1 0 16 10)(font "Arial" (font_size 6)))
938
        (text "inst" (rect 3 21 20 33)(font "Arial" ))
939
        (port
940
                (pt 0 16)
941
                (input)
942
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
943
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
944
                (line (pt 0 16)(pt 14 16))
945
        )
946
        (port
947
                (pt 24 0)
948
                (input)
949
                (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible))
950
                (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible))
951
                (line (pt 24 12)(pt 24 0))
952
        )
953
        (port
954
                (pt 48 16)
955
                (output)
956
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
957
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
958
                (line (pt 32 16)(pt 48 16))
959
        )
960
        (drawing
961
                (line (pt 14 25)(pt 14 7))
962
                (line (pt 14 25)(pt 32 16))
963
                (line (pt 14 7)(pt 32 16))
964
        )
965
)
966
(symbol
967
        (rect 320 864 384 912)
968
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
969
        (text "inst22" (rect 3 37 32 49)(font "Arial" ))
970
        (port
971
                (pt 0 32)
972
                (input)
973
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
974
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
975
                (line (pt 0 32)(pt 15 32))
976
        )
977
        (port
978
                (pt 0 16)
979
                (input)
980
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
981
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
982
                (line (pt 0 16)(pt 15 16))
983
        )
984
        (port
985
                (pt 64 24)
986
                (output)
987
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
988
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
989
                (line (pt 48 24)(pt 64 24))
990
        )
991
        (drawing
992
                (line (pt 14 36)(pt 25 36))
993
                (line (pt 14 13)(pt 25 13))
994
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
995
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
996
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
997
        )
998
)
999
(symbol
1000
        (rect 320 944 384 992)
1001
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
1002
        (text "inst23" (rect 3 37 32 49)(font "Arial" ))
1003
        (port
1004
                (pt 0 16)
1005
                (input)
1006
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1007
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1008
                (line (pt 0 16)(pt 14 16))
1009
        )
1010
        (port
1011
                (pt 0 32)
1012
                (input)
1013
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1014
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1015
                (line (pt 0 32)(pt 14 32))
1016
        )
1017
        (port
1018
                (pt 64 24)
1019
                (output)
1020
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1021
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1022
                (line (pt 42 24)(pt 64 24))
1023
        )
1024
        (drawing
1025
                (line (pt 14 12)(pt 30 12))
1026
                (line (pt 14 37)(pt 31 37))
1027
                (line (pt 14 12)(pt 14 37))
1028
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
1029
        )
1030
)
1031
(symbol
1032
        (rect 584 1096 616 1128)
1033
        (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
1034
        (text "gnd_inst8" (rect 3 21 50 33)(font "Arial" )(invisible))
1035
        (port
1036
                (pt 16 0)
1037
                (output)
1038
                (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
1039
                (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
1040
                (line (pt 16 8)(pt 16 0))
1041
        )
1042
        (drawing
1043
                (line (pt 8 8)(pt 16 16))
1044
                (line (pt 16 16)(pt 24 8))
1045
                (line (pt 8 8)(pt 24 8))
1046
        )
1047
)
1048
(symbol
1049
        (rect 224 592 272 624)
1050
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
1051
        (text "notcc" (rect 3 21 30 33)(font "Arial" ))
1052
        (port
1053
                (pt 0 16)
1054
                (input)
1055
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1056
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1057
                (line (pt 0 16)(pt 13 16))
1058
        )
1059
        (port
1060
                (pt 48 16)
1061
                (output)
1062
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1063
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1064
                (line (pt 39 16)(pt 48 16))
1065
        )
1066
        (drawing
1067
                (line (pt 13 25)(pt 13 7))
1068
                (line (pt 13 7)(pt 31 16))
1069
                (line (pt 13 25)(pt 31 16))
1070
                (circle (rect 31 12 39 20))
1071
        )
1072
)
1073
(symbol
1074
        (rect 288 536 336 568)
1075
        (text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
1076
        (text "inst15" (rect 3 21 32 33)(font "Arial" ))
1077
        (port
1078
                (pt 0 16)
1079
                (input)
1080
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1081
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1082
                (line (pt 0 16)(pt 14 16))
1083
        )
1084
        (port
1085
                (pt 48 16)
1086
                (output)
1087
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1088
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1089
                (line (pt 32 16)(pt 48 16))
1090
        )
1091
        (drawing
1092
                (line (pt 14 7)(pt 32 16))
1093
                (line (pt 14 25)(pt 14 7))
1094
                (line (pt 14 25)(pt 32 16))
1095
        )
1096
)
1097
(symbol
1098
        (rect 432 856 496 904)
1099
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
1100
        (text "inst24" (rect 3 37 32 49)(font "Arial" ))
1101
        (port
1102
                (pt 0 32)
1103
                (input)
1104
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1105
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1106
                (line (pt 0 32)(pt 15 32))
1107
        )
1108
        (port
1109
                (pt 0 16)
1110
                (input)
1111
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1112
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1113
                (line (pt 0 16)(pt 15 16))
1114
        )
1115
        (port
1116
                (pt 64 24)
1117
                (output)
1118
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1119
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1120
                (line (pt 48 24)(pt 64 24))
1121
        )
1122
        (drawing
1123
                (line (pt 14 36)(pt 25 36))
1124
                (line (pt 14 13)(pt 25 13))
1125
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
1126
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
1127
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
1128
        )
1129
)
1130
(symbol
1131
        (rect 536 888 584 920)
1132
        (text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
1133
        (text "inst16" (rect 3 21 32 33)(font "Arial" ))
1134
        (port
1135
                (pt 0 16)
1136
                (input)
1137
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1138
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1139
                (line (pt 0 16)(pt 14 16))
1140
        )
1141
        (port
1142
                (pt 48 16)
1143
                (output)
1144
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1145
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1146
                (line (pt 32 16)(pt 48 16))
1147
        )
1148
        (drawing
1149
                (line (pt 14 7)(pt 32 16))
1150
                (line (pt 14 25)(pt 14 7))
1151
                (line (pt 14 25)(pt 32 16))
1152
        )
1153
)
1154
(symbol
1155
        (rect 536 920 584 952)
1156
        (text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
1157
        (text "inst17" (rect 3 21 32 33)(font "Arial" ))
1158
        (port
1159
                (pt 0 16)
1160
                (input)
1161
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1162
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1163
                (line (pt 0 16)(pt 14 16))
1164
        )
1165
        (port
1166
                (pt 48 16)
1167
                (output)
1168
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1169
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1170
                (line (pt 32 16)(pt 48 16))
1171
        )
1172
        (drawing
1173
                (line (pt 14 7)(pt 32 16))
1174
                (line (pt 14 25)(pt 14 7))
1175
                (line (pt 14 25)(pt 32 16))
1176
        )
1177
)
1178
(symbol
1179
        (rect 536 992 584 1024)
1180
        (text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
1181
        (text "inst18" (rect 3 21 32 33)(font "Arial" ))
1182
        (port
1183
                (pt 0 16)
1184
                (input)
1185
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1186
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1187
                (line (pt 0 16)(pt 14 16))
1188
        )
1189
        (port
1190
                (pt 48 16)
1191
                (output)
1192
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1193
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1194
                (line (pt 32 16)(pt 48 16))
1195
        )
1196
        (drawing
1197
                (line (pt 14 7)(pt 32 16))
1198
                (line (pt 14 25)(pt 14 7))
1199
                (line (pt 14 25)(pt 32 16))
1200
        )
1201
)
1202
(symbol
1203
        (rect 536 1024 584 1056)
1204
        (text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
1205
        (text "inst19" (rect 3 21 32 33)(font "Arial" ))
1206
        (port
1207
                (pt 0 16)
1208
                (input)
1209
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1210
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1211
                (line (pt 0 16)(pt 14 16))
1212
        )
1213
        (port
1214
                (pt 48 16)
1215
                (output)
1216
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1217
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1218
                (line (pt 32 16)(pt 48 16))
1219
        )
1220
        (drawing
1221
                (line (pt 14 7)(pt 32 16))
1222
                (line (pt 14 25)(pt 14 7))
1223
                (line (pt 14 25)(pt 32 16))
1224
        )
1225
)
1226
(symbol
1227
        (rect 360 1360 472 1488)
1228
        (text "alu_mux_4" (rect 5 0 66 14)(font "Arial" (font_size 8)))
1229
        (text "inst_pf_sel" (rect 8 112 62 124)(font "Arial" ))
1230
        (port
1231
                (pt 0 32)
1232
                (input)
1233
                (text "sel[1..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
1234
                (text "sel[1..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
1235
                (line (pt 0 32)(pt 16 32)(line_width 3))
1236
        )
1237
        (port
1238
                (pt 0 48)
1239
                (input)
1240
                (text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1241
                (text "in0" (rect 21 43 37 57)(font "Arial" (font_size 8)))
1242
                (line (pt 0 48)(pt 16 48))
1243
        )
1244
        (port
1245
                (pt 0 64)
1246
                (input)
1247
                (text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1248
                (text "in1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
1249
                (line (pt 0 64)(pt 16 64))
1250
        )
1251
        (port
1252
                (pt 0 80)
1253
                (input)
1254
                (text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1255
                (text "in2" (rect 21 75 37 89)(font "Arial" (font_size 8)))
1256
                (line (pt 0 80)(pt 16 80))
1257
        )
1258
        (port
1259
                (pt 0 96)
1260
                (input)
1261
                (text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1262
                (text "in3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
1263
                (line (pt 0 96)(pt 16 96))
1264
        )
1265
        (port
1266
                (pt 112 32)
1267
                (output)
1268
                (text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
1269
                (text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
1270
                (line (pt 112 32)(pt 96 32))
1271
        )
1272
        (drawing
1273
                (rectangle (rect 16 16 96 112))
1274
        )
1275
)
1276
(symbol
1277
        (rect 416 1232 480 1280)
1278
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
1279
        (text "inst10" (rect 3 37 32 49)(font "Arial" ))
1280
        (port
1281
                (pt 0 32)
1282
                (input)
1283
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1284
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1285
                (line (pt 0 32)(pt 15 32))
1286
        )
1287
        (port
1288
                (pt 0 16)
1289
                (input)
1290
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1291
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1292
                (line (pt 0 16)(pt 15 16))
1293
        )
1294
        (port
1295
                (pt 64 24)
1296
                (output)
1297
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1298
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1299
                (line (pt 48 24)(pt 64 24))
1300
        )
1301
        (drawing
1302
                (line (pt 14 36)(pt 25 36))
1303
                (line (pt 14 13)(pt 25 13))
1304
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
1305
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
1306
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
1307
        )
1308
)
1309
(symbol
1310
        (rect 336 1568 400 1616)
1311
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
1312
        (text "inst6" (rect 3 37 26 49)(font "Arial" ))
1313
        (port
1314
                (pt 0 16)
1315
                (input)
1316
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1317
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1318
                (line (pt 0 16)(pt 14 16))
1319
        )
1320
        (port
1321
                (pt 0 32)
1322
                (input)
1323
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1324
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1325
                (line (pt 0 32)(pt 14 32))
1326
        )
1327
        (port
1328
                (pt 64 24)
1329
                (output)
1330
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1331
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1332
                (line (pt 42 24)(pt 64 24))
1333
        )
1334
        (drawing
1335
                (line (pt 14 12)(pt 30 12))
1336
                (line (pt 14 37)(pt 31 37))
1337
                (line (pt 14 12)(pt 14 37))
1338
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
1339
        )
1340
)
1341
(symbol
1342
        (rect 336 1616 400 1664)
1343
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
1344
        (text "inst7" (rect 3 37 26 49)(font "Arial" ))
1345
        (port
1346
                (pt 0 16)
1347
                (input)
1348
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1349
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1350
                (line (pt 0 16)(pt 14 16))
1351
        )
1352
        (port
1353
                (pt 0 32)
1354
                (input)
1355
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1356
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1357
                (line (pt 0 32)(pt 14 32))
1358
        )
1359
        (port
1360
                (pt 64 24)
1361
                (output)
1362
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1363
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1364
                (line (pt 42 24)(pt 64 24))
1365
        )
1366
        (drawing
1367
                (line (pt 14 12)(pt 30 12))
1368
                (line (pt 14 37)(pt 31 37))
1369
                (line (pt 14 12)(pt 14 37))
1370
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
1371
        )
1372
)
1373
(symbol
1374
        (rect 432 1592 496 1640)
1375
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
1376
        (text "inst8" (rect 3 37 26 49)(font "Arial" ))
1377
        (port
1378
                (pt 0 32)
1379
                (input)
1380
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1381
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1382
                (line (pt 0 32)(pt 15 32))
1383
        )
1384
        (port
1385
                (pt 0 16)
1386
                (input)
1387
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1388
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1389
                (line (pt 0 16)(pt 15 16))
1390
        )
1391
        (port
1392
                (pt 64 24)
1393
                (output)
1394
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1395
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1396
                (line (pt 48 24)(pt 64 24))
1397
        )
1398
        (drawing
1399
                (line (pt 14 36)(pt 25 36))
1400
                (line (pt 14 13)(pt 25 13))
1401
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
1402
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
1403
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
1404
        )
1405
)
1406
(symbol
1407
        (rect 256 1616 304 1648)
1408
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
1409
        (text "inst9" (rect 3 21 26 33)(font "Arial" ))
1410
        (port
1411
                (pt 0 16)
1412
                (input)
1413
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1414
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1415
                (line (pt 0 16)(pt 13 16))
1416
        )
1417
        (port
1418
                (pt 48 16)
1419
                (output)
1420
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1421
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1422
                (line (pt 39 16)(pt 48 16))
1423
        )
1424
        (drawing
1425
                (line (pt 13 25)(pt 13 7))
1426
                (line (pt 13 7)(pt 31 16))
1427
                (line (pt 13 25)(pt 31 16))
1428
                (circle (rect 31 12 39 20))
1429
        )
1430
)
1431
(symbol
1432
        (rect 432 952 496 1032)
1433
        (text "OR4" (rect 1 0 19 10)(font "Arial" (font_size 6)))
1434
        (text "inst20" (rect 3 69 32 81)(font "Arial" ))
1435
        (port
1436
                (pt 0 16)
1437
                (input)
1438
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1439
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1440
                (line (pt 0 16)(pt 13 16))
1441
        )
1442
        (port
1443
                (pt 0 48)
1444
                (input)
1445
                (text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
1446
                (text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
1447
                (line (pt 0 48)(pt 15 48))
1448
        )
1449
        (port
1450
                (pt 0 64)
1451
                (input)
1452
                (text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
1453
                (text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
1454
                (line (pt 0 64)(pt 13 64))
1455
        )
1456
        (port
1457
                (pt 0 32)
1458
                (input)
1459
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1460
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1461
                (line (pt 0 32)(pt 15 32))
1462
        )
1463
        (port
1464
                (pt 64 40)
1465
                (output)
1466
                (text "OUT" (rect 48 31 65 43)(font "Courier New" (bold))(invisible))
1467
                (text "OUT" (rect 48 31 62 43)(font "Courier New" (bold))(invisible))
1468
                (line (pt 48 40)(pt 64 40))
1469
        )
1470
        (drawing
1471
                (line (pt 13 67)(pt 13 51))
1472
                (line (pt 25 52)(pt 13 52))
1473
                (line (pt 13 12)(pt 13 29))
1474
                (line (pt 13 29)(pt 25 29))
1475
                (arc (pt 7 45)(pt 7 35)(rect -14 24 19 57))
1476
                (arc (pt 49 40)(pt 25 29)(rect -6 29 57 92))
1477
                (arc (pt 25 51)(pt 49 40)(rect -6 -11 57 52))
1478
        )
1479
)
1480
(symbol
1481
        (rect 320 792 384 840)
1482
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
1483
        (text "inst11" (rect 3 37 32 49)(font "Arial" ))
1484
        (port
1485
                (pt 0 32)
1486
                (input)
1487
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1488
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1489
                (line (pt 0 32)(pt 15 32))
1490
        )
1491
        (port
1492
                (pt 0 16)
1493
                (input)
1494
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1495
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1496
                (line (pt 0 16)(pt 15 16))
1497
        )
1498
        (port
1499
                (pt 64 24)
1500
                (output)
1501
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1502
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1503
                (line (pt 48 24)(pt 64 24))
1504
        )
1505
        (drawing
1506
                (line (pt 14 36)(pt 25 36))
1507
                (line (pt 14 13)(pt 25 13))
1508
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
1509
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
1510
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
1511
        )
1512
)
1513
(symbol
1514
        (rect 448 592 560 720)
1515
        (text "alu_mux_4" (rect 5 0 66 14)(font "Arial" (font_size 8)))
1516
        (text "inst_cond_mux" (rect 8 112 82 124)(font "Arial" ))
1517
        (port
1518
                (pt 0 32)
1519
                (input)
1520
                (text "sel[1..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
1521
                (text "sel[1..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
1522
                (line (pt 0 32)(pt 16 32)(line_width 3))
1523
        )
1524
        (port
1525
                (pt 0 48)
1526
                (input)
1527
                (text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1528
                (text "in0" (rect 21 43 37 57)(font "Arial" (font_size 8)))
1529
                (line (pt 0 48)(pt 16 48))
1530
        )
1531
        (port
1532
                (pt 0 64)
1533
                (input)
1534
                (text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1535
                (text "in1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
1536
                (line (pt 0 64)(pt 16 64))
1537
        )
1538
        (port
1539
                (pt 0 80)
1540
                (input)
1541
                (text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1542
                (text "in2" (rect 21 75 37 89)(font "Arial" (font_size 8)))
1543
                (line (pt 0 80)(pt 16 80))
1544
        )
1545
        (port
1546
                (pt 0 96)
1547
                (input)
1548
                (text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
1549
                (text "in3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
1550
                (line (pt 0 96)(pt 16 96))
1551
        )
1552
        (port
1553
                (pt 112 32)
1554
                (output)
1555
                (text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
1556
                (text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
1557
                (line (pt 112 32)(pt 96 32))
1558
        )
1559
        (drawing
1560
                (rectangle (rect 16 16 96 112))
1561
        )
1562
)
1563
(symbol
1564
        (rect 288 496 336 528)
1565
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
1566
        (text "inst27" (rect 3 21 32 33)(font "Arial" ))
1567
        (port
1568
                (pt 0 16)
1569
                (input)
1570
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1571
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
1572
                (line (pt 0 16)(pt 13 16))
1573
        )
1574
        (port
1575
                (pt 48 16)
1576
                (output)
1577
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
1578
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
1579
                (line (pt 39 16)(pt 48 16))
1580
        )
1581
        (drawing
1582
                (line (pt 13 25)(pt 13 7))
1583
                (line (pt 13 7)(pt 31 16))
1584
                (line (pt 13 25)(pt 31 16))
1585
                (circle (rect 31 12 39 20))
1586
        )
1587
)
1588
(symbol
1589
        (rect 288 576 352 624)
1590
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
1591
        (text "inst28" (rect 3 37 32 49)(font "Arial" ))
1592
        (port
1593
                (pt 0 16)
1594
                (input)
1595
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1596
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1597
                (line (pt 0 16)(pt 14 16))
1598
        )
1599
        (port
1600
                (pt 0 32)
1601
                (input)
1602
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1603
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1604
                (line (pt 0 32)(pt 14 32))
1605
        )
1606
        (port
1607
                (pt 64 24)
1608
                (output)
1609
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1610
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1611
                (line (pt 42 24)(pt 64 24))
1612
        )
1613
        (drawing
1614
                (line (pt 14 12)(pt 30 12))
1615
                (line (pt 14 37)(pt 31 37))
1616
                (line (pt 14 12)(pt 14 37))
1617
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
1618
        )
1619
)
1620
(symbol
1621
        (rect 592 592 656 640)
1622
        (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
1623
        (text "cond_neg" (rect 3 37 50 49)(font "Arial" ))
1624
        (port
1625
                (pt 0 16)
1626
                (input)
1627
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1628
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
1629
                (line (pt 0 16)(pt 11 16))
1630
        )
1631
        (port
1632
                (pt 0 32)
1633
                (input)
1634
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1635
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
1636
                (line (pt 0 32)(pt 11 32))
1637
        )
1638
        (port
1639
                (pt 64 24)
1640
                (output)
1641
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
1642
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
1643
                (line (pt 49 24)(pt 64 24))
1644
        )
1645
        (drawing
1646
                (line (pt 14 13)(pt 25 13))
1647
                (line (pt 14 36)(pt 25 36))
1648
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
1649
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
1650
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
1651
                (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42))
1652
        )
1653
)
1654
(symbol
1655
        (rect 728 592 792 672)
1656
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
1657
        (text "inst_cond" (rect 3 68 50 80)(font "Arial" ))
1658
        (port
1659
                (pt 32 0)
1660
                (input)
1661
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
1662
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
1663
                (line (pt 32 4)(pt 32 0))
1664
        )
1665
        (port
1666
                (pt 32 80)
1667
                (input)
1668
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
1669
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
1670
                (line (pt 32 80)(pt 32 76))
1671
        )
1672
        (port
1673
                (pt 0 24)
1674
                (input)
1675
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
1676
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
1677
                (line (pt 0 24)(pt 12 24))
1678
        )
1679
        (port
1680
                (pt 0 40)
1681
                (input)
1682
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
1683
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
1684
                (line (pt 0 40)(pt 12 40))
1685
        )
1686
        (port
1687
                (pt 0 56)
1688
                (input)
1689
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
1690
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
1691
                (line (pt 0 56)(pt 12 56))
1692
        )
1693
        (port
1694
                (pt 64 24)
1695
                (output)
1696
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
1697
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
1698
                (line (pt 53 24)(pt 64 24))
1699
        )
1700
        (drawing
1701
                (line (pt 12 68)(pt 52 68))
1702
                (line (pt 12 12)(pt 52 12))
1703
                (line (pt 52 68)(pt 52 12))
1704
                (line (pt 12 68)(pt 12 12))
1705
                (line (pt 12 34)(pt 19 41))
1706
                (line (pt 18 41)(pt 12 47))
1707
                (circle (rect 28 4 36 12))
1708
                (circle (rect 28 68 36 76))
1709
        )
1710
)
1711
(symbol
1712
        (rect 320 1144 384 1224)
1713
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
1714
        (text "latch_pf_tmp" (rect 3 68 67 80)(font "Arial" ))
1715
        (port
1716
                (pt 32 0)
1717
                (input)
1718
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
1719
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
1720
                (line (pt 32 4)(pt 32 0))
1721
        )
1722
        (port
1723
                (pt 32 80)
1724
                (input)
1725
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
1726
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
1727
                (line (pt 32 80)(pt 32 76))
1728
        )
1729
        (port
1730
                (pt 0 24)
1731
                (input)
1732
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
1733
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
1734
                (line (pt 0 24)(pt 12 24))
1735
        )
1736
        (port
1737
                (pt 0 40)
1738
                (input)
1739
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
1740
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
1741
                (line (pt 0 40)(pt 12 40))
1742
        )
1743
        (port
1744
                (pt 0 56)
1745
                (input)
1746
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
1747
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
1748
                (line (pt 0 56)(pt 12 56))
1749
        )
1750
        (port
1751
                (pt 64 24)
1752
                (output)
1753
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
1754
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
1755
                (line (pt 53 24)(pt 64 24))
1756
        )
1757
        (drawing
1758
                (line (pt 12 68)(pt 52 68))
1759
                (line (pt 12 12)(pt 52 12))
1760
                (line (pt 52 68)(pt 52 12))
1761
                (line (pt 12 68)(pt 12 12))
1762
                (line (pt 12 34)(pt 19 41))
1763
                (line (pt 18 41)(pt 12 47))
1764
                (circle (rect 28 4 36 12))
1765
                (circle (rect 28 68 36 76))
1766
        )
1767
)
1768
(connector
1769
        (pt 320 168)
1770
        (pt 384 168)
1771
)
1772
(connector
1773
        (pt 320 64)
1774
        (pt 384 64)
1775
)
1776
(connector
1777
        (pt 456 200)
1778
        (pt 456 152)
1779
)
1780
(connector
1781
        (pt 560 56)
1782
        (pt 560 72)
1783
)
1784
(connector
1785
        (pt 560 104)
1786
        (pt 560 88)
1787
)
1788
(connector
1789
        (pt 640 80)
1790
        (pt 648 80)
1791
)
1792
(connector
1793
        (pt 456 200)
1794
        (pt 480 200)
1795
)
1796
(connector
1797
        (pt 320 216)
1798
        (pt 480 216)
1799
)
1800
(connector
1801
        (pt 560 88)
1802
        (pt 576 88)
1803
)
1804
(connector
1805
        (pt 560 72)
1806
        (pt 576 72)
1807
)
1808
(connector
1809
        (pt 400 392)
1810
        (pt 448 392)
1811
)
1812
(connector
1813
        (pt 448 344)
1814
        (pt 400 344)
1815
)
1816
(connector
1817
        (pt 400 312)
1818
        (pt 400 328)
1819
)
1820
(connector
1821
        (pt 448 328)
1822
        (pt 400 328)
1823
)
1824
(connector
1825
        (pt 376 280)
1826
        (pt 376 360)
1827
)
1828
(connector
1829
        (pt 448 360)
1830
        (pt 376 360)
1831
)
1832
(connector
1833
        (pt 352 376)
1834
        (pt 352 368)
1835
)
1836
(connector
1837
        (pt 448 376)
1838
        (pt 352 376)
1839
)
1840
(connector
1841
        (pt 288 96)
1842
        (pt 288 296)
1843
)
1844
(connector
1845
        (pt 448 296)
1846
        (pt 288 296)
1847
)
1848
(connector
1849
        (pt 264 48)
1850
        (pt 264 280)
1851
)
1852
(connector
1853
        (pt 416 872)
1854
        (pt 432 872)
1855
)
1856
(connector
1857
        (text "out[3]" (rect 612 944 640 956)(font "Arial" ))
1858
        (pt 600 960)
1859
        (pt 656 960)
1860
)
1861
(connector
1862
        (text "out[7]" (rect 614 1048 642 1060)(font "Arial" ))
1863
        (pt 600 1064)
1864
        (pt 656 1064)
1865
)
1866
(connector
1867
        (text "out[7..0]" (rect 659 864 700 876)(font "Arial" ))
1868
        (pt 656 880)
1869
        (pt 704 880)
1870
        (bus)
1871
)
1872
(connector
1873
        (pt 520 904)
1874
        (pt 536 904)
1875
)
1876
(connector
1877
        (pt 520 936)
1878
        (pt 536 936)
1879
)
1880
(connector
1881
        (pt 520 1008)
1882
        (pt 536 1008)
1883
)
1884
(connector
1885
        (pt 520 1040)
1886
        (pt 536 1040)
1887
)
1888
(connector
1889
        (pt 400 1248)
1890
        (pt 416 1248)
1891
)
1892
(connector
1893
        (pt 320 112)
1894
        (pt 480 112)
1895
)
1896
(connector
1897
        (text "out[0]" (rect 616 864 644 876)(font "Arial" ))
1898
        (pt 600 880)
1899
        (pt 656 880)
1900
)
1901
(connector
1902
        (text "out[4]" (rect 614 968 642 980)(font "Arial" ))
1903
        (pt 600 984)
1904
        (pt 656 984)
1905
)
1906
(connector
1907
        (pt 416 1264)
1908
        (pt 288 1264)
1909
)
1910
(connector
1911
        (pt 360 1408)
1912
        (pt 264 1408)
1913
)
1914
(connector
1915
        (pt 264 1168)
1916
        (pt 264 1408)
1917
)
1918
(connector
1919
        (pt 288 1296)
1920
        (pt 576 1296)
1921
)
1922
(connector
1923
        (text "op543[0]" (rect 304 212 316 254)(font "Arial" )(vertical))
1924
        (pt 320 216)
1925
        (pt 320 264)
1926
)
1927
(connector
1928
        (pt 400 344)
1929
        (pt 400 392)
1930
)
1931
(connector
1932
        (pt 400 392)
1933
        (pt 400 408)
1934
)
1935
(connector
1936
        (pt 264 280)
1937
        (pt 376 280)
1938
)
1939
(connector
1940
        (pt 376 280)
1941
        (pt 448 280)
1942
)
1943
(connector
1944
        (pt 320 264)
1945
        (pt 448 264)
1946
        (bus)
1947
)
1948
(connector
1949
        (pt 320 64)
1950
        (pt 320 112)
1951
)
1952
(connector
1953
        (pt 320 112)
1954
        (pt 320 168)
1955
)
1956
(connector
1957
        (pt 320 168)
1958
        (pt 320 216)
1959
)
1960
(connector
1961
        (pt 288 1264)
1962
        (pt 288 1296)
1963
)
1964
(connector
1965
        (pt 288 96)
1966
        (pt 480 96)
1967
)
1968
(connector
1969
        (pt 264 48)
1970
        (pt 480 48)
1971
)
1972
(connector
1973
        (pt 456 152)
1974
        (pt 480 152)
1975
)
1976
(connector
1977
        (pt 264 1168)
1978
        (pt 320 1168)
1979
)
1980
(connector
1981
        (pt 560 264)
1982
        (pt 648 264)
1983
)
1984
(connector
1985
        (pt 544 160)
1986
        (pt 648 160)
1987
)
1988
(connector
1989
        (pt 544 208)
1990
        (pt 648 208)
1991
)
1992
(connector
1993
        (pt 432 168)
1994
        (pt 480 168)
1995
)
1996
(connector
1997
        (pt 432 64)
1998
        (pt 480 64)
1999
)
2000
(connector
2001
        (pt 544 104)
2002
        (pt 560 104)
2003
)
2004
(connector
2005
        (pt 544 56)
2006
        (pt 560 56)
2007
)
2008
(connector
2009
        (pt 752 880)
2010
        (pt 792 880)
2011
        (bus)
2012
)
2013
(connector
2014
        (pt 496 880)
2015
        (pt 520 880)
2016
)
2017
(connector
2018
        (text "out[1]" (rect 610 888 638 900)(font "Arial" ))
2019
        (pt 584 904)
2020
        (pt 656 904)
2021
)
2022
(connector
2023
        (text "out[2]" (rect 613 920 641 932)(font "Arial" ))
2024
        (pt 584 936)
2025
        (pt 656 936)
2026
)
2027
(connector
2028
        (text "out[5]" (rect 611 992 639 1004)(font "Arial" ))
2029
        (pt 584 1008)
2030
        (pt 656 1008)
2031
)
2032
(connector
2033
        (text "out[6]" (rect 614 1024 642 1036)(font "Arial" ))
2034
        (pt 584 1040)
2035
        (pt 656 1040)
2036
)
2037
(connector
2038
        (pt 472 1392)
2039
        (pt 584 1392)
2040
)
2041
(connector
2042
        (pt 480 1256)
2043
        (pt 576 1256)
2044
)
2045
(connector
2046
        (pt 208 96)
2047
        (pt 288 96)
2048
)
2049
(connector
2050
        (pt 208 48)
2051
        (pt 264 48)
2052
)
2053
(connector
2054
        (pt 208 152)
2055
        (pt 456 152)
2056
)
2057
(connector
2058
        (pt 208 1168)
2059
        (pt 264 1168)
2060
)
2061
(connector
2062
        (pt 208 1424)
2063
        (pt 360 1424)
2064
)
2065
(connector
2066
        (pt 208 1440)
2067
        (pt 360 1440)
2068
)
2069
(connector
2070
        (pt 208 1392)
2071
        (pt 360 1392)
2072
        (bus)
2073
)
2074
(connector
2075
        (pt 496 1616)
2076
        (pt 528 1616)
2077
)
2078
(connector
2079
        (pt 400 1592)
2080
        (pt 416 1592)
2081
)
2082
(connector
2083
        (pt 416 1592)
2084
        (pt 416 1608)
2085
)
2086
(connector
2087
        (pt 416 1608)
2088
        (pt 432 1608)
2089
)
2090
(connector
2091
        (pt 400 1640)
2092
        (pt 416 1640)
2093
)
2094
(connector
2095
        (pt 416 1640)
2096
        (pt 416 1624)
2097
)
2098
(connector
2099
        (pt 416 1624)
2100
        (pt 432 1624)
2101
)
2102
(connector
2103
        (pt 232 1560)
2104
        (pt 208 1560)
2105
)
2106
(connector
2107
        (text "flags_cf" (rect 124 1632 165 1644)(font "Arial" ))
2108
        (pt 120 1648)
2109
        (pt 336 1648)
2110
)
2111
(connector
2112
        (pt 232 1584)
2113
        (pt 336 1584)
2114
)
2115
(connector
2116
        (pt 232 1560)
2117
        (pt 232 1584)
2118
)
2119
(connector
2120
        (pt 232 1584)
2121
        (pt 232 1632)
2122
)
2123
(connector
2124
        (pt 304 1632)
2125
        (pt 336 1632)
2126
)
2127
(connector
2128
        (pt 256 1632)
2129
        (pt 232 1632)
2130
)
2131
(connector
2132
        (pt 208 1456)
2133
        (pt 360 1456)
2134
)
2135
(connector
2136
        (pt 208 312)
2137
        (pt 400 312)
2138
)
2139
(connector
2140
        (pt 400 312)
2141
        (pt 448 312)
2142
)
2143
(connector
2144
        (pt 520 992)
2145
        (pt 496 992)
2146
)
2147
(connector
2148
        (pt 520 1080)
2149
        (pt 792 1080)
2150
)
2151
(connector
2152
        (pt 432 888)
2153
        (pt 384 888)
2154
)
2155
(connector
2156
        (pt 208 976)
2157
        (pt 320 976)
2158
)
2159
(connector
2160
        (pt 240 880)
2161
        (pt 240 960)
2162
)
2163
(connector
2164
        (pt 240 960)
2165
        (pt 320 960)
2166
)
2167
(connector
2168
        (pt 432 968)
2169
        (pt 416 968)
2170
)
2171
(connector
2172
        (pt 432 984)
2173
        (pt 400 984)
2174
)
2175
(connector
2176
        (pt 400 984)
2177
        (pt 400 968)
2178
)
2179
(connector
2180
        (pt 384 968)
2181
        (pt 400 968)
2182
)
2183
(connector
2184
        (pt 432 1000)
2185
        (pt 208 1000)
2186
)
2187
(connector
2188
        (pt 432 1016)
2189
        (pt 400 1016)
2190
)
2191
(connector
2192
        (pt 400 1016)
2193
        (pt 400 1032)
2194
)
2195
(connector
2196
        (text "flags_cf_latch" (rect 136 1016 206 1028)(font "Arial" ))
2197
        (pt 400 1032)
2198
        (pt 128 1032)
2199
)
2200
(connector
2201
        (pt 208 896)
2202
        (pt 320 896)
2203
)
2204
(connector
2205
        (pt 208 1600)
2206
        (pt 336 1600)
2207
)
2208
(connector
2209
        (pt 520 880)
2210
        (pt 520 904)
2211
)
2212
(connector
2213
        (pt 520 904)
2214
        (pt 520 936)
2215
)
2216
(connector
2217
        (pt 600 880)
2218
        (pt 600 960)
2219
)
2220
(connector
2221
        (pt 600 960)
2222
        (pt 600 984)
2223
)
2224
(connector
2225
        (pt 600 984)
2226
        (pt 600 1064)
2227
)
2228
(connector
2229
        (pt 600 1064)
2230
        (pt 600 1096)
2231
)
2232
(connector
2233
        (pt 656 880)
2234
        (pt 656 904)
2235
        (bus)
2236
)
2237
(connector
2238
        (pt 656 904)
2239
        (pt 656 936)
2240
        (bus)
2241
)
2242
(connector
2243
        (pt 656 936)
2244
        (pt 656 960)
2245
        (bus)
2246
)
2247
(connector
2248
        (pt 656 960)
2249
        (pt 656 984)
2250
        (bus)
2251
)
2252
(connector
2253
        (pt 656 984)
2254
        (pt 656 1008)
2255
        (bus)
2256
)
2257
(connector
2258
        (pt 656 1008)
2259
        (pt 656 1040)
2260
        (bus)
2261
)
2262
(connector
2263
        (pt 656 1040)
2264
        (pt 656 1064)
2265
        (bus)
2266
)
2267
(connector
2268
        (pt 208 880)
2269
        (pt 240 880)
2270
)
2271
(connector
2272
        (pt 240 880)
2273
        (pt 320 880)
2274
)
2275
(connector
2276
        (pt 416 848)
2277
        (pt 416 872)
2278
)
2279
(connector
2280
        (pt 416 872)
2281
        (pt 416 968)
2282
)
2283
(connector
2284
        (pt 520 992)
2285
        (pt 520 1008)
2286
)
2287
(connector
2288
        (pt 520 1008)
2289
        (pt 520 1040)
2290
)
2291
(connector
2292
        (pt 520 1040)
2293
        (pt 520 1080)
2294
)
2295
(connector
2296
        (pt 728 864)
2297
        (pt 728 816)
2298
)
2299
(connector
2300
        (pt 384 816)
2301
        (pt 728 816)
2302
)
2303
(connector
2304
        (pt 208 808)
2305
        (pt 320 808)
2306
)
2307
(connector
2308
        (pt 320 824)
2309
        (pt 240 824)
2310
)
2311
(connector
2312
        (pt 240 824)
2313
        (pt 240 848)
2314
)
2315
(connector
2316
        (pt 240 848)
2317
        (pt 416 848)
2318
)
2319
(connector
2320
        (pt 208 848)
2321
        (pt 240 848)
2322
)
2323
(connector
2324
        (text "op543[0]" (rect 243 496 285 508)(font "Arial" ))
2325
        (pt 232 512)
2326
        (pt 288 512)
2327
)
2328
(connector
2329
        (text "op543[2]" (rect 238 576 280 588)(font "Arial" ))
2330
        (pt 288 592)
2331
        (pt 232 592)
2332
)
2333
(connector
2334
        (text "op543[1]" (rect 242 536 284 548)(font "Arial" ))
2335
        (pt 232 552)
2336
        (pt 288 552)
2337
)
2338
(connector
2339
        (pt 272 608)
2340
        (pt 288 608)
2341
)
2342
(connector
2343
        (pt 208 608)
2344
        (pt 224 608)
2345
)
2346
(connector
2347
        (pt 208 264)
2348
        (pt 232 264)
2349
        (bus)
2350
)
2351
(connector
2352
        (pt 232 264)
2353
        (pt 320 264)
2354
        (bus)
2355
)
2356
(connector
2357
        (pt 232 264)
2358
        (pt 232 512)
2359
        (bus)
2360
)
2361
(connector
2362
        (pt 232 512)
2363
        (pt 232 552)
2364
        (bus)
2365
)
2366
(connector
2367
        (pt 232 552)
2368
        (pt 232 592)
2369
        (bus)
2370
)
2371
(connector
2372
        (text "sel[0]" (rect 357 536 384 548)(font "Arial" ))
2373
        (pt 336 552)
2374
        (pt 392 552)
2375
)
2376
(connector
2377
        (text "sel[1]" (rect 358 584 385 596)(font "Arial" ))
2378
        (pt 352 600)
2379
        (pt 392 600)
2380
)
2381
(connector
2382
        (text "sel[1..0]" (rect 407 608 447 620)(font "Arial" ))
2383
        (pt 392 624)
2384
        (pt 448 624)
2385
        (bus)
2386
)
2387
(connector
2388
        (pt 392 552)
2389
        (pt 392 600)
2390
        (bus)
2391
)
2392
(connector
2393
        (pt 392 600)
2394
        (pt 392 624)
2395
        (bus)
2396
)
2397
(connector
2398
        (pt 208 656)
2399
        (pt 448 656)
2400
)
2401
(connector
2402
        (pt 208 640)
2403
        (pt 448 640)
2404
)
2405
(connector
2406
        (pt 208 672)
2407
        (pt 448 672)
2408
)
2409
(connector
2410
        (pt 208 688)
2411
        (pt 448 688)
2412
)
2413
(connector
2414
        (text "condition" (rect 669 600 712 612)(font "Arial" ))
2415
        (pt 656 616)
2416
        (pt 728 616)
2417
)
2418
(connector
2419
        (pt 560 624)
2420
        (pt 592 624)
2421
)
2422
(connector
2423
        (pt 336 512)
2424
        (pt 576 512)
2425
)
2426
(connector
2427
        (pt 576 512)
2428
        (pt 576 608)
2429
)
2430
(connector
2431
        (pt 576 608)
2432
        (pt 592 608)
2433
)
2434
(connector
2435
        (pt 792 616)
2436
        (pt 800 616)
2437
)
2438
(connector
2439
        (pt 728 648)
2440
        (pt 680 648)
2441
)
2442
(connector
2443
        (pt 680 648)
2444
        (pt 680 736)
2445
)
2446
(connector
2447
        (pt 680 736)
2448
        (pt 208 736)
2449
)
2450
(connector
2451
        (text "clk" (rect 686 616 700 628)(font "Arial" ))
2452
        (pt 728 632)
2453
        (pt 680 632)
2454
)
2455
(connector
2456
        (pt 400 1248)
2457
        (pt 400 1168)
2458
)
2459
(connector
2460
        (pt 400 1168)
2461
        (pt 384 1168)
2462
)
2463
(connector
2464
        (pt 288 1200)
2465
        (pt 288 1264)
2466
)
2467
(connector
2468
        (pt 208 1200)
2469
        (pt 288 1200)
2470
)
2471
(connector
2472
        (pt 288 1200)
2473
        (pt 320 1200)
2474
)
2475
(connector
2476
        (pt 208 1184)
2477
        (pt 320 1184)
2478
)
2479
(junction (pt 456 152))
2480
(junction (pt 320 216))
2481
(junction (pt 320 168))
2482
(junction (pt 400 392))
2483
(junction (pt 264 48))
2484
(junction (pt 376 280))
2485
(junction (pt 320 264))
2486
(junction (pt 232 264))
2487
(junction (pt 320 112))
2488
(junction (pt 288 96))
2489
(junction (pt 264 1168))
2490
(junction (pt 288 1264))
2491
(junction (pt 232 1584))
2492
(junction (pt 400 312))
2493
(junction (pt 520 904))
2494
(junction (pt 600 960))
2495
(junction (pt 600 984))
2496
(junction (pt 600 1064))
2497
(junction (pt 656 960))
2498
(junction (pt 656 984))
2499
(junction (pt 656 880))
2500
(junction (pt 656 904))
2501
(junction (pt 656 936))
2502
(junction (pt 656 1008))
2503
(junction (pt 656 1040))
2504
(junction (pt 240 880))
2505
(junction (pt 416 872))
2506
(junction (pt 520 1008))
2507
(junction (pt 520 1040))
2508
(junction (pt 240 848))
2509
(junction (pt 232 512))
2510
(junction (pt 232 552))
2511
(junction (pt 392 600))
2512
(junction (pt 288 1200))
2513
(text "Bit that is shifted in depends on the opcode:" (rect 576 288 824 302)(font "Arial" (font_size 8)))
2514
(text "000 RLC -> old D[7]" (rect 576 304 685 318)(font "Arial" (font_size 8)))
2515
(text "001 RRC -> old D[0]" (rect 576 320 686 334)(font "Arial" (font_size 8)))
2516
(text "010 RL -> CF" (rect 576 336 650 350)(font "Arial" (font_size 8)))
2517
(text "011 RR -> CF" (rect 576 352 651 366)(font "Arial" (font_size 8)))
2518
(text "100 SLA -> 0" (rect 576 368 651 382)(font "Arial" (font_size 8)))
2519
(text "101 SRA -> D[7]" (rect 576 384 668 398)(font "Arial" (font_size 8)))
2520
(text "110 SLL -> 1" (rect 576 400 649 414)(font "Arial" (font_size 8)))
2521
(text "111 SRL -> 0" (rect 576 416 650 430)(font "Arial" (font_size 8)))
2522
(text "Select cf out based on the shift direction" (rect 560 32 790 46)(font "Arial" (font_size 8)))
2523
(text "Low nibble 0x6" (rect 432 832 519 846)(font "Arial" (font_size 8)))
2524
(text "High nibble 0x6" (rect 432 912 518 926)(font "Arial" (font_size 8)))
2525
(text "Shifter control" (rect 352 16 446 32)(font "Arial" (font_size 10)))
2526
(text "DAA + bus(66) logic" (rect 336 768 474 784)(font "Arial" (font_size 10)))
2527
(text "Half-parity control" (rect 352 1104 471 1120)(font "Arial" (font_size 10)))
2528
(text "Flag condition mux" (rect 440 536 569 552)(font "Arial" (font_size 10)))
2529
(text "Parity / Overflow input selector" (rect 336 1328 543 1344)(font "Arial" (font_size 10)))
2530
(text "Mux: when op is low, \"1\"; else pf_tmp" (rect 432 1192 647 1206)(font "Arial" (font_size 8)))
2531
(text "Carry flag into ALU core" (rect 352 1520 514 1536)(font "Arial" (font_size 10)))
2532
(title_block
2533
        (rect 32 1696 289 1748)
2534
        (name "title-custom-small")
2535
        (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))
2536
        (section (rect 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "alu_control" (rect 43 2 118 17)(font "Arial" (font_size 9)(bold)))(border))
2537
        (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))
2538
        (section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "June 28, 2014" (rect 56 3 136 17)(font "Arial" (font_size 8)))(border))
2539
        (section (rect 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.6" (rect 43 3 60 17)(font "Arial" (font_size 8)))(border))
2540
        (drawing
2541
        )
2542
)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.