-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtop_level_v1.bdf
More file actions
1933 lines (1933 loc) · 41 KB
/
Copy pathtop_level_v1.bdf
File metadata and controls
1933 lines (1933 loc) · 41 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
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) 2020 Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel FPGA IP License Agreement, or other applicable license
agreement, including, without limitation, that your use is for
the sole purpose of programming logic devices manufactured by
Intel and sold by Intel or its authorized distributors. Please
refer to the applicable agreement for further details, at
https://fpgasoftware.intel.com/eula.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect -560 104 -392 120)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "NCLR" (rect 5 0 35 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 -560 384 -392 400)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "CLK" (rect 5 0 26 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 952 976 1120 992)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "CE_VCC" (rect 5 0 49 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 2376 584 2558 600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ADDR_OUT[7..0]" (rect 90 0 176 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 2376 632 2571 648)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CPU_DO_OUT[15..0]" (rect 90 0 189 17)(font "Intel Clear" ))
(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 2416 472 2601 488)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Instructions[15..0]" (rect 90 0 179 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 1680 1120 1856 1136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FETCH" (rect 90 0 126 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 1680 1136 1856 1152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DECODE" (rect 90 0 131 17)(font "Intel Clear" ))
(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 1680 1152 1856 1168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "EXECUTE" (rect 90 0 134 17)(font "Intel Clear" ))
(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 1680 1168 1856 1184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "INCREMENT" (rect 90 0 147 17)(font "Intel Clear" ))
(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 656 728 891 744)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "WHAT_INSTRUCTION[7..0]" (rect 90 0 229 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 1648 232 1843 248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ACC_OUTPUT[7..0]" (rect 90 0 189 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 -192 96 -144 128)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 21 25 38)(font "Intel Clear" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 368 320 528 416)
(text "split16_v1" (rect 5 0 69 19)(font "Intel Clear" (font_size 8)))
(text "inst4" (rect 8 75 30 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[15..0]" (rect 0 0 47 19)(font "Intel Clear" (font_size 8)))
(text "A[15..0]" (rect 21 27 68 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "High[7..0]" (rect 0 0 57 19)(font "Intel Clear" (font_size 8)))
(text "High[7..0]" (rect 82 27 139 46)(font "Intel Clear" (font_size 8)))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "Low[7..0]" (rect 0 0 54 19)(font "Intel Clear" (font_size 8)))
(text "Low[7..0]" (rect 85 43 139 62)(font "Intel Clear" (font_size 8)))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80))
)
)
(symbol
(rect 368 544 528 640)
(text "split16_v1" (rect 5 0 69 19)(font "Intel Clear" (font_size 8)))
(text "inst5" (rect 8 75 30 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[15..0]" (rect 0 0 47 19)(font "Intel Clear" (font_size 8)))
(text "A[15..0]" (rect 21 27 68 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "High[7..0]" (rect 0 0 57 19)(font "Intel Clear" (font_size 8)))
(text "High[7..0]" (rect 82 27 139 46)(font "Intel Clear" (font_size 8)))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "Low[7..0]" (rect 0 0 54 19)(font "Intel Clear" (font_size 8)))
(text "Low[7..0]" (rect 85 43 139 62)(font "Intel Clear" (font_size 8)))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80))
)
)
(symbol
(rect 760 320 888 416)
(text "mux2_1_8_v1" (rect 5 0 91 19)(font "Intel Clear" (font_size 8)))
(text "inst6" (rect 8 75 30 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "A[7..0]" (rect 21 27 59 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "B[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "B[7..0]" (rect 21 43 59 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "SEL" (rect 0 0 22 19)(font "Intel Clear" (font_size 8)))
(text "SEL" (rect 21 59 43 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 128 32)
(output)
(text "Z[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "Z[7..0]" (rect 69 27 107 46)(font "Intel Clear" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80))
)
)
(symbol
(rect 1040 320 1168 480)
(text "ALU_v2" (rect 5 0 52 19)(font "Intel Clear" (font_size 8)))
(text "inst8" (rect 8 139 30 156)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "A[7..0]" (rect 21 27 59 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "S4" (rect 0 0 16 19)(font "Intel Clear" (font_size 8)))
(text "S4" (rect 21 43 37 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "S3" (rect 0 0 16 19)(font "Intel Clear" (font_size 8)))
(text "S3" (rect 21 59 37 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "S2" (rect 0 0 16 19)(font "Intel Clear" (font_size 8)))
(text "S2" (rect 21 75 37 94)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "B[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "B[7..0]" (rect 21 91 59 110)(font "Intel Clear" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "S1" (rect 0 0 16 19)(font "Intel Clear" (font_size 8)))
(text "S1" (rect 21 107 37 126)(font "Intel Clear" (font_size 8)))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 0 128)
(input)
(text "S0" (rect 0 0 16 19)(font "Intel Clear" (font_size 8)))
(text "S0" (rect 21 123 37 142)(font "Intel Clear" (font_size 8)))
(line (pt 0 128)(pt 16 128))
)
(port
(pt 128 32)
(output)
(text "Z[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "Z[7..0]" (rect 69 27 107 46)(font "Intel Clear" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(port
(pt 128 48)
(output)
(text "Cout" (rect 0 0 27 19)(font "Intel Clear" (font_size 8)))
(text "Cout" (rect 80 43 107 62)(font "Intel Clear" (font_size 8)))
(line (pt 128 48)(pt 112 48))
)
(drawing
(rectangle (rect 16 16 112 144))
)
)
(symbol
(rect 1696 320 1856 416)
(text "join16_v1" (rect 5 0 65 19)(font "Intel Clear" (font_size 8)))
(text "inst11" (rect 8 75 36 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "High[7..0]" (rect 0 0 57 19)(font "Intel Clear" (font_size 8)))
(text "High[7..0]" (rect 21 27 78 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "Low[7..0]" (rect 0 0 54 19)(font "Intel Clear" (font_size 8)))
(text "Low[7..0]" (rect 21 43 75 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "Z[15..0]" (rect 0 0 47 19)(font "Intel Clear" (font_size 8)))
(text "Z[15..0]" (rect 92 27 139 46)(font "Intel Clear" (font_size 8)))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80))
)
)
(symbol
(rect 1368 168 1464 264)
(text "nor8_v1" (rect 5 0 54 19)(font "Intel Clear" (font_size 8)))
(text "inst15" (rect 8 75 36 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "A[7..0]" (rect 21 27 59 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 96 32)
(output)
(text "Z" (rect 0 0 8 19)(font "Intel Clear" (font_size 8)))
(text "Z" (rect 67 27 75 46)(font "Intel Clear" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 1656 504 1768 552)
(text "LPM_CONSTANT" (rect 4 0 125 16)(font "Arial" (font_size 10)))
(text "CONSTANT" (rect 3 37 57 54)(font "Intel Clear" ))
(port
(pt 112 32)
(output)
(text "result[LPM_WIDTH-1..0]" (rect 75 19 208 33)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 19 113 33)(font "Arial" (font_size 8)))
(line (pt 64 32)(pt 112 32)(line_width 3))
)
(parameter
"LPM_CVALUE"
"160"
"Unsigned value to which outputs will be set"
(type "PARAMETER_UNSIGNED_DEC") )
(parameter
"LPM_WIDTH"
"8"
"Width of output, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32"
(type "PARAMETER_UNSIGNED_DEC") )
(drawing
(text "(cvalue)" (rect 21 26 68 40)(font "Arial" (font_size 8)))
(line (pt 16 24)(pt 64 24))
(line (pt 16 40)(pt 64 40))
(line (pt 64 40)(pt 64 24))
(line (pt 16 40)(pt 16 24))
)
(annotation_block (parameter)(rect 1656 432 1855 489))
)
(symbol
(rect 1824 600 1872 632)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 21 25 38)(font "Intel Clear" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 120 80 216 176)
(text "FD" (rect 5 0 21 19)(font "Intel Clear" (font_size 8)))
(text "inst" (rect 8 75 24 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "D" (rect 0 0 9 19)(font "Intel Clear" (font_size 8)))
(text "D" (rect 21 27 30 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "CLK" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLK" (rect 21 43 44 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 96 32)
(output)
(text "Q" (rect 0 0 9 19)(font "Intel Clear" (font_size 8)))
(text "Q" (rect 66 27 75 46)(font "Intel Clear" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 2048 320 2224 432)
(text "RAM_TEST_1" (rect 5 0 72 12)(font "Arial" ))
(text "inst21" (rect 8 96 36 113)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "din[15..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din[15..0]" (rect 21 27 67 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "addr[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "addr[7..0]" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "we" (rect 0 0 12 12)(font "Arial" ))
(text "we" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 75 35 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 176 32)
(output)
(text "dout[15..0]" (rect 0 0 53 12)(font "Arial" ))
(text "dout[15..0]" (rect 111 27 164 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 160 96))
)
)
(symbol
(rect 1352 320 1488 448)
(text "register_8_v1" (rect 5 0 87 19)(font "Intel Clear" (font_size 8)))
(text "ACC" (rect 8 107 29 124)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "D[7..0]" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "D[7..0]" (rect 21 27 61 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "CLK" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLK" (rect 21 43 44 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "CE" (rect 0 0 15 19)(font "Intel Clear" (font_size 8)))
(text "CE" (rect 21 59 36 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "CLR" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLR" (rect 21 75 44 94)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 136 32)
(output)
(text "Q[7..0]" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "Q[7..0]" (rect 75 27 115 46)(font "Intel Clear" (font_size 8)))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 112))
)
)
(symbol
(rect 368 768 504 896)
(text "register_8_v1" (rect 5 0 87 19)(font "Intel Clear" (font_size 8)))
(text "PC" (rect 8 107 22 124)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "D[7..0]" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "D[7..0]" (rect 21 27 61 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "CLK" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLK" (rect 21 43 44 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "CE" (rect 0 0 15 19)(font "Intel Clear" (font_size 8)))
(text "CE" (rect 21 59 36 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "CLR" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLR" (rect 21 75 44 94)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 136 32)
(output)
(text "Q[7..0]" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "Q[7..0]" (rect 75 27 115 46)(font "Intel Clear" (font_size 8)))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 112))
)
)
(symbol
(rect 1360 768 1488 864)
(text "mux2_1_8_v1" (rect 5 0 91 19)(font "Intel Clear" (font_size 8)))
(text "ADDR_MUX" (rect 8 75 65 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "A[7..0]" (rect 21 27 59 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "B[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "B[7..0]" (rect 21 43 59 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "SEL" (rect 0 0 22 19)(font "Intel Clear" (font_size 8)))
(text "SEL" (rect 21 59 43 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 128 32)
(output)
(text "Z[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "Z[7..0]" (rect 69 27 107 46)(font "Intel Clear" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80))
)
)
(symbol
(rect 760 536 888 632)
(text "mux2_1_8_v1" (rect 5 0 91 19)(font "Intel Clear" (font_size 8)))
(text "DATA_MUX" (rect 8 75 64 92)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "A[7..0]" (rect 21 27 59 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "B[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "B[7..0]" (rect 21 43 59 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "SEL" (rect 0 0 22 19)(font "Intel Clear" (font_size 8)))
(text "SEL" (rect 21 59 43 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 128 32)
(output)
(text "Z[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "Z[7..0]" (rect 69 27 107 46)(font "Intel Clear" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80))
)
)
(symbol
(rect 120 320 272 448)
(text "register_16_v1" (rect 5 0 95 19)(font "Intel Clear" (font_size 8)))
(text "IR_Register" (rect 8 107 62 124)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "D[15..0]" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "D[15..0]" (rect 21 27 69 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "CLK" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLK" (rect 21 43 44 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "CE" (rect 0 0 15 19)(font "Intel Clear" (font_size 8)))
(text "CE" (rect 21 59 36 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "CLR" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLR" (rect 21 75 44 94)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 152 32)
(output)
(text "Q[15..0]" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "Q[15..0]" (rect 83 27 131 46)(font "Intel Clear" (font_size 8)))
(line (pt 152 32)(pt 136 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 112))
)
)
(symbol
(rect 1336 904 1504 1224)
(text "decoder" (rect 5 0 53 19)(font "Intel Clear" (font_size 8)))
(text "inst1" (rect 8 299 30 316)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "IR[7..0]" (rect 0 0 42 19)(font "Intel Clear" (font_size 8)))
(text "IR[7..0]" (rect 21 27 63 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "Carry" (rect 0 0 31 19)(font "Intel Clear" (font_size 8)))
(text "Carry" (rect 21 43 52 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "Zero" (rect 0 0 27 19)(font "Intel Clear" (font_size 8)))
(text "Zero" (rect 21 59 48 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "CLK" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLK" (rect 21 75 44 94)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "CE" (rect 0 0 15 19)(font "Intel Clear" (font_size 8)))
(text "CE" (rect 21 91 36 110)(font "Intel Clear" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "CLR" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLR" (rect 21 107 44 126)(font "Intel Clear" (font_size 8)))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 168 32)
(output)
(text "MUXA" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "MUXA" (rect 111 27 147 46)(font "Intel Clear" (font_size 8)))
(line (pt 168 32)(pt 152 32))
)
(port
(pt 168 48)
(output)
(text "MUXB" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "MUXB" (rect 111 43 147 62)(font "Intel Clear" (font_size 8)))
(line (pt 168 48)(pt 152 48))
)
(port
(pt 168 64)
(output)
(text "MUXC" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "MUXC" (rect 111 59 147 78)(font "Intel Clear" (font_size 8)))
(line (pt 168 64)(pt 152 64))
)
(port
(pt 168 80)
(output)
(text "EN_DA" (rect 0 0 41 19)(font "Intel Clear" (font_size 8)))
(text "EN_DA" (rect 106 75 147 94)(font "Intel Clear" (font_size 8)))
(line (pt 168 80)(pt 152 80))
)
(port
(pt 168 96)
(output)
(text "EN_PC" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "EN_PC" (rect 107 91 147 110)(font "Intel Clear" (font_size 8)))
(line (pt 168 96)(pt 152 96))
)
(port
(pt 168 112)
(output)
(text "EN_IN" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "EN_IN" (rect 111 107 147 126)(font "Intel Clear" (font_size 8)))
(line (pt 168 112)(pt 152 112))
)
(port
(pt 168 128)
(output)
(text "RAM" (rect 0 0 27 19)(font "Intel Clear" (font_size 8)))
(text "RAM" (rect 120 123 147 142)(font "Intel Clear" (font_size 8)))
(line (pt 168 128)(pt 152 128))
)
(port
(pt 168 144)
(output)
(text "ALU_S0" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S0" (rect 99 139 147 158)(font "Intel Clear" (font_size 8)))
(line (pt 168 144)(pt 152 144))
)
(port
(pt 168 160)
(output)
(text "ALU_S1" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S1" (rect 99 155 147 174)(font "Intel Clear" (font_size 8)))
(line (pt 168 160)(pt 152 160))
)
(port
(pt 168 176)
(output)
(text "ALU_S2" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S2" (rect 99 171 147 190)(font "Intel Clear" (font_size 8)))
(line (pt 168 176)(pt 152 176))
)
(port
(pt 168 192)
(output)
(text "ALU_S3" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S3" (rect 99 187 147 206)(font "Intel Clear" (font_size 8)))
(line (pt 168 192)(pt 152 192))
)
(port
(pt 168 208)
(output)
(text "ALU_S4" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S4" (rect 99 203 147 222)(font "Intel Clear" (font_size 8)))
(line (pt 168 208)(pt 152 208))
)
(port
(pt 168 224)
(output)
(text "FETCH" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "FETCH" (rect 107 219 147 238)(font "Intel Clear" (font_size 8)))
(line (pt 168 224)(pt 152 224))
)
(port
(pt 168 240)
(output)
(text "DECODE" (rect 0 0 50 19)(font "Intel Clear" (font_size 8)))
(text "DECODE" (rect 97 235 147 254)(font "Intel Clear" (font_size 8)))
(line (pt 168 240)(pt 152 240))
)
(port
(pt 168 256)
(output)
(text "EXECUTE" (rect 0 0 55 19)(font "Intel Clear" (font_size 8)))
(text "EXECUTE" (rect 92 251 147 270)(font "Intel Clear" (font_size 8)))
(line (pt 168 256)(pt 152 256))
)
(port
(pt 168 272)
(output)
(text "INCREMENT" (rect 0 0 71 19)(font "Intel Clear" (font_size 8)))
(text "INCREMENT" (rect 76 267 147 286)(font "Intel Clear" (font_size 8)))
(line (pt 168 272)(pt 152 272))
)
(drawing
(rectangle (rect 16 16 152 304))
)
)
(connector
(pt -392 112)
(pt -192 112)
)
(connector
(pt -144 112)
(pt 120 112)
)
(connector
(pt 0 128)
(pt 120 128)
)
(connector
(pt 376 200)
(pt 376 112)
)
(connector
(pt 40 200)
(pt 376 200)
)
(connector
(pt 272 352)
(pt 368 352)
(bus)
)
(connector
(pt 888 352)
(pt 1040 352)
(bus)
)
(connector
(text "Carry" (rect 1178 352 1203 369)(font "Intel Clear" ))
(pt 1168 368)
(pt 1264 368)
)
(connector
(pt 1264 952)
(pt 1264 368)
)
(connector
(text "Zero" (rect 1474 184 1495 201)(font "Intel Clear" ))
(pt 1464 200)
(pt 1576 200)
)
(connector
(pt 1576 752)
(pt 1576 200)
)
(connector
(pt 1576 752)
(pt 1248 752)
)
(connector
(pt 1248 752)