-
Notifications
You must be signed in to change notification settings - Fork 0
/
CPU.bdf
910 lines (910 loc) · 22.6 KB
/
CPU.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
/*
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) 2018 Intel Corporation. All rights reserved.
Your use of Intel 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 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.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect -64 40 144 56)
(text "INPUT" (rect 165 0 193 10)(font "Arial" (font_size 6)))
(text "MAX10_CLK1_50" (rect 5 0 88 12)(font "Arial" ))
(pt 208 8)
(drawing
(line (pt 124 12)(pt 149 12))
(line (pt 124 4)(pt 149 4))
(line (pt 153 8)(pt 208 8))
(line (pt 124 12)(pt 124 4))
(line (pt 149 4)(pt 153 8))
(line (pt 149 12)(pt 153 8))
)
(text "VCC" (rect 168 7 188 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -128 56 -64 80))
)
(pin
(input)
(rect -64 -48 104 -32)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "SW[9..0]" (rect 5 0 45 17)(font "Intel Clear" ))
(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)))
(annotation_block (location)(rect -184 -32 -120 -8))
)
(pin
(output)
(rect 1496 -176 1672 -160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR[9..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1672 -160 1728 -136))
)
(pin
(output)
(rect 1464 296 1640 312)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX5[7..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1640 312 1704 336))
)
(pin
(output)
(rect 1472 80 1648 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX2[7..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1648 96 1712 120))
)
(pin
(output)
(rect 1512 -88 1688 -72)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX4[7..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1688 -72 1752 -48))
)
(pin
(output)
(rect 1488 -8 1664 8)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX3[7..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1664 8 1728 32))
)
(pin
(output)
(rect 1472 168 1648 184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[7..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1648 184 1712 208))
)
(pin
(output)
(rect 1464 248 1640 264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[7..0]" (rect 90 0 139 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))
)
(annotation_block (location)(rect 1640 264 1704 288))
)
(symbol
(rect 1256 -168 1440 -88)
(text "SEG7_LUT" (rect 5 0 59 12)(font "Arial" ))
(text "inst" (rect 8 64 25 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "iDIG[3..0]" (rect 0 0 48 12)(font "Arial" ))
(text "iDIG[3..0]" (rect 21 27 69 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "oSEG[6..0]" (rect 0 0 54 12)(font "Arial" ))
(text "oSEG[6..0]" (rect 106 27 160 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 1256 -80 1440 0)
(text "SEG7_LUT" (rect 5 0 59 12)(font "Arial" ))
(text "inst1" (rect 8 64 30 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "iDIG[3..0]" (rect 0 0 48 12)(font "Arial" ))
(text "iDIG[3..0]" (rect 21 27 69 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "oSEG[6..0]" (rect 0 0 54 12)(font "Arial" ))
(text "oSEG[6..0]" (rect 106 27 160 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 1256 8 1440 88)
(text "SEG7_LUT" (rect 5 0 59 12)(font "Arial" ))
(text "inst2" (rect 8 64 30 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "iDIG[3..0]" (rect 0 0 48 12)(font "Arial" ))
(text "iDIG[3..0]" (rect 21 27 69 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "oSEG[6..0]" (rect 0 0 54 12)(font "Arial" ))
(text "oSEG[6..0]" (rect 106 27 160 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 1256 96 1440 176)
(text "SEG7_LUT" (rect 5 0 59 12)(font "Arial" ))
(text "inst3" (rect 8 64 30 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "iDIG[3..0]" (rect 0 0 48 12)(font "Arial" ))
(text "iDIG[3..0]" (rect 21 27 69 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "oSEG[6..0]" (rect 0 0 54 12)(font "Arial" ))
(text "oSEG[6..0]" (rect 106 27 160 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 1256 176 1440 256)
(text "SEG7_LUT" (rect 5 0 59 12)(font "Arial" ))
(text "inst4" (rect 8 64 30 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "iDIG[3..0]" (rect 0 0 48 12)(font "Arial" ))
(text "iDIG[3..0]" (rect 21 27 69 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "oSEG[6..0]" (rect 0 0 54 12)(font "Arial" ))
(text "oSEG[6..0]" (rect 106 27 160 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 1016 -24 1192 120)
(text "dig2dec" (rect 5 0 42 12)(font "Arial" ))
(text "inst5" (rect 8 128 30 145)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "vol[15..0]" (rect 0 0 47 12)(font "Arial" ))
(text "vol[15..0]" (rect 21 27 68 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 176 32)
(output)
(text "seg4[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "seg4[3..0]" (rect 102 27 151 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 3))
)
(port
(pt 176 48)
(output)
(text "seg3[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "seg3[3..0]" (rect 102 43 151 55)(font "Arial" ))
(line (pt 176 48)(pt 160 48)(line_width 3))
)
(port
(pt 176 64)
(output)
(text "seg2[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "seg2[3..0]" (rect 102 59 151 71)(font "Arial" ))
(line (pt 176 64)(pt 160 64)(line_width 3))
)
(port
(pt 176 80)
(output)
(text "seg1[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "seg1[3..0]" (rect 102 75 151 87)(font "Arial" ))
(line (pt 176 80)(pt 160 80)(line_width 3))
)
(port
(pt 176 96)
(output)
(text "seg0[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "seg0[3..0]" (rect 102 91 151 103)(font "Arial" ))
(line (pt 176 96)(pt 160 96)(line_width 3))
)
(drawing
(rectangle (rect 16 16 160 128))
)
)
(symbol
(rect 88 120 120 136)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst13" (rect 3 5 31 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1448 -128 1480 -112)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst14" (rect 3 5 31 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1448 -40 1480 -24)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst15" (rect 3 5 31 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1456 56 1488 72)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst16" (rect 3 5 31 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1456 136 1488 152)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst17" (rect 3 5 31 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1448 224 1480 240)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst18" (rect 3 5 31 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 88 80 120 112)
(text "GND" (rect -1 16 20 26)(font "Arial" (font_size 6)))
(text "inst12" (rect -11 21 17 38)(font "Intel Clear" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 6 0 11 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0))
)
(drawing
(line (pt 24 8)(pt 16 16))
(line (pt 16 16)(pt 8 8))
(line (pt 24 8)(pt 8 8))
)
(flipy)
)
(symbol
(rect 648 -200 856 -88)
(text "rom" (rect 5 0 23 12)(font "Arial" ))
(text "Program_Memory" (rect 8 96 95 113)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "Adress[7..0]" (rect 0 0 60 12)(font "Arial" ))
(text "Adress[7..0]" (rect 21 75 81 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 208 32)
(output)
(text "Data_out[7..0]" (rect 0 0 70 12)(font "Arial" ))
(text "Data_out[7..0]" (rect 128 27 198 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 96))
)
)
(symbol
(rect 704 296 912 440)
(text "ram" (rect 5 0 23 12)(font "Arial" ))
(text "Data_Memory" (rect 8 128 76 145)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "rw" (rect 0 0 10 12)(font "Arial" ))
(text "rw" (rect 21 27 31 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 43 32 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 59 35 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 75 33 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "Adress[7..0]" (rect 0 0 60 12)(font "Arial" ))
(text "Adress[7..0]" (rect 21 91 81 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "Data_in[7..0]" (rect 0 0 63 12)(font "Arial" ))
(text "Data_in[7..0]" (rect 21 107 84 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 208 32)
(output)
(text "Data_out[7..0]" (rect 0 0 70 12)(font "Arial" ))
(text "Data_out[7..0]" (rect 128 27 198 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 128))
)
)
(symbol
(rect 248 -152 464 -8)
(text "Fetch" (rect 5 0 33 12)(font "Arial" ))
(text "Fetch" (rect 8 128 33 145)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "PC_load" (rect 0 0 41 12)(font "Arial" ))
(text "PC_load" (rect 21 75 62 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "PC_Jump[7..0]" (rect 0 0 74 12)(font "Arial" ))
(text "PC_Jump[7..0]" (rect 21 91 95 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 216 32)
(output)
(text "PC_out[7..0]" (rect 0 0 62 12)(font "Arial" ))
(text "PC_out[7..0]" (rect 143 27 205 39)(font "Arial" ))
(line (pt 216 32)(pt 200 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 200 128))
)
)
(symbol
(rect 8 200 192 280)
(text "Event_Detect" (rect 5 0 73 12)(font "Arial" ))
(text "Event_Detect" (rect 8 64 71 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "IN_Signal" (rect 0 0 47 12)(font "Arial" ))
(text "IN_Signal" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 184 32)
(output)
(text "Event_L2H" (rect 0 0 55 12)(font "Arial" ))
(text "Event_L2H" (rect 117 27 172 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32))
)
(port
(pt 184 48)
(output)
(text "Event_H2L" (rect 0 0 55 12)(font "Arial" ))
(text "Event_H2L" (rect 117 43 172 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 8 304 192 384)
(text "Event_Detect" (rect 5 0 73 12)(font "Arial" ))
(text "Event_Detect10" (rect 8 64 83 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "IN_Signal" (rect 0 0 47 12)(font "Arial" ))
(text "IN_Signal" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 184 32)
(output)
(text "Event_L2H" (rect 0 0 55 12)(font "Arial" ))
(text "Event_L2H" (rect 117 27 172 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32))
)
(port
(pt 184 48)
(output)
(text "Event_H2L" (rect 0 0 55 12)(font "Arial" ))
(text "Event_H2L" (rect 117 43 172 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 8 408 192 488)
(text "Event_Detect" (rect 5 0 73 12)(font "Arial" ))
(text "Event_Detect11" (rect 8 64 83 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "IN_Signal" (rect 0 0 47 12)(font "Arial" ))
(text "IN_Signal" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 184 32)
(output)
(text "Event_L2H" (rect 0 0 55 12)(font "Arial" ))
(text "Event_L2H" (rect 117 27 172 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32))
)
(port
(pt 184 48)
(output)
(text "Event_H2L" (rect 0 0 55 12)(font "Arial" ))
(text "Event_H2L" (rect 117 43 172 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(symbol
(rect 8 512 192 592)
(text "Event_Detect" (rect 5 0 73 12)(font "Arial" ))
(text "Event_Detect12" (rect 8 64 83 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "IN_Signal" (rect 0 0 47 12)(font "Arial" ))
(text "IN_Signal" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 184 32)
(output)
(text "Event_L2H" (rect 0 0 55 12)(font "Arial" ))
(text "Event_L2H" (rect 117 27 172 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32))
)
(port
(pt 184 48)
(output)
(text "Event_H2L" (rect 0 0 55 12)(font "Arial" ))
(text "Event_H2L" (rect 117 43 172 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(connector
(pt 104 80)
(pt 104 72)
)
(connector
(text "0" (rect 115 48 120 65)(font "Intel Clear" ))
(pt 104 72)
(pt 160 72)
)
(connector
(pt 104 136)
(pt 104 144)
)
(connector
(pt 1248 -48)
(pt 1256 -48)
(bus)
)
(connector
(text "HEX2[6..0]" (rect 1451 16 1500 33)(font "Intel Clear" ))
(pt 1440 40)
(pt 1504 40)
(bus)
)
(connector
(text "HE" (rect 1440 -135 1457 -123)(font "Intel Clear" )(vertical))
(pt 1464 -112)
(pt 1464 -104)
)
(connector
(text "HEX4[6..0]" (rect 1457 -160 1506 -143)(font "Intel Clear" ))
(pt 1440 -136)
(pt 1512 -136)
(bus)
)
(connector
(text "HEX4[7]" (rect 1519 -128 1557 -111)(font "Intel Clear" ))
(pt 1464 -104)
(pt 1560 -104)
)
(connector
(text "HEX3[6..0]" (rect 1453 -72 1502 -55)(font "Intel Clear" ))
(pt 1440 -48)
(pt 1512 -48)
(bus)
)
(connector
(text "HEX1[6..0]" (rect 1454 104 1503 121)(font "Intel Clear" ))
(pt 1440 128)
(pt 1512 128)
(bus)
)
(connector
(text "HEX0[6..0]" (rect 1474 184 1523 201)(font "Intel Clear" ))
(pt 1440 208)
(pt 1512 208)
(bus)
)
(connector
(pt 1232 -136)
(pt 1256 -136)
(bus)
)
(connector
(pt 1240 128)
(pt 1256 128)
(bus)
)
(connector
(pt 1232 208)
(pt 1256 208)
(bus)
)
(connector
(text "1,1,1,1,1,1,1,1" (rect 1363 280 1426 297)(font "Intel Clear" ))
(pt 1352 304)
(pt 1464 304)
(bus)
)
(connector
(pt 1248 -48)
(pt 1248 24)
(bus)
)
(connector
(pt 1232 -136)
(pt 1232 8)
(bus)
)
(connector
(pt 1240 128)
(pt 1240 56)
(bus)
)
(connector
(pt 1232 208)
(pt 1232 72)
(bus)
)
(connector
(pt 1192 8)
(pt 1232 8)
(bus)
)
(connector
(pt 1192 24)
(pt 1248 24)
(bus)
)
(connector
(pt 1192 40)
(pt 1256 40)
(bus)
)
(connector
(pt 1192 56)
(pt 1240 56)
(bus)
)
(connector
(pt 1192 72)
(pt 1232 72)
(bus)
)
(connector
(text "HEX3[7]" (rect 1519 -48 1557 -31)(font "Intel Clear" ))
(pt 1464 -24)
(pt 1560 -24)
)
(connector
(text "HEX2[7]" (rect 1527 48 1565 65)(font "Intel Clear" ))
(pt 1472 72)
(pt 1568 72)
)
(connector
(text "HEX1[7]" (rect 1527 128 1565 145)(font "Intel Clear" ))
(pt 1472 152)
(pt 1568 152)
)
(connector
(text "HEX0[7]" (rect 1519 216 1557 233)(font "Intel Clear" ))
(pt 1464 240)
(pt 1560 240)
)
(connector
(pt 648 -120)
(pt 464 -120)
(bus)
)
(connector
(pt 248 -104)
(pt 144 -104)
)
(connector
(pt 144 -104)
(pt 144 48)
)
(connector
(pt 248 -120)
(pt 208 -120)
)
(connector
(pt 208 144)
(pt 208 -120)
)
(connector
(text "1" (rect 136 120 141 137)(font "Intel Clear" ))
(pt 104 144)
(pt 208 144)
)
(text "BINARY -> DECIMAL" (rect 992 176 1197 201)(font "Intel Clear" (color 255 0 0)(font_size 14)))
(text "DECODER" (rect 1032 216 1133 241)(font "Intel Clear" (color 255 0 0)(font_size 14)))
(text "7 SEGMENTS DECODER" (rect 1304 328 1545 353)(font "Intel Clear" (color 255 0 0)(font_size 14)))
(text "CPU" (rect 472 224 515 249)(font "Intel Clear" (color 255 0 0)(font_size 14)))