-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFourBitAdder.bdf
More file actions
766 lines (766 loc) · 15.7 KB
/
Copy pathFourBitAdder.bdf
File metadata and controls
766 lines (766 loc) · 15.7 KB
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
/*
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-2013 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.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect 320 288 488 304)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "X[3..0]" (rect 5 0 36 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 336 824 504 840)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "Y[3..0]" (rect 5 0 39 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 336 880 504 896)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "c0" (rect 5 0 16 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 1592 432 1768 448)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Gp" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 1592 480 1768 496)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Pp" (rect 90 0 102 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 1744 528 1920 544)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "S[3..0]" (rect 90 0 123 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(symbol
(rect 1208 440 1304 632)
(text "carrylookaheadlogic" (rect 5 0 119 14)(font "Arial" (font_size 8)))
(text "inst6" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "c0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c0" (rect 21 27 35 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "P0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "P0" (rect 21 43 35 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "G0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "G0" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "P1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "P1" (rect 21 75 35 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "G1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "G1" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "P2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "P2" (rect 21 107 35 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 0 128)
(input)
(text "G2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "G2" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128))
)
(port
(pt 0 144)
(input)
(text "P3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "P3" (rect 21 139 35 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144))
)
(port
(pt 0 160)
(input)
(text "G3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "G3" (rect 21 155 37 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160))
)
(port
(pt 96 32)
(output)
(text "c1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c1" (rect 61 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(port
(pt 96 48)
(output)
(text "c2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c2" (rect 61 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48))
)
(port
(pt 96 64)
(output)
(text "c3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c3" (rect 61 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64))
)
(port
(pt 96 80)
(output)
(text "Gp" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Gp" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80))
)
(port
(pt 96 96)
(output)
(text "c4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c4" (rect 61 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96))
)
(port
(pt 96 112)
(output)
(text "Pp" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "Pp" (rect 61 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112))
)
(drawing
(rectangle (rect 16 16 80 176))
)
)
(symbol
(rect 912 280 1008 376)
(text "BCell" (rect 5 0 33 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "x" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "x" (rect 21 27 28 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "y" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "y" (rect 21 43 28 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 96 32)
(output)
(text "G" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "G" (rect 66 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(port
(pt 96 48)
(output)
(text "P" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "P" (rect 68 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48))
)
(port
(pt 96 64)
(output)
(text "S" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "S" (rect 67 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 912 432 1008 528)
(text "BCell" (rect 5 0 33 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "x" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "x" (rect 21 27 28 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "y" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "y" (rect 21 43 28 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 96 32)
(output)
(text "G" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "G" (rect 66 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(port
(pt 96 48)
(output)
(text "P" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "P" (rect 68 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48))
)
(port
(pt 96 64)
(output)
(text "S" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "S" (rect 67 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 912 592 1008 688)
(text "BCell" (rect 5 0 33 14)(font "Arial" (font_size 8)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "x" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "x" (rect 21 27 28 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "y" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "y" (rect 21 43 28 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 96 32)
(output)
(text "G" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "G" (rect 66 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(port
(pt 96 48)
(output)
(text "P" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "P" (rect 68 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48))
)
(port
(pt 96 64)
(output)
(text "S" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "S" (rect 67 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 912 736 1008 832)
(text "BCell" (rect 5 0 33 14)(font "Arial" (font_size 8)))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "x" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "x" (rect 21 27 28 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "y" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "y" (rect 21 43 28 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "c" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "c" (rect 21 59 28 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 96 32)
(output)
(text "G" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "G" (rect 66 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(port
(pt 96 48)
(output)
(text "P" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "P" (rect 68 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48))
)
(port
(pt 96 64)
(output)
(text "S" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "S" (rect 67 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(connector
(pt 1208 472)
(pt 1128 472)
)
(connector
(pt 1128 472)
(pt 1128 248)
)
(connector
(pt 1128 248)
(pt 832 248)
)
(connector
(pt 1008 312)
(pt 1072 312)
)
(connector
(pt 1072 312)
(pt 1072 504)
)
(connector
(pt 1072 504)
(pt 1208 504)
)
(connector
(pt 1008 328)
(pt 1096 328)
)
(connector
(pt 1096 328)
(pt 1096 488)
)
(connector
(pt 1096 488)
(pt 1208 488)
)
(connector
(pt 1008 464)
(pt 1040 464)
)
(connector
(pt 1040 464)
(pt 1040 536)
)
(connector
(pt 1040 536)
(pt 1208 536)
)
(connector
(pt 1008 480)
(pt 1056 480)
)
(connector
(pt 1056 520)
(pt 1056 480)
)
(connector
(pt 1056 520)
(pt 1208 520)
)
(connector
(pt 1008 496)
(pt 1032 496)
)
(connector
(pt 1032 496)
(pt 1032 400)
)
(connector
(pt 1008 624)
(pt 1072 624)
)
(connector
(pt 1072 624)
(pt 1072 568)
)
(connector
(pt 1072 568)
(pt 1208 568)
)
(connector
(pt 1008 640)
(pt 1088 640)
)
(connector
(pt 1088 640)
(pt 1088 552)
)
(connector
(pt 1088 552)
(pt 1208 552)
)
(connector
(pt 912 344)
(pt 832 344)
)
(connector
(pt 1008 768)
(pt 1104 768)
)
(connector
(pt 1104 768)
(pt 1104 600)
)
(connector
(pt 1104 600)
(pt 1208 600)
)
(connector
(pt 1008 784)
(pt 1120 784)
)
(connector
(pt 1120 784)
(pt 1120 584)
)
(connector
(pt 1120 584)
(pt 1208 584)
)
(connector
(pt 816 312)
(pt 912 312)
)
(connector
(pt 824 784)
(pt 912 784)
)
(connector
(text "c1" (rect 1314 456 1325 468)(font "Arial" ))
(pt 1304 472)
(pt 1336 472)
)
(connector
(text "c1" (rect 874 480 885 492)(font "Arial" ))
(pt 912 496)
(pt 864 496)
)
(connector
(text "c2" (rect 1314 472 1325 484)(font "Arial" ))
(pt 1304 488)
(pt 1336 488)
)
(connector
(text "c2" (rect 874 640 885 652)(font "Arial" ))
(pt 912 656)
(pt 864 656)
)
(connector
(text "c3" (rect 874 784 885 796)(font "Arial" ))
(pt 912 800)
(pt 864 800)
)
(connector
(text "c3" (rect 1314 488 1325 500)(font "Arial" ))
(pt 1304 504)
(pt 1336 504)
)
(connector
(pt 1392 824)
(pt 1392 536)
)
(connector
(pt 1304 536)
(pt 1392 536)
)
(connector
(pt 816 296)
(pt 816 312)
)
(connector
(text "X[0]" (rect 770 280 788 292)(font "Arial" ))
(pt 760 296)
(pt 816 296)
)
(connector
(text "X[1]" (rect 712 438 724 456)(font "Arial" )(vertical))
(pt 728 296)
(pt 728 464)
)
(connector
(pt 728 464)
(pt 912 464)
)
(connector
(pt 672 296)
(pt 672 624)
)
(connector
(text "X[2]" (rect 682 608 700 620)(font "Arial" ))
(pt 672 624)
(pt 912 624)
)
(connector
(text "X[3]" (rect 592 742 604 760)(font "Arial" )(vertical))
(pt 608 296)
(pt 608 768)
)
(connector
(pt 608 768)
(pt 912 768)
)
(connector
(text "Y[3]" (rect 808 804 820 825)(font "Arial" )(vertical))
(pt 824 832)
(pt 824 784)
)
(connector
(pt 768 640)
(pt 912 640)
)
(connector
(text "Y[2]" (rect 752 804 764 825)(font "Arial" )(vertical))
(pt 768 640)
(pt 768 832)
)
(connector
(pt 744 480)
(pt 912 480)
)
(connector
(pt 704 328)
(pt 912 328)
)
(connector
(text "Y[0]" (rect 688 804 700 825)(font "Arial" )(vertical))
(pt 704 328)
(pt 704 832)
)
(connector
(text "Y[1]" (rect 728 804 740 825)(font "Arial" )(vertical))
(pt 744 480)
(pt 744 832)
)
(connector
(pt 1480 656)
(pt 1008 656)
)
(connector
(text "c0" (rect 578 240 589 252)(font "Arial" ))
(pt 576 256)
(pt 832 256)
)
(connector
(text "c0" (rect 506 872 517 884)(font "Arial" ))
(pt 504 888)
(pt 536 888)
)
(connector
(text "c4" (rect 1402 808 1413 820)(font "Arial" ))
(pt 1424 824)
(pt 1392 824)
)
(connector
(text "S[3]" (rect 1504 773 1516 793)(font "Arial" )(vertical))
(pt 1520 536)
(pt 1520 800)
)
(connector
(pt 1520 800)
(pt 1008 800)
)
(connector
(pt 1448 400)
(pt 1448 536)
)
(connector
(pt 1416 344)
(pt 1416 536)
)
(connector
(text "S[0]" (rect 1386 328 1406 340)(font "Arial" ))
(pt 1008 344)
(pt 1416 344)
)
(connector
(text "S[1]" (rect 1378 384 1398 396)(font "Arial" ))
(pt 1448 400)
(pt 1032 400)
)
(connector
(text "S[2]" (rect 1464 629 1476 649)(font "Arial" )(vertical))
(pt 1480 536)
(pt 1480 656)
)
(connector
(pt 1488 520)
(pt 1304 520)
)
(connector
(pt 1488 520)
(pt 1488 440)
)
(connector
(pt 1488 440)
(pt 1592 440)
)
(connector
(pt 1592 488)
(pt 1360 488)
)
(connector
(pt 1360 488)
(pt 1360 552)
)
(connector
(pt 1304 552)
(pt 1360 552)
)
(connector
(pt 832 248)
(pt 832 256)
)
(connector
(pt 832 256)
(pt 832 344)
)
(connector
(text "Y[3..0]" (rect 514 816 548 828)(font "Arial" ))
(pt 504 832)
(pt 584 832)
(bus)
)
(connector
(text "X[3..0]" (rect 498 280 529 292)(font "Arial" ))
(pt 488 296)
(pt 528 296)
(bus)
)
(connector
(text "S[3..0]" (rect 1666 520 1699 532)(font "Arial" ))
(pt 1744 536)
(pt 1656 536)
(bus)
)
(junction (pt 832 256))