-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALU1.bdf
884 lines (884 loc) · 21.7 KB
/
ALU1.bdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2010 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 96 48 264 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A[7..0]" (rect 5 0 38 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 96 80 264 96)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "B[7..0]" (rect 5 0 38 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 96 160 264 176)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "S[3..0]" (rect 5 0 38 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 96 120 264 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "M" (rect 5 0 13 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 592 16 760 32)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "Cin" (rect 5 0 21 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 88 424 264 440)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "F[7..0]" (rect 53 4 86 16)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 4)(pt 124 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
)
(rotate180)
)
(pin
(output)
(rect 224 376 400 392)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "Cout" (rect 63 4 86 16)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 4)(pt 124 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 344 232 600 352)
(text "74181" (rect 240 41 256 82)(font "Arial" (font_size 10))(vertical))
(text "inst1" (rect -1 3 11 26)(font "Arial" )(vertical))
(port
(pt 216 0)
(input)
(text "B0N" (rect 22 33 45 47)(font "Arial" (font_size 8)))
(text "B0N" (rect 209 22 223 45)(font "Arial" (font_size 8))(vertical))
(line (pt 216 0)(pt 216 8)(line_width 1))
)
(port
(pt 232 0)
(input)
(text "A0N" (rect 22 17 46 31)(font "Arial" (font_size 8)))
(text "A0N" (rect 225 22 239 46)(font "Arial" (font_size 8))(vertical))
(line (pt 232 0)(pt 232 8)(line_width 1))
)
(port
(pt 200 0)
(input)
(text "A1N" (rect 22 49 46 63)(font "Arial" (font_size 8)))
(text "A1N" (rect 193 22 207 46)(font "Arial" (font_size 8))(vertical))
(line (pt 200 0)(pt 200 8)(line_width 1))
)
(port
(pt 184 0)
(input)
(text "B1N" (rect 22 65 45 79)(font "Arial" (font_size 8)))
(text "B1N" (rect 177 22 191 45)(font "Arial" (font_size 8))(vertical))
(line (pt 184 0)(pt 184 8)(line_width 1))
)
(port
(pt 136 0)
(input)
(text "A3N" (rect 22 113 46 127)(font "Arial" (font_size 8)))
(text "A3N" (rect 129 22 143 46)(font "Arial" (font_size 8))(vertical))
(line (pt 136 0)(pt 136 8)(line_width 1))
)
(port
(pt 152 0)
(input)
(text "B2N" (rect 22 97 45 111)(font "Arial" (font_size 8)))
(text "B2N" (rect 145 22 159 45)(font "Arial" (font_size 8))(vertical))
(line (pt 152 0)(pt 152 8)(line_width 1))
)
(port
(pt 168 0)
(input)
(text "A2N" (rect 22 81 46 95)(font "Arial" (font_size 8)))
(text "A2N" (rect 161 22 175 46)(font "Arial" (font_size 8))(vertical))
(line (pt 168 0)(pt 168 8)(line_width 1))
)
(port
(pt 88 0)
(input)
(text "M" (rect 22 161 31 175)(font "Arial" (font_size 8)))
(text "M" (rect 81 22 95 31)(font "Arial" (font_size 8))(vertical))
(line (pt 88 0)(pt 88 16)(line_width 1))
)
(port
(pt 104 0)
(input)
(text "CN" (rect 22 145 38 159)(font "Arial" (font_size 8)))
(text "CN" (rect 97 22 111 38)(font "Arial" (font_size 8))(vertical))
(line (pt 104 0)(pt 104 8)(line_width 1))
)
(port
(pt 120 0)
(input)
(text "B3N" (rect 22 129 45 143)(font "Arial" (font_size 8)))
(text "B3N" (rect 113 22 127 45)(font "Arial" (font_size 8))(vertical))
(line (pt 120 0)(pt 120 8)(line_width 1))
)
(port
(pt 40 0)
(input)
(text "S2" (rect 22 209 37 223)(font "Arial" (font_size 8)))
(text "S2" (rect 33 22 47 37)(font "Arial" (font_size 8))(vertical))
(line (pt 40 0)(pt 40 16)(line_width 1))
)
(port
(pt 56 0)
(input)
(text "S1" (rect 22 193 37 207)(font "Arial" (font_size 8)))
(text "S1" (rect 49 22 63 37)(font "Arial" (font_size 8))(vertical))
(line (pt 56 0)(pt 56 16)(line_width 1))
)
(port
(pt 72 0)
(input)
(text "S0" (rect 22 177 37 191)(font "Arial" (font_size 8)))
(text "S0" (rect 65 22 79 37)(font "Arial" (font_size 8))(vertical))
(line (pt 72 0)(pt 72 16)(line_width 1))
)
(port
(pt 24 0)
(input)
(text "S3" (rect 22 225 37 239)(font "Arial" (font_size 8)))
(text "S3" (rect 17 22 31 37)(font "Arial" (font_size 8))(vertical))
(line (pt 24 0)(pt 24 16)(line_width 1))
)
(port
(pt 168 120)
(output)
(text "PN" (rect 83 81 98 95)(font "Arial" (font_size 8)))
(text "PN" (rect 161 83 175 98)(font "Arial" (font_size 8))(vertical))
(line (pt 168 112)(pt 168 120)(line_width 1))
)
(port
(pt 184 120)
(output)
(text "GN" (rect 83 65 100 79)(font "Arial" (font_size 8)))
(text "GN" (rect 177 83 191 100)(font "Arial" (font_size 8))(vertical))
(line (pt 184 112)(pt 184 120)(line_width 1))
)
(port
(pt 104 120)
(output)
(text "F3N" (rect 80 145 102 159)(font "Arial" (font_size 8)))
(text "F3N" (rect 97 80 111 102)(font "Arial" (font_size 8))(vertical))
(line (pt 104 112)(pt 104 120)(line_width 1))
)
(port
(pt 136 120)
(output)
(text "F1N" (rect 79 113 101 127)(font "Arial" (font_size 8)))
(text "F1N" (rect 129 79 143 101)(font "Arial" (font_size 8))(vertical))
(line (pt 136 112)(pt 136 120)(line_width 1))
)
(port
(pt 152 120)
(output)
(text "F0N" (rect 79 97 101 111)(font "Arial" (font_size 8)))
(text "F0N" (rect 145 79 159 101)(font "Arial" (font_size 8))(vertical))
(line (pt 152 112)(pt 152 120)(line_width 1))
)
(port
(pt 88 120)
(output)
(text "AEQB" (rect 70 161 104 175)(font "Arial" (font_size 8)))
(text "AEQB" (rect 81 70 95 104)(font "Arial" (font_size 8))(vertical))
(line (pt 88 112)(pt 88 120)(line_width 1))
)
(port
(pt 72 120)
(output)
(text "CN4" (rect 77 177 100 191)(font "Arial" (font_size 8)))
(text "CN4" (rect 65 77 79 100)(font "Arial" (font_size 8))(vertical))
(line (pt 72 112)(pt 72 120)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "F2N" (rect 80 129 102 143)(font "Arial" (font_size 8)))
(text "F2N" (rect 113 80 127 102)(font "Arial" (font_size 8))(vertical))
(line (pt 120 112)(pt 120 120)(line_width 1))
)
(drawing
(text "ALU" (rect 1 47 16 74)(font "Arial" (font_size 9))(vertical))
(line (pt 16 16)(pt 16 104)(line_width 1))
(line (pt 16 16)(pt 240 16)(line_width 1))
(line (pt 16 104)(pt 240 104)(line_width 1))
(line (pt 240 16)(pt 240 104)(line_width 1))
(circle (rect 180 104 188 112)(line_width 1))
(circle (rect 164 104 172 112)(line_width 1))
(circle (rect 148 104 156 112)(line_width 1))
(circle (rect 132 104 140 112)(line_width 1))
(circle (rect 116 104 124 112)(line_width 1))
(circle (rect 100 104 108 112)(line_width 1))
(circle (rect 84 104 92 112)(line_width 1))
(circle (rect 68 104 76 112)(line_width 1))
(circle (rect 100 8 108 16)(line_width 1))
(circle (rect 116 8 124 16)(line_width 1))
(circle (rect 132 8 140 16)(line_width 1))
(circle (rect 148 8 156 16)(line_width 1))
(circle (rect 164 8 172 16)(line_width 1))
(circle (rect 180 8 188 16)(line_width 1))
(circle (rect 196 8 204 16)(line_width 1))
(circle (rect 212 8 220 16)(line_width 1))
(circle (rect 228 8 236 16)(line_width 1))
)
(rotate270)
)
(symbol
(rect 728 232 984 352)
(text "74181" (rect 240 41 256 82)(font "Arial" (font_size 10))(vertical))
(text "inst2" (rect -1 3 11 26)(font "Arial" )(vertical))
(port
(pt 216 0)
(input)
(text "B0N" (rect 22 33 45 47)(font "Arial" (font_size 8)))
(text "B0N" (rect 209 22 223 45)(font "Arial" (font_size 8))(vertical))
(line (pt 216 0)(pt 216 8)(line_width 1))
)
(port
(pt 232 0)
(input)
(text "A0N" (rect 22 17 46 31)(font "Arial" (font_size 8)))
(text "A0N" (rect 225 22 239 46)(font "Arial" (font_size 8))(vertical))
(line (pt 232 0)(pt 232 8)(line_width 1))
)
(port
(pt 200 0)
(input)
(text "A1N" (rect 22 49 46 63)(font "Arial" (font_size 8)))
(text "A1N" (rect 193 22 207 46)(font "Arial" (font_size 8))(vertical))
(line (pt 200 0)(pt 200 8)(line_width 1))
)
(port
(pt 184 0)
(input)
(text "B1N" (rect 22 65 45 79)(font "Arial" (font_size 8)))
(text "B1N" (rect 177 22 191 45)(font "Arial" (font_size 8))(vertical))
(line (pt 184 0)(pt 184 8)(line_width 1))
)
(port
(pt 136 0)
(input)
(text "A3N" (rect 22 113 46 127)(font "Arial" (font_size 8)))
(text "A3N" (rect 129 22 143 46)(font "Arial" (font_size 8))(vertical))
(line (pt 136 0)(pt 136 8)(line_width 1))
)
(port
(pt 152 0)
(input)
(text "B2N" (rect 22 97 45 111)(font "Arial" (font_size 8)))
(text "B2N" (rect 145 22 159 45)(font "Arial" (font_size 8))(vertical))
(line (pt 152 0)(pt 152 8)(line_width 1))
)
(port
(pt 168 0)
(input)
(text "A2N" (rect 22 81 46 95)(font "Arial" (font_size 8)))
(text "A2N" (rect 161 22 175 46)(font "Arial" (font_size 8))(vertical))
(line (pt 168 0)(pt 168 8)(line_width 1))
)
(port
(pt 88 0)
(input)
(text "M" (rect 22 161 31 175)(font "Arial" (font_size 8)))
(text "M" (rect 81 22 95 31)(font "Arial" (font_size 8))(vertical))
(line (pt 88 0)(pt 88 16)(line_width 1))
)
(port
(pt 104 0)
(input)
(text "CN" (rect 22 145 38 159)(font "Arial" (font_size 8)))
(text "CN" (rect 97 22 111 38)(font "Arial" (font_size 8))(vertical))
(line (pt 104 0)(pt 104 8)(line_width 1))
)
(port
(pt 120 0)
(input)
(text "B3N" (rect 22 129 45 143)(font "Arial" (font_size 8)))
(text "B3N" (rect 113 22 127 45)(font "Arial" (font_size 8))(vertical))
(line (pt 120 0)(pt 120 8)(line_width 1))
)
(port
(pt 40 0)
(input)
(text "S2" (rect 22 209 37 223)(font "Arial" (font_size 8)))
(text "S2" (rect 33 22 47 37)(font "Arial" (font_size 8))(vertical))
(line (pt 40 0)(pt 40 16)(line_width 1))
)
(port
(pt 56 0)
(input)
(text "S1" (rect 22 193 37 207)(font "Arial" (font_size 8)))
(text "S1" (rect 49 22 63 37)(font "Arial" (font_size 8))(vertical))
(line (pt 56 0)(pt 56 16)(line_width 1))
)
(port
(pt 72 0)
(input)
(text "S0" (rect 22 177 37 191)(font "Arial" (font_size 8)))
(text "S0" (rect 65 22 79 37)(font "Arial" (font_size 8))(vertical))
(line (pt 72 0)(pt 72 16)(line_width 1))
)
(port
(pt 24 0)
(input)
(text "S3" (rect 22 225 37 239)(font "Arial" (font_size 8)))
(text "S3" (rect 17 22 31 37)(font "Arial" (font_size 8))(vertical))
(line (pt 24 0)(pt 24 16)(line_width 1))
)
(port
(pt 168 120)
(output)
(text "PN" (rect 83 81 98 95)(font "Arial" (font_size 8)))
(text "PN" (rect 161 83 175 98)(font "Arial" (font_size 8))(vertical))
(line (pt 168 112)(pt 168 120)(line_width 1))
)
(port
(pt 184 120)
(output)
(text "GN" (rect 83 65 100 79)(font "Arial" (font_size 8)))
(text "GN" (rect 177 83 191 100)(font "Arial" (font_size 8))(vertical))
(line (pt 184 112)(pt 184 120)(line_width 1))
)
(port
(pt 104 120)
(output)
(text "F3N" (rect 80 145 102 159)(font "Arial" (font_size 8)))
(text "F3N" (rect 97 80 111 102)(font "Arial" (font_size 8))(vertical))
(line (pt 104 112)(pt 104 120)(line_width 1))
)
(port
(pt 136 120)
(output)
(text "F1N" (rect 79 113 101 127)(font "Arial" (font_size 8)))
(text "F1N" (rect 129 79 143 101)(font "Arial" (font_size 8))(vertical))
(line (pt 136 112)(pt 136 120)(line_width 1))
)
(port
(pt 152 120)
(output)
(text "F0N" (rect 79 97 101 111)(font "Arial" (font_size 8)))
(text "F0N" (rect 145 79 159 101)(font "Arial" (font_size 8))(vertical))
(line (pt 152 112)(pt 152 120)(line_width 1))
)
(port
(pt 88 120)
(output)
(text "AEQB" (rect 70 161 104 175)(font "Arial" (font_size 8)))
(text "AEQB" (rect 81 70 95 104)(font "Arial" (font_size 8))(vertical))
(line (pt 88 112)(pt 88 120)(line_width 1))
)
(port
(pt 72 120)
(output)
(text "CN4" (rect 77 177 100 191)(font "Arial" (font_size 8)))
(text "CN4" (rect 65 77 79 100)(font "Arial" (font_size 8))(vertical))
(line (pt 72 112)(pt 72 120)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "F2N" (rect 80 129 102 143)(font "Arial" (font_size 8)))
(text "F2N" (rect 113 80 127 102)(font "Arial" (font_size 8))(vertical))
(line (pt 120 112)(pt 120 120)(line_width 1))
)
(drawing
(text "ALU" (rect 1 47 16 74)(font "Arial" (font_size 9))(vertical))
(line (pt 16 16)(pt 16 104)(line_width 1))
(line (pt 16 16)(pt 240 16)(line_width 1))
(line (pt 16 104)(pt 240 104)(line_width 1))
(line (pt 240 16)(pt 240 104)(line_width 1))
(circle (rect 180 104 188 112)(line_width 1))
(circle (rect 164 104 172 112)(line_width 1))
(circle (rect 148 104 156 112)(line_width 1))
(circle (rect 132 104 140 112)(line_width 1))
(circle (rect 116 104 124 112)(line_width 1))
(circle (rect 100 104 108 112)(line_width 1))
(circle (rect 84 104 92 112)(line_width 1))
(circle (rect 68 104 76 112)(line_width 1))
(circle (rect 100 8 108 16)(line_width 1))
(circle (rect 116 8 124 16)(line_width 1))
(circle (rect 132 8 140 16)(line_width 1))
(circle (rect 148 8 156 16)(line_width 1))
(circle (rect 164 8 172 16)(line_width 1))
(circle (rect 180 8 188 16)(line_width 1))
(circle (rect 196 8 204 16)(line_width 1))
(circle (rect 212 8 220 16)(line_width 1))
(circle (rect 228 8 236 16)(line_width 1))
)
(rotate270)
)
(connector
(pt 960 56)
(pt 960 64)
(bus)
)
(connector
(text "A[7]" (rect 472 199 484 219)(font "Arial" )(vertical))
(pt 480 232)
(pt 480 56)
)
(connector
(text "A[6]" (rect 504 199 516 219)(font "Arial" )(vertical))
(pt 512 232)
(pt 512 56)
)
(connector
(text "A[5]" (rect 536 199 548 219)(font "Arial" )(vertical))
(pt 544 232)
(pt 544 56)
)
(connector
(text "A[3]" (rect 856 199 868 219)(font "Arial" )(vertical))
(pt 864 232)
(pt 864 56)
)
(connector
(text "A[2]" (rect 888 199 900 219)(font "Arial" )(vertical))
(pt 896 232)
(pt 896 56)
)
(connector
(text "A[1]" (rect 920 199 932 219)(font "Arial" )(vertical))
(pt 928 232)
(pt 928 56)
)
(connector
(text "A[0]" (rect 952 199 964 219)(font "Arial" )(vertical))
(pt 960 64)
(pt 960 232)
)
(connector
(text "B[7]" (rect 447 120 459 140)(font "Arial" )(vertical))
(pt 464 232)
(pt 464 88)
)
(connector
(text "B[6]" (rect 480 119 492 139)(font "Arial" )(vertical))
(pt 496 232)
(pt 496 88)
)
(connector
(text "B[5]" (rect 512 119 524 139)(font "Arial" )(vertical))
(pt 528 232)
(pt 528 88)
)
(connector
(text "B[4]" (rect 544 119 556 139)(font "Arial" )(vertical))
(pt 560 232)
(pt 560 88)
)
(connector
(text "A[4]" (rect 568 199 580 219)(font "Arial" )(vertical))
(pt 576 56)
(pt 576 232)
)
(connector
(text "B[3]" (rect 840 111 852 131)(font "Arial" )(vertical))
(pt 848 232)
(pt 848 88)
)
(connector
(text "B[2]" (rect 864 111 876 131)(font "Arial" )(vertical))
(pt 880 232)
(pt 880 88)
)
(connector
(text "B[1]" (rect 896 111 908 131)(font "Arial" )(vertical))
(pt 912 88)
(pt 912 232)
)
(connector
(text "B[0]" (rect 928 111 940 131)(font "Arial" )(vertical))
(pt 944 232)
(pt 944 88)
)
(connector
(pt 880 432)
(pt 880 424)
(bus)
)
(connector
(text "F[0]" (rect 888 399 900 419)(font "Arial" )(vertical))
(pt 880 424)
(pt 880 352)
)
(connector
(text "F[1]" (rect 864 399 876 419)(font "Arial" )(vertical))
(pt 864 352)
(pt 864 432)
)
(connector
(text "F[2]" (rect 840 399 852 419)(font "Arial" )(vertical))
(pt 848 352)
(pt 848 432)
)
(connector
(text "F[3]" (rect 816 399 828 419)(font "Arial" )(vertical))
(pt 832 352)
(pt 832 432)
)
(connector
(text "F[4]" (rect 504 399 516 419)(font "Arial" )(vertical))
(pt 496 352)
(pt 496 432)
)
(connector
(text "F[5]" (rect 480 399 492 419)(font "Arial" )(vertical))
(pt 480 352)
(pt 480 432)
)
(connector
(text "F[6]" (rect 456 399 468 419)(font "Arial" )(vertical))
(pt 464 352)
(pt 464 432)
)
(connector
(text "F[7]" (rect 432 399 444 419)(font "Arial" )(vertical))
(pt 448 352)
(pt 448 432)
)
(connector
(text "S[0]" (rect 416 199 428 219)(font "Arial" )(vertical))
(pt 416 232)
(pt 416 208)
)
(connector
(pt 400 232)
(pt 400 224)
)
(connector
(pt 400 224)
(pt 408 224)
)
(connector
(text "S[2]" (rect 376 183 388 203)(font "Arial" )(vertical))
(pt 384 232)
(pt 384 208)
)
(connector
(text "S[3]" (rect 344 191 356 211)(font "Arial" )(vertical))
(pt 368 232)
(pt 368 208)
)
(connector
(text "S[1]" (rect 400 175 412 195)(font "Arial" )(vertical))
(pt 408 200)
(pt 408 224)
)
(connector
(text "S[3]" (rect 736 199 748 219)(font "Arial" )(vertical))
(pt 752 232)
(pt 752 208)
)
(connector
(text "S[0]" (rect 800 191 812 211)(font "Arial" )(vertical))
(pt 800 232)
(pt 800 208)
)
(connector
(text "S[1]" (rect 784 175 796 195)(font "Arial" )(vertical))
(pt 784 232)
(pt 784 200)
)
(connector
(text "S[2]" (rect 752 175 764 195)(font "Arial" )(vertical))
(pt 768 232)
(pt 768 200)
)
(connector
(pt 272 128)
(pt 272 104)
)
(connector
(pt 264 128)
(pt 272 128)
)
(connector
(pt 816 232)
(pt 816 104)
)
(connector
(pt 432 232)
(pt 432 104)
)
(connector
(pt 448 232)
(pt 448 176)
)
(connector
(pt 448 176)
(pt 624 176)
)
(connector
(pt 624 176)
(pt 624 368)
)
(connector
(pt 624 368)
(pt 800 368)
)
(connector
(pt 800 368)
(pt 800 352)
)
(connector
(pt 760 24)
(pt 832 24)
)
(connector
(pt 832 24)
(pt 832 232)
)
(connector
(pt 416 352)
(pt 416 384)
)
(connector
(pt 416 384)
(pt 400 384)
)
(connector
(pt 264 56)
(pt 480 56)
(bus)
)
(connector
(pt 928 56)
(pt 960 56)
(bus)
)
(connector
(pt 480 56)
(pt 512 56)
(bus)
)
(connector
(pt 512 56)
(pt 544 56)
(bus)
)
(connector
(pt 544 56)
(pt 576 56)
(bus)
)
(connector
(pt 576 56)
(pt 864 56)
(bus)
)
(connector
(pt 864 56)
(pt 896 56)
(bus)
)
(connector
(pt 896 56)
(pt 928 56)
(bus)
)
(connector
(pt 560 88)
(pt 848 88)
(bus)
)
(connector
(pt 848 88)
(pt 880 88)
(bus)
)
(connector
(pt 880 88)
(pt 912 88)
(bus)
)
(connector
(pt 912 88)
(pt 944 88)
(bus)
)
(connector
(pt 864 432)
(pt 880 432)
(bus)
)
(connector
(pt 848 432)
(pt 864 432)
(bus)
)
(connector
(pt 832 432)
(pt 848 432)
(bus)
)
(connector
(pt 496 432)
(pt 832 432)
(bus)
)
(connector
(pt 264 88)
(pt 464 88)
(bus)
)
(connector
(pt 464 88)
(pt 496 88)
(bus)
)
(connector
(pt 496 88)
(pt 528 88)
(bus)
)
(connector
(pt 528 88)
(pt 560 88)
(bus)
)
(connector
(pt 264 432)
(pt 448 432)
(bus)
)
(connector
(pt 448 432)
(pt 464 432)
(bus)
)
(connector
(pt 464 432)
(pt 480 432)
(bus)
)
(connector
(pt 480 432)
(pt 496 432)
(bus)
)
(connector
(pt 272 104)
(pt 432 104)
)
(connector
(pt 432 104)
(pt 816 104)
)
(junction (pt 480 56))
(junction (pt 512 56))
(junction (pt 896 56))
(junction (pt 928 56))
(junction (pt 544 56))
(junction (pt 576 56))
(junction (pt 864 56))
(junction (pt 528 88))
(junction (pt 560 88))
(junction (pt 848 88))
(junction (pt 880 88))
(junction (pt 912 88))
(junction (pt 864 432))
(junction (pt 848 432))
(junction (pt 832 432))
(junction (pt 496 432))
(junction (pt 480 432))
(junction (pt 464 88))
(junction (pt 496 88))
(junction (pt 448 432))
(junction (pt 464 432))
(junction (pt 432 104))