-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCPU8bitsOrigen.bdf
1307 lines (1307 loc) · 30.1 KB
/
CPU8bitsOrigen.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
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
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 1160 1176 1336 1192)
(text "INPUT" (rect 7 6 35 16)(font "Arial" (font_size 6)))
(text "InData[7..0]" (rect 112 4 171 16)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 76 4)(pt 51 4)(line_width 1))
(line (pt 76 12)(pt 51 12)(line_width 1))
(line (pt 47 8)(pt 0 8)(line_width 1))
(line (pt 76 4)(pt 76 12)(line_width 1))
(line (pt 51 12)(pt 47 8)(line_width 1))
(line (pt 51 4)(pt 47 8)(line_width 1))
)
(rotate180)
(text "VCC" (rect 12 -1 32 9)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 808 1008 976 1024)
(text "INPUT" (rect 136 0 164 10)(font "Arial" (font_size 6)))
(text "S[3..0]" (rect 5 0 38 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 95 12)(pt 120 12)(line_width 1))
(line (pt 95 4)(pt 120 4)(line_width 1))
(line (pt 124 8)(pt 171 8)(line_width 1))
(line (pt 95 12)(pt 95 4)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 124 8)(line_width 1))
)
(text "VCC" (rect 139 7 159 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 1152 984 1320 1000)
(text "INPUT" (rect 7 6 35 16)(font "Arial" (font_size 6)))
(text "Cin" (rect 112 4 128 16)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 76 4)(pt 51 4)(line_width 1))
(line (pt 76 12)(pt 51 12)(line_width 1))
(line (pt 47 8)(pt 0 8)(line_width 1))
(line (pt 76 4)(pt 76 12)(line_width 1))
(line (pt 51 12)(pt 47 8)(line_width 1))
(line (pt 51 4)(pt 47 8)(line_width 1))
)
(rotate180)
(text "VCC" (rect 12 -1 32 9)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 856 1248 1024 1264)
(text "INPUT" (rect 136 0 164 10)(font "Arial" (font_size 6)))
(text "SEL_BUS" (rect 5 0 53 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 95 12)(pt 120 12)(line_width 1))
(line (pt 95 4)(pt 120 4)(line_width 1))
(line (pt 124 8)(pt 171 8)(line_width 1))
(line (pt 95 12)(pt 95 4)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 124 8)(line_width 1))
)
(text "VCC" (rect 139 7 159 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 864 984 1032 1000)
(text "INPUT" (rect 136 0 164 10)(font "Arial" (font_size 6)))
(text "M" (rect 5 0 13 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 95 12)(pt 120 12)(line_width 1))
(line (pt 95 4)(pt 120 4)(line_width 1))
(line (pt 124 8)(pt 171 8)(line_width 1))
(line (pt 95 12)(pt 95 4)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 124 8)(line_width 1))
)
(text "VCC" (rect 139 7 159 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 176 536 192 732)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "SelDestino[2..0]" (rect 0 112 12 191)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect -48 400 120 416)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "Load" (rect 5 0 28 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 560 896 576 1074)
(text "INPUT" (rect 0 4 10 32)(font "Arial" (font_size 6))(vertical))
(text "Sel_B[2..0]" (rect 0 119 12 173)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 73)(pt 12 48)(line_width 1))
(line (pt 4 73)(pt 4 48)(line_width 1))
(line (pt 8 44)(pt 8 -3)(line_width 1))
(line (pt 12 73)(pt 4 73)(line_width 1))
(line (pt 4 48)(pt 8 44)(line_width 1))
(line (pt 12 48)(pt 8 44)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 9 17 29)(font "Arial" (font_size 6))(vertical))
)
(pin
(input)
(rect 1088 720 1104 888)
(text "INPUT" (rect 6 134 16 162)(font "Arial" (font_size 6))(vertical))
(text "Sel_A[2..0]" (rect 4 5 16 59)(font "Arial" )(vertical))
(pt 8 168)
(drawing
(line (pt 4 93)(pt 4 118)(line_width 1))
(line (pt 12 93)(pt 12 118)(line_width 1))
(line (pt 8 122)(pt 8 169)(line_width 1))
(line (pt 4 93)(pt 12 93)(line_width 1))
(line (pt 12 118)(pt 8 122)(line_width 1))
(line (pt 4 118)(pt 8 122)(line_width 1))
)
(rotate270)
(text "VCC" (rect -1 137 9 157)(font "Arial" (font_size 6))(vertical))
)
(pin
(output)
(rect 1168 1152 1344 1168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Cout" (rect 90 0 113 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1608 72 1784 88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "R0[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1608 88 1784 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "R1[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1608 104 1784 120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "R2[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1608 120 1784 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "R3[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1608 136 1784 152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "R4[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1608 152 1784 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "R5[7..0]" (rect 90 0 130 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 1392 960 1568 976)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OperandoA[7..0]" (rect 90 0 170 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 632 960 808 976)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "OperandoB[7..0]" (rect 5 4 85 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 864 1168 1040 1184)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "OutALU[7..0]" (rect 5 4 69 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 1160 1320 1349 1336)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "BusInterno[7..0]" (rect 105 0 184 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(symbol
(rect 632 800 1032 928)
(text "muxbus6a1" (rect 388 5 400 61)(font "Arial" )(vertical))
(text "inst8" (rect 388 104 400 127)(font "Arial" )(vertical))
(port
(pt 0 80)
(input)
(text "sel[2..0]" (rect 0 0 40 12)(font "Arial" ))
(text "sel[2..0]" (rect 64 72 104 84)(font "Arial" ))
(line (pt 0 80)(pt 56 80)(line_width 3))
)
(port
(pt 360 0)
(input)
(text "d0[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d0[7..0]" (rect 353 21 365 58)(font "Arial" )(vertical))
(line (pt 360 0)(pt 360 16)(line_width 3))
)
(port
(pt 296 0)
(input)
(text "d1[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d1[7..0]" (rect 289 21 301 58)(font "Arial" )(vertical))
(line (pt 296 0)(pt 296 16)(line_width 3))
)
(port
(pt 232 0)
(input)
(text "d2[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d2[7..0]" (rect 225 21 237 58)(font "Arial" )(vertical))
(line (pt 232 0)(pt 232 16)(line_width 3))
)
(port
(pt 168 0)
(input)
(text "d3[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d3[7..0]" (rect 161 21 173 58)(font "Arial" )(vertical))
(line (pt 168 0)(pt 168 16)(line_width 3))
)
(port
(pt 104 0)
(input)
(text "d4[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d4[7..0]" (rect 97 21 109 58)(font "Arial" )(vertical))
(line (pt 104 0)(pt 104 16)(line_width 3))
)
(port
(pt 32 0)
(input)
(text "d5[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d5[7..0]" (rect 25 21 37 58)(font "Arial" )(vertical))
(line (pt 32 0)(pt 32 16)(line_width 3))
)
(port
(pt 200 128)
(output)
(text "y[7..0]" (rect 0 0 33 12)(font "Arial" ))
(text "y[7..0]" (rect 196 72 208 105)(font "Arial" )(vertical))
(line (pt 200 128)(pt 200 104)(line_width 3))
)
(drawing
(line (pt 8 16)(pt 384 16)(line_width 1))
(line (pt 336 104)(pt 72 104)(line_width 1))
(line (pt 384 16)(pt 336 104)(line_width 1))
(line (pt 8 16)(pt 72 104)(line_width 1))
)
(rotate270)
)
(symbol
(rect 1152 808 1552 936)
(text "muxbus6a1" (rect 388 5 400 61)(font "Arial" )(vertical))
(text "inst9" (rect 388 104 400 127)(font "Arial" )(vertical))
(port
(pt 0 80)
(input)
(text "sel[2..0]" (rect 0 0 40 12)(font "Arial" ))
(text "sel[2..0]" (rect 64 72 104 84)(font "Arial" ))
(line (pt 0 80)(pt 56 80)(line_width 3))
)
(port
(pt 360 0)
(input)
(text "d0[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d0[7..0]" (rect 353 21 365 58)(font "Arial" )(vertical))
(line (pt 360 0)(pt 360 16)(line_width 3))
)
(port
(pt 296 0)
(input)
(text "d1[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d1[7..0]" (rect 289 21 301 58)(font "Arial" )(vertical))
(line (pt 296 0)(pt 296 16)(line_width 3))
)
(port
(pt 232 0)
(input)
(text "d2[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d2[7..0]" (rect 225 21 237 58)(font "Arial" )(vertical))
(line (pt 232 0)(pt 232 16)(line_width 3))
)
(port
(pt 168 0)
(input)
(text "d3[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d3[7..0]" (rect 161 21 173 58)(font "Arial" )(vertical))
(line (pt 168 0)(pt 168 16)(line_width 3))
)
(port
(pt 104 0)
(input)
(text "d4[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d4[7..0]" (rect 97 21 109 58)(font "Arial" )(vertical))
(line (pt 104 0)(pt 104 16)(line_width 3))
)
(port
(pt 32 0)
(input)
(text "d5[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "d5[7..0]" (rect 25 21 37 58)(font "Arial" )(vertical))
(line (pt 32 0)(pt 32 16)(line_width 3))
)
(port
(pt 200 128)
(output)
(text "y[7..0]" (rect 0 0 33 12)(font "Arial" ))
(text "y[7..0]" (rect 196 72 208 105)(font "Arial" )(vertical))
(line (pt 200 128)(pt 200 104)(line_width 3))
)
(drawing
(line (pt 8 16)(pt 384 16)(line_width 1))
(line (pt 336 104)(pt 72 104)(line_width 1))
(line (pt 384 16)(pt 336 104)(line_width 1))
(line (pt 8 16)(pt 72 104)(line_width 1))
)
(rotate270)
)
(symbol
(rect 368 24 568 120)
(text "Registro8bits" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "D[7..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 104 96)
(input)
(text "clk" (rect 0 -8 15 6)(font "Arial" (font_size 8)))
(text "clk" (rect 96 57 110 72)(font "Arial" (font_size 8))(vertical))
(line (pt 104 96)(pt 104 80)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "Q[7..0]" (rect 72 0 109 14)(font "Arial" (font_size 8)))
(text "Q[7..0]" (rect 150 43 187 57)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 80)(line_width 1))
)
)
(symbol
(rect 368 152 568 248)
(text "Registro8bits" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst10" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "D[7..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 104 96)
(input)
(text "clk" (rect 0 -8 15 6)(font "Arial" (font_size 8)))
(text "clk" (rect 96 57 110 72)(font "Arial" (font_size 8))(vertical))
(line (pt 104 96)(pt 104 80)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "Q[7..0]" (rect 72 0 109 14)(font "Arial" (font_size 8)))
(text "Q[7..0]" (rect 150 43 187 57)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 80)(line_width 1))
)
)
(symbol
(rect 368 272 568 368)
(text "Registro8bits" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst11" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "D[7..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 104 96)
(input)
(text "clk" (rect 0 -8 15 6)(font "Arial" (font_size 8)))
(text "clk" (rect 96 57 110 72)(font "Arial" (font_size 8))(vertical))
(line (pt 104 96)(pt 104 80)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "Q[7..0]" (rect 72 0 109 14)(font "Arial" (font_size 8)))
(text "Q[7..0]" (rect 150 43 187 57)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 80)(line_width 1))
)
)
(symbol
(rect 368 392 568 488)
(text "Registro8bits" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst12" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "D[7..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 104 96)
(input)
(text "clk" (rect 0 -8 15 6)(font "Arial" (font_size 8)))
(text "clk" (rect 96 57 110 72)(font "Arial" (font_size 8))(vertical))
(line (pt 104 96)(pt 104 80)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "Q[7..0]" (rect 72 0 109 14)(font "Arial" (font_size 8)))
(text "Q[7..0]" (rect 150 43 187 57)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 80)(line_width 1))
)
)
(symbol
(rect 368 512 568 608)
(text "Registro8bits" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst13" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "D[7..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 104 96)
(input)
(text "clk" (rect 0 -8 15 6)(font "Arial" (font_size 8)))
(text "clk" (rect 96 57 110 72)(font "Arial" (font_size 8))(vertical))
(line (pt 104 96)(pt 104 80)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "Q[7..0]" (rect 72 0 109 14)(font "Arial" (font_size 8)))
(text "Q[7..0]" (rect 150 43 187 57)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 80)(line_width 1))
)
)
(symbol
(rect 368 640 568 736)
(text "Registro8bits" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst14" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "D[7..0]" (rect 21 43 57 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 104 96)
(input)
(text "clk" (rect 0 -8 15 6)(font "Arial" (font_size 8)))
(text "clk" (rect 96 57 110 72)(font "Arial" (font_size 8))(vertical))
(line (pt 104 96)(pt 104 80)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "Q[7..0]" (rect 72 0 109 14)(font "Arial" (font_size 8)))
(text "Q[7..0]" (rect 150 43 187 57)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 80)(line_width 1))
)
)
(symbol
(rect 1008 1024 1136 1152)
(text "ALU1" (rect 114 5 128 36)(font "Arial" (font_size 8))(vertical))
(text "inst6" (rect 4 8 16 31)(font "Arial" )(vertical))
(port
(pt 96 0)
(input)
(text "Cin" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "Cin" (rect 87 21 101 38)(font "Arial" (font_size 8))(vertical))
(line (pt 96 0)(pt 96 16)(line_width 1))
)
(port
(pt 80 0)
(input)
(text "A[7..0]" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "A[7..0]" (rect 71 21 85 58)(font "Arial" (font_size 8))(vertical))
(line (pt 80 0)(pt 80 16)(line_width 3))
)
(port
(pt 64 0)
(input)
(text "B[7..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "B[7..0]" (rect 55 21 69 57)(font "Arial" (font_size 8))(vertical))
(line (pt 64 0)(pt 64 16)(line_width 3))
)
(port
(pt 48 0)
(input)
(text "M" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "M" (rect 39 21 53 30)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "S[3..0]" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "S[3..0]" (rect 23 21 37 57)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 3))
)
(port
(pt 96 128)
(output)
(text "Cout" (rect 0 0 25 14)(font "Arial" (font_size 8)))
(text "Cout" (rect 87 82 101 107)(font "Arial" (font_size 8))(vertical))
(line (pt 96 128)(pt 96 112)(line_width 1))
)
(port
(pt 80 128)
(output)
(text "F[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "F[7..0]" (rect 71 72 85 107)(font "Arial" (font_size 8))(vertical))
(line (pt 80 128)(pt 80 112)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 112)(line_width 1))
)
(rotate270)
)
(symbol
(rect 1064 1200 1152 1312)
(text "BUSMUX" (rect 72 28 88 91)(font "Arial" (font_size 10))(vertical))
(text "inst15" (rect -1 3 11 32)(font "Arial" )(vertical))
(port
(pt 24 0)
(input)
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
(text "datab[]" (rect 23 6 37 44)(font "Arial" (font_size 8))(vertical))
(line (pt 24 0)(pt 24 44)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
(text "sel" (rect 4 59 18 75)(font "Arial" (font_size 8))(vertical))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 56 0)
(input)
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 55 6 69 44)(font "Arial" (font_size 8))(vertical))
(line (pt 56 0)(pt 56 44)(line_width 3))
)
(port
(pt 40 112)
(output)
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
(text "result[]" (rect 39 75 53 113)(font "Arial" (font_size 8))(vertical))
(line (pt 40 68)(pt 40 112)(line_width 3))
)
(parameter
"WIDTH"
"8"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(text "0" (rect 47 52 57 56)(font "Arial" (font_size 6))(vertical))
(text "1" (rect 23 52 33 56)(font "Arial" (font_size 6))(vertical))
(line (pt 24 68)(pt 56 68)(line_width 1))
(line (pt 8 44)(pt 72 44)(line_width 1))
(line (pt 72 44)(pt 56 68)(line_width 1))
(line (pt 8 44)(pt 24 68)(line_width 1))
)
(rotate270)
(annotation_block (parameter)(rect 1160 1240 1264 1272))
)
(symbol
(rect 120 312 248 504)
(text "DemuxReal1a8" (rect 5 0 89 14)(font "Arial" (font_size 8)))
(text "inst25" (rect 8 176 37 188)(font "Arial" ))
(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)(line_width 1))
)
(port
(pt 64 192)
(input)
(text "Sel[2..0]" (rect 0 0 46 14)(font "Arial" (font_size 8)))
(text "Sel[2..0]" (rect 56 122 70 168)(font "Arial" (font_size 8))(vertical))
(line (pt 64 192)(pt 64 176)(line_width 3))
)
(port
(pt 128 32)
(output)
(text "Y0N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y0N" (rect 83 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "Y1N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y1N" (rect 83 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "Y2N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y2N" (rect 83 59 107 73)(font "Arial" (font_size 8)))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "Y3N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y3N" (rect 83 75 107 89)(font "Arial" (font_size 8)))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "Y4N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y4N" (rect 83 91 107 105)(font "Arial" (font_size 8)))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "Y5N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y5N" (rect 83 107 107 121)(font "Arial" (font_size 8)))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "Y6N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y6N" (rect 83 123 107 137)(font "Arial" (font_size 8)))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "Y7N" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "Y7N" (rect 83 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 176)(line_width 1))
)
)
(connector
(pt 928 200)
(pt 928 800)
(bus)
)
(connector
(pt 800 440)
(pt 800 800)
(bus)
)
(connector
(pt 736 560)
(pt 736 800)
(bus)
)
(connector
(pt 664 688)
(pt 664 800)
(bus)
)
(connector
(pt 1512 72)
(pt 1512 808)
(bus)
)
(connector
(pt 1448 200)
(pt 1448 808)
(bus)
)
(connector
(pt 1384 320)
(pt 1384 808)
(bus)
)
(connector
(pt 1320 440)
(pt 1320 808)
(bus)
)
(connector
(pt 1256 560)
(pt 1256 808)
(bus)
)
(connector
(pt 1184 688)
(pt 1184 808)
(bus)
)
(connector
(pt 992 72)
(pt 992 800)
(bus)
)
(connector
(pt 1352 936)
(pt 1352 968)
(bus)
)
(connector
(pt 832 928)
(pt 832 968)
(bus)
)
(connector
(pt 368 200)
(pt 328 200)
(bus)
)
(connector
(pt 368 320)
(pt 328 320)
(bus)
)
(connector
(pt 368 440)
(pt 328 440)
(bus)
)
(connector
(pt 368 560)
(pt 328 560)
(bus)
)
(connector
(pt 368 688)
(pt 328 688)
(bus)
)
(connector
(pt 1120 1184)
(pt 1160 1184)
(bus)
)
(connector
(pt 1104 1312)
(pt 1104 1328)
(bus)
)
(connector
(pt 1120 1184)
(pt 1120 1200)
(bus)
)
(connector
(pt 1024 1256)
(pt 1064 1256)
)
(connector
(pt 1168 1160)
(pt 1104 1160)
)
(connector
(pt 1104 1160)
(pt 1104 1152)
)
(connector
(pt 1152 992)
(pt 1104 992)
)
(connector
(pt 1032 992)
(pt 1056 992)
)
(connector
(pt 1104 992)
(pt 1104 1024)
)
(connector
(pt 1088 968)
(pt 1088 1024)
(bus)
)
(connector
(pt 1072 968)
(pt 1072 1024)
(bus)
)
(connector
(pt 1056 992)
(pt 1056 1024)
)
(connector
(pt 976 1016)
(pt 1040 1016)
(bus)
)
(connector
(pt 1040 1016)
(pt 1040 1024)
(bus)
)
(connector
(pt 1096 888)
(pt 1152 888)