-
Notifications
You must be signed in to change notification settings - Fork 0
/
comp16.bdf
2728 lines (2728 loc) · 53.8 KB
/
comp16.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) 2017 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 -432 80 -264 96)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "CLOCK_50" (rect 5 0 62 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -536 336 -368 352)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[3]" (rect 5 0 35 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -536 360 -368 376)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[2..0]" (rect 5 0 47 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 456 648 624 664)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "KEY[0]" (rect 5 0 39 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 896 160 1064 176)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SERIAL_RX" (rect 5 0 68 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect -440 232 -264 248)
(text "INPUT" (rect 133 0 162 10)(font "Arial" (font_size 6)))
(text "CLOCK_50_2" (rect 5 0 75 11)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 912 736 1080 752)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "PS2_CLK" (rect 5 0 55 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 912 752 1080 768)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "PS2_DATA" (rect 5 0 64 11)(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 149 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect -112 368 64 384)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LED[7..0]" (rect 90 0 136 11)(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 1400 160 1576 176)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "SERIAL_TX" (rect 90 0 152 11)(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 1432 496 1608 512)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_SYNC_H" (rect 90 0 164 11)(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 1432 512 1608 528)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_SYNC_V" (rect 90 0 159 13)(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 1432 528 1608 544)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_R[2]" (rect 90 0 166 13)(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 1432 544 1608 560)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_R[1]" (rect 90 0 166 13)(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 1432 560 1608 576)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_R[0]" (rect 90 0 166 13)(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 1432 576 1608 592)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_G[2]" (rect 90 0 166 13)(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 1432 592 1608 608)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_G[1]" (rect 90 0 166 13)(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 1432 608 1608 624)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_G[0]" (rect 90 0 166 13)(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 1432 624 1608 640)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_B[1]" (rect 90 0 166 13)(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 1432 640 1608 656)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "VGA_COL_B[0]" (rect 90 0 166 13)(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))
)
)
(symbol
(rect 48 496 80 528)
(text "GND" (rect 8 16 30 26)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 21 27 34)(font "Intel Clear" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 26 11)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 26 11)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0))
)
(drawing
(line (pt 8 8)(pt 16 16))
(line (pt 16 16)(pt 24 8))
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 744 208 920 320)
(text "alu" (rect 5 0 21 11)(font "Arial" ))
(text "inst3" (rect 8 96 32 107)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 11)(font "Arial" ))
(text "clk" (rect 21 27 36 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "a[15..0]" (rect 0 0 37 11)(font "Arial" ))
(text "a[15..0]" (rect 21 43 58 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "b[15..0]" (rect 0 0 37 11)(font "Arial" ))
(text "b[15..0]" (rect 21 59 58 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "op[3..0]" (rect 0 0 37 11)(font "Arial" ))
(text "op[3..0]" (rect 21 75 58 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 176 32)
(output)
(text "result[15..0]" (rect 0 0 57 11)(font "Arial" ))
(text "result[15..0]" (rect 113 27 170 38)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 160 96))
)
)
(symbol
(rect 216 272 360 352)
(text "step" (rect 5 0 27 11)(font "Arial" ))
(text "inst2" (rect 8 64 32 75)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 11)(font "Arial" ))
(text "clk" (rect 21 27 36 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "rst" (rect 0 0 14 11)(font "Arial" ))
(text "rst" (rect 21 43 35 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 144 32)
(output)
(text "step[1..0]" (rect 0 0 46 11)(font "Arial" ))
(text "step[1..0]" (rect 90 27 136 38)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 64))
)
)
(symbol
(rect 144 376 336 552)
(text "DualRAM" (rect 5 0 52 11)(font "Arial" ))
(text "inst4" (rect 8 160 32 171)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 11)(font "Arial" ))
(text "clk" (rect 21 27 36 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "aData[15..0]" (rect 0 0 60 11)(font "Arial" ))
(text "aData[15..0]" (rect 21 43 81 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "bData[15..0]" (rect 0 0 60 11)(font "Arial" ))
(text "bData[15..0]" (rect 21 59 81 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "aAdrs[15..0]" (rect 0 0 60 11)(font "Arial" ))
(text "aAdrs[15..0]" (rect 21 75 81 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "bAdrs[15..0]" (rect 0 0 60 11)(font "Arial" ))
(text "bAdrs[15..0]" (rect 21 91 81 102)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "aWE" (rect 0 0 25 11)(font "Arial" ))
(text "aWE" (rect 21 107 46 118)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 0 128)
(input)
(text "bWE" (rect 0 0 25 11)(font "Arial" ))
(text "bWE" (rect 21 123 46 134)(font "Arial" ))
(line (pt 0 128)(pt 16 128))
)
(port
(pt 192 32)
(output)
(text "aVal[15..0]" (rect 0 0 53 11)(font "Arial" ))
(text "aVal[15..0]" (rect 132 27 185 38)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(port
(pt 192 48)
(output)
(text "bVal[15..0]" (rect 0 0 53 11)(font "Arial" ))
(text "bVal[15..0]" (rect 132 43 185 54)(font "Arial" ))
(line (pt 192 48)(pt 176 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 160))
)
)
(symbol
(rect -304 344 -136 552)
(text "debugOut" (rect 5 0 54 11)(font "Arial" ))
(text "inst8" (rect 8 192 32 203)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "highSe" (rect 0 0 36 11)(font "Arial" ))
(text "highSe" (rect 21 27 57 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "inSel[2..0]" (rect 0 0 49 11)(font "Arial" ))
(text "inSel[2..0]" (rect 21 43 70 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "i0[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i0[15..0]" (rect 21 59 61 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "i1[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i1[15..0]" (rect 21 75 61 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "i2[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i2[15..0]" (rect 21 91 61 102)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "i3[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i3[15..0]" (rect 21 107 61 118)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "i4[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i4[15..0]" (rect 21 123 61 134)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "i5[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i5[15..0]" (rect 21 139 61 150)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "i6[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i6[15..0]" (rect 21 155 61 166)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 3))
)
(port
(pt 0 176)
(input)
(text "i7[15..0]" (rect 0 0 40 11)(font "Arial" ))
(text "i7[15..0]" (rect 21 171 61 182)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 168 32)
(output)
(text "out[7..0]" (rect 0 0 40 11)(font "Arial" ))
(text "out[7..0]" (rect 118 27 158 38)(font "Arial" ))
(line (pt 168 32)(pt 152 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 152 192))
)
)
(symbol
(rect 448 224 672 528)
(text "central" (rect 5 0 39 11)(font "Arial" ))
(text "inst" (rect 8 288 26 299)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 11)(font "Arial" ))
(text "clk" (rect 21 27 36 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "delayed" (rect 0 0 40 11)(font "Arial" ))
(text "delayed" (rect 21 43 61 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "instrRAM[15..0]" (rect 0 0 76 11)(font "Arial" ))
(text "instrRAM[15..0]" (rect 21 59 97 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "step[1..0]" (rect 0 0 46 11)(font "Arial" ))
(text "step[1..0]" (rect 21 75 67 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "result[15..0]" (rect 0 0 57 11)(font "Arial" ))
(text "result[15..0]" (rect 21 91 78 102)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "mdrIn[15..0]" (rect 0 0 59 11)(font "Arial" ))
(text "mdrIn[15..0]" (rect 21 107 80 118)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "pcIn[15..0]" (rect 0 0 51 11)(font "Arial" ))
(text "pcIn[15..0]" (rect 21 123 72 134)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "ioIn[15..0]" (rect 0 0 48 11)(font "Arial" ))
(text "ioIn[15..0]" (rect 21 139 69 150)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 224 32)
(output)
(text "a[15..0]" (rect 0 0 37 11)(font "Arial" ))
(text "a[15..0]" (rect 176 27 213 38)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
)
(port
(pt 224 48)
(output)
(text "b[15..0]" (rect 0 0 37 11)(font "Arial" ))
(text "b[15..0]" (rect 176 43 213 54)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
)
(port
(pt 224 64)
(output)
(text "aluOpReg[3..0]" (rect 0 0 74 11)(font "Arial" ))
(text "aluOpReg[3..0]" (rect 149 59 223 70)(font "Arial" ))
(line (pt 224 64)(pt 208 64)(line_width 3))
)
(port
(pt 224 80)
(output)
(text "out[15..0]" (rect 0 0 46 11)(font "Arial" ))
(text "out[15..0]" (rect 169 75 215 86)(font "Arial" ))
(line (pt 224 80)(pt 208 80)(line_width 3))
)
(port
(pt 224 96)
(output)
(text "we[15..0]" (rect 0 0 44 11)(font "Arial" ))
(text "we[15..0]" (rect 170 91 214 102)(font "Arial" ))
(line (pt 224 96)(pt 208 96)(line_width 3))
)
(port
(pt 224 112)
(output)
(text "pc[15..0]" (rect 0 0 42 11)(font "Arial" ))
(text "pc[15..0]" (rect 172 107 214 118)(font "Arial" ))
(line (pt 224 112)(pt 208 112)(line_width 3))
)
(port
(pt 224 128)
(output)
(text "microReset" (rect 0 0 57 11)(font "Arial" ))
(text "microReset" (rect 161 123 218 134)(font "Arial" ))
(line (pt 224 128)(pt 208 128))
)
(port
(pt 224 144)
(output)
(text "marOut[15..0]" (rect 0 0 67 11)(font "Arial" ))
(text "marOut[15..0]" (rect 154 139 221 150)(font "Arial" ))
(line (pt 224 144)(pt 208 144)(line_width 3))
)
(port
(pt 224 160)
(output)
(text "mdrOut[15..0]" (rect 0 0 67 11)(font "Arial" ))
(text "mdrOut[15..0]" (rect 154 155 221 166)(font "Arial" ))
(line (pt 224 160)(pt 208 160)(line_width 3))
)
(port
(pt 224 176)
(output)
(text "hlt" (rect 0 0 12 11)(font "Arial" ))
(text "hlt" (rect 193 171 205 182)(font "Arial" ))
(line (pt 224 176)(pt 208 176))
)
(port
(pt 224 192)
(output)
(text "cond[15..0]" (rect 0 0 55 11)(font "Arial" ))
(text "cond[15..0]" (rect 163 187 218 198)(font "Arial" ))
(line (pt 224 192)(pt 208 192)(line_width 3))
)
(port
(pt 224 208)
(output)
(text "ce" (rect 0 0 12 11)(font "Arial" ))
(text "ce" (rect 193 203 205 214)(font "Arial" ))
(line (pt 224 208)(pt 208 208))
)
(port
(pt 224 224)
(output)
(text "PCIncr" (rect 0 0 35 11)(font "Arial" ))
(text "PCIncr" (rect 178 219 213 230)(font "Arial" ))
(line (pt 224 224)(pt 208 224))
)
(port
(pt 224 240)
(output)
(text "ioAdrs[7..0]" (rect 0 0 56 11)(font "Arial" ))
(text "ioAdrs[7..0]" (rect 162 235 218 246)(font "Arial" ))
(line (pt 224 240)(pt 208 240)(line_width 3))
)
(port
(pt 224 256)
(output)
(text "ioOut[15..0]" (rect 0 0 57 11)(font "Arial" ))
(text "ioOut[15..0]" (rect 161 251 218 262)(font "Arial" ))
(line (pt 224 256)(pt 208 256)(line_width 3))
)
(port
(pt 224 272)
(output)
(text "ioWe" (rect 0 0 27 11)(font "Arial" ))
(text "ioWe" (rect 183 267 210 278)(font "Arial" ))
(line (pt 224 272)(pt 208 272))
)
(drawing
(rectangle (rect 16 16 208 288))
)
)
(symbol
(rect 864 360 1056 504)
(text "PC" (rect 5 0 21 11)(font "Arial" ))
(text "inst6" (rect 8 128 32 139)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 11)(font "Arial" ))
(text "clk" (rect 21 27 36 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "pc[15..0]" (rect 0 0 42 11)(font "Arial" ))
(text "pc[15..0]" (rect 21 43 63 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "cond[15..0]" (rect 0 0 55 11)(font "Arial" ))
(text "cond[15..0]" (rect 21 59 76 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "ce" (rect 0 0 12 11)(font "Arial" ))
(text "ce" (rect 21 75 33 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "incr" (rect 0 0 18 11)(font "Arial" ))
(text "incr" (rect 21 91 39 102)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "jmpToff00" (rect 0 0 50 11)(font "Arial" ))
(text "jmpToff00" (rect 21 107 71 118)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 192 32)
(output)
(text "pcOut[15..0]" (rect 0 0 60 11)(font "Arial" ))
(text "pcOut[15..0]" (rect 121 27 181 38)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 128))
)
)
(symbol
(rect 632 640 680 672)
(text "NOT" (rect 1 0 22 10)(font "Arial" (font_size 6)))
(text "inst11" (rect 3 21 34 34)(font "Intel Clear" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 53 18)(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 1176 136 1384 296)
(text "uart_io" (rect 5 0 46 15)(font "Intel Clear" (font_size 8)))
(text "inst1" (rect 8 143 32 156)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "RX" (rect 0 0 17 15)(font "Intel Clear" (font_size 8)))
(text "RX" (rect 21 27 38 42)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk0" (rect 0 0 25 15)(font "Intel Clear" (font_size 8)))
(text "clk0" (rect 21 43 46 58)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "io_clk" (rect 0 0 34 15)(font "Intel Clear" (font_size 8)))
(text "io_clk" (rect 21 59 55 74)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "io_we" (rect 0 0 34 15)(font "Intel Clear" (font_size 8)))
(text "io_we" (rect 21 75 55 90)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "io_addr[7..0]" (rect 0 0 73 15)(font "Intel Clear" (font_size 8)))
(text "io_addr[7..0]" (rect 21 91 94 106)(font "Intel Clear" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "io_data[15..0]" (rect 0 0 79 15)(font "Intel Clear" (font_size 8)))
(text "io_data[15..0]" (rect 21 107 100 122)(font "Intel Clear" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 208 32)
(output)
(text "TX" (rect 0 0 17 15)(font "Intel Clear" (font_size 8)))
(text "TX" (rect 170 27 187 42)(font "Intel Clear" (font_size 8)))
(line (pt 208 32)(pt 192 32))
)
(port
(pt 208 48)
(output)
(text "io_out[15..0]" (rect 0 0 73 15)(font "Intel Clear" (font_size 8)))
(text "io_out[15..0]" (rect 114 43 187 58)(font "Intel Clear" (font_size 8)))
(line (pt 208 48)(pt 192 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 144))
)
)
(symbol
(rect 1176 344 1328 424)
(text "io_port" (rect 5 0 40 11)(font "Arial" ))
(text "inst7" (rect 8 64 32 77)(font "Intel Clear" ))
(port
(pt 0 24)
(input)
(text "io_clk" (rect 0 0 29 11)(font "Arial" ))
(text "io_clk" (rect 21 19 50 30)(font "Arial" ))
(line (pt 0 24)(pt 16 24))
)
(port
(pt 0 32)
(input)
(text "io_we" (rect 0 0 30 11)(font "Arial" ))
(text "io_we" (rect 21 27 51 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 40)
(input)
(text "io_addr[7..0]" (rect 0 0 61 11)(font "Arial" ))
(text "io_addr[7..0]" (rect 21 35 82 46)(font "Arial" ))
(line (pt 0 40)(pt 16 40)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "io_data[15..0]" (rect 0 0 67 11)(font "Arial" ))
(text "io_data[15..0]" (rect 21 43 88 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "data[15..0]" (rect 0 0 53 11)(font "Arial" ))
(text "data[15..0]" (rect 21 51 74 62)(font "Arial" ))
(line (pt 0 56)(pt 16 56)(line_width 3))
)
(port
(pt 152 24)
(output)
(text "out[15..0]" (rect -48 0 -2 11)(font "Arial" ))
(text "out[15..0]" (rect 93 19 139 30)(font "Arial" ))
(line (pt 152 24)(pt 136 24)(line_width 3))
)
(port
(pt 152 32)
(output)
(text "io_out[15..0]" (rect -48 0 13 11)(font "Arial" ))
(text "io_out[15..0]" (rect 80 27 141 38)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 3))
)
(port
(pt 152 40)
(output)
(text "we" (rect -48 0 -33 11)(font "Arial" ))
(text "we" (rect 119 35 134 46)(font "Arial" ))
(line (pt 152 40)(pt 136 40))
)
(parameter
"io_port"
"0"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 136 64))
)
(annotation_block (parameter)(rect 1176 312 1352 344))
)
(symbol
(rect 1176 472 1416 696)
(text "vga_io" (rect 5 0 43 15)(font "Intel Clear" (font_size 8)))
(text "inst9" (rect 8 207 32 220)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "pixel_clk" (rect 0 0 50 15)(font "Intel Clear" (font_size 8)))
(text "pixel_clk" (rect 21 27 71 42)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "pixel_clk_delayed" (rect 0 0 102 15)(font "Intel Clear" (font_size 8)))
(text "pixel_clk_delayed" (rect 21 43 123 58)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "clk0" (rect 0 0 25 15)(font "Intel Clear" (font_size 8)))