-
Notifications
You must be signed in to change notification settings - Fork 2
/
bouncy_test_v1.bdf
1098 lines (1098 loc) · 23.4 KB
/
bouncy_test_v1.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) 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 640 280 808 296)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "PushButton1" (rect 5 0 66 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 584 296 640 320))
)
(pin
(input)
(rect 632 296 800 312)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "PushButton2" (rect 5 0 66 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 648 312 704 336))
)
(pin
(input)
(rect -120 144 48 160)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "fullClock" (rect 5 0 48 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)))
(annotation_block (location)(rect -104 160 -48 184))
)
(pin
(output)
(rect 992 208 1168 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "red_out" (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))
)
(annotation_block (location)(rect 1168 224 1224 248))
)
(pin
(output)
(rect 992 224 1168 240)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "green_out" (rect 90 0 138 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 1168 240 1224 264))
)
(pin
(output)
(rect 992 248 1168 264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "blue_out" (rect 90 0 132 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 1168 264 1224 288))
)
(pin
(output)
(rect 792 152 968 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "rihgt_click" (rect 90 0 138 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 968 168 1032 192))
)
(pin
(output)
(rect 728 592 904 608)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vertSyncOut" (rect 90 0 153 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))
)
(annotation_block (location)(rect 904 608 960 632))
)
(pin
(output)
(rect 728 624 904 640)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "horizSyncOut" (rect 90 0 152 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 904 640 960 664))
)
(pin
(output)
(rect 1136 112 1312 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "leftclick" (rect 90 0 128 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))
)
(annotation_block (location)(rect 1312 128 1376 152))
)
(pin
(output)
(rect 1272 376 1448 392)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[0]" (rect 90 0 130 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))
)
(annotation_block (location)(rect 1448 392 1512 416))
)
(pin
(output)
(rect 1272 400 1448 416)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[1]" (rect 90 0 128 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 1448 416 1512 440))
)
(pin
(output)
(rect 1272 424 1448 440)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[2]" (rect 90 0 128 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 1448 440 1512 464))
)
(pin
(output)
(rect 1272 448 1448 464)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[3]" (rect 90 0 128 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 1448 464 1512 488))
)
(pin
(output)
(rect 1272 472 1448 488)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[4]" (rect 90 0 128 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 1448 488 1512 512))
)
(pin
(output)
(rect 1272 520 1448 536)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[6]" (rect 90 0 128 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 1448 536 1520 560))
)
(pin
(output)
(rect 1272 496 1448 512)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[5]" (rect 90 0 128 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 1448 512 1512 536))
)
(pin
(output)
(rect 1272 552 1448 568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[0]" (rect 90 0 128 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 1448 568 1520 592))
)
(pin
(output)
(rect 1272 576 1448 592)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[1]" (rect 90 0 128 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 1448 592 1520 616))
)
(pin
(output)
(rect 1272 600 1448 616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[2]" (rect 90 0 128 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 1448 616 1520 640))
)
(pin
(output)
(rect 1272 632 1448 648)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[3]" (rect 90 0 128 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 1448 648 1520 672))
)
(pin
(output)
(rect 1272 664 1448 680)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[4]" (rect 90 0 128 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 1448 680 1520 704))
)
(pin
(output)
(rect 1272 688 1448 704)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[5]" (rect 90 0 128 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 1448 704 1520 728))
)
(pin
(output)
(rect 1272 712 1448 728)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[6]" (rect 90 0 128 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 1448 728 1512 752))
)
(pin
(output)
(rect 1064 584 1240 600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "collide" (rect 90 0 120 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
(bidir)
(rect 816 104 992 120)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "mouseData" (rect 90 0 146 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 992 120 1048 144))
)
(pin
(bidir)
(rect 824 120 1000 136)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "mouseClk" (rect 90 0 138 17)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 1000 136 1056 160))
)
(symbol
(rect 144 120 280 200)
(text "halfclock" (rect 5 0 49 12)(font "Arial" ))
(text "inst" (rect 8 64 25 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "Clk" (rect 0 0 16 12)(font "Arial" ))
(text "Clk" (rect 21 27 37 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 136 32)
(output)
(text "clkOut" (rect 0 0 31 12)(font "Arial" ))
(text "clkOut" (rect 89 27 120 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32))
)
(drawing
(rectangle (rect 16 16 120 64))
)
)
(symbol
(rect 344 248 568 424)
(text "VGA_SYNC" (rect 5 0 65 12)(font "Arial" ))
(text "inst1" (rect 8 160 30 177)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clock_25Mhz" (rect 0 0 62 12)(font "Arial" ))
(text "clock_25Mhz" (rect 21 27 83 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "red" (rect 0 0 15 12)(font "Arial" ))
(text "red" (rect 21 43 36 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "green" (rect 0 0 27 12)(font "Arial" ))
(text "green" (rect 21 59 48 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "blue" (rect 0 0 20 12)(font "Arial" ))
(text "blue" (rect 21 75 41 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 224 32)
(output)
(text "red_out" (rect 0 0 36 12)(font "Arial" ))
(text "red_out" (rect 173 27 209 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32))
)
(port
(pt 224 48)
(output)
(text "green_out" (rect 0 0 48 12)(font "Arial" ))
(text "green_out" (rect 163 43 211 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48))
)
(port
(pt 224 64)
(output)
(text "blue_out" (rect 0 0 41 12)(font "Arial" ))
(text "blue_out" (rect 169 59 210 71)(font "Arial" ))
(line (pt 224 64)(pt 208 64))
)
(port
(pt 224 80)
(output)
(text "horiz_sync_out" (rect 0 0 74 12)(font "Arial" ))
(text "horiz_sync_out" (rect 141 75 215 87)(font "Arial" ))
(line (pt 224 80)(pt 208 80))
)
(port
(pt 224 96)
(output)
(text "vert_sync_out" (rect 0 0 71 12)(font "Arial" ))
(text "vert_sync_out" (rect 143 91 214 103)(font "Arial" ))
(line (pt 224 96)(pt 208 96))
)
(port
(pt 224 112)
(output)
(text "pixel_row[9..0]" (rect 0 0 70 12)(font "Arial" ))
(text "pixel_row[9..0]" (rect 144 107 214 119)(font "Arial" ))
(line (pt 224 112)(pt 208 112)(line_width 3))
)
(port
(pt 224 128)
(output)
(text "pixel_column[9..0]" (rect 0 0 89 12)(font "Arial" ))
(text "pixel_column[9..0]" (rect 128 123 217 135)(font "Arial" ))
(line (pt 224 128)(pt 208 128)(line_width 3))
)
(drawing
(rectangle (rect 16 16 208 160))
)
)
(symbol
(rect 496 80 760 224)
(text "MOUSE" (rect 5 0 43 12)(font "Arial" ))
(text "inst2" (rect 8 128 30 145)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clock_25Mhz" (rect 0 0 62 12)(font "Arial" ))
(text "clock_25Mhz" (rect 21 27 83 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 264 64)
(output)
(text "left_button" (rect 0 0 53 12)(font "Arial" ))
(text "left_button" (rect 199 59 252 71)(font "Arial" ))
(line (pt 264 64)(pt 248 64))
)
(port
(pt 264 80)
(output)
(text "right_button" (rect 0 0 57 12)(font "Arial" ))
(text "right_button" (rect 195 75 252 87)(font "Arial" ))
(line (pt 264 80)(pt 248 80))
)
(port
(pt 264 96)
(output)
(text "mouse_cursor_row[9..0]" (rect 0 0 118 12)(font "Arial" ))
(text "mouse_cursor_row[9..0]" (rect 144 91 262 103)(font "Arial" ))
(line (pt 264 96)(pt 248 96)(line_width 3))
)
(port
(pt 264 112)
(output)
(text "mouse_cursor_column[9..0]" (rect 0 0 136 12)(font "Arial" ))
(text "mouse_cursor_column[9..0]" (rect 128 107 264 119)(font "Arial" ))
(line (pt 264 112)(pt 248 112)(line_width 3))
)
(port
(pt 264 32)
(bidir)
(text "mouse_data" (rect 0 0 60 12)(font "Arial" ))
(text "mouse_data" (rect 194 27 254 39)(font "Arial" ))
(line (pt 264 32)(pt 248 32))
)
(port
(pt 264 48)
(bidir)
(text "mouse_clk" (rect 0 0 53 12)(font "Arial" ))
(text "mouse_clk" (rect 200 43 253 55)(font "Arial" ))
(line (pt 264 48)(pt 248 48))
)
(drawing
(rectangle (rect 16 16 248 128))
)
)
(symbol
(rect 456 152 488 184)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "ground1" (rect 3 21 41 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(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 800 256 1040 432)
(text "bouncy_ball" (rect 5 0 64 12)(font "Arial" ))
(text "inst3" (rect 8 160 31 172)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "pb1" (rect 0 0 17 12)(font "Arial" ))
(text "pb1" (rect 21 27 38 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "pb2" (rect 0 0 17 12)(font "Arial" ))
(text "pb2" (rect 21 43 38 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 "vert_sync" (rect 0 0 50 12)(font "Arial" ))
(text "vert_sync" (rect 21 75 71 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "leftclick" (rect 0 0 38 12)(font "Arial" ))
(text "leftclick" (rect 21 91 59 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "pixel_row[9..0]" (rect 0 0 70 12)(font "Arial" ))
(text "pixel_row[9..0]" (rect 21 107 91 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "pixel_column[9..0]" (rect 0 0 89 12)(font "Arial" ))
(text "pixel_column[9..0]" (rect 21 123 110 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 240 32)
(output)
(text "oneSeg_out[6..0]" (rect 0 0 83 12)(font "Arial" ))
(text "oneSeg_out[6..0]" (rect 149 27 219 39)(font "Arial" ))
(line (pt 240 32)(pt 224 32)(line_width 3))
)
(port
(pt 240 48)
(output)
(text "tenSeg_out[6..0]" (rect 0 0 81 12)(font "Arial" ))
(text "tenSeg_out[6..0]" (rect 151 43 219 55)(font "Arial" ))
(line (pt 240 48)(pt 224 48)(line_width 3))
)
(port
(pt 240 64)
(output)
(text "red" (rect 0 0 15 12)(font "Arial" ))
(text "red" (rect 207 59 219 71)(font "Arial" ))
(line (pt 240 64)(pt 224 64))
)
(port
(pt 240 80)
(output)
(text "green" (rect 0 0 27 12)(font "Arial" ))
(text "green" (rect 197 75 219 87)(font "Arial" ))
(line (pt 240 80)(pt 224 80))
)
(port
(pt 240 96)
(output)
(text "blue" (rect 0 0 20 12)(font "Arial" ))
(text "blue" (rect 203 91 219 103)(font "Arial" ))
(line (pt 240 96)(pt 224 96))
)
(port
(pt 240 112)
(output)
(text "collide" (rect 0 0 30 12)(font "Arial" ))
(text "collide" (rect 194 107 219 119)(font "Arial" ))
(line (pt 240 112)(pt 224 112))
)
(drawing
(rectangle (rect 16 16 224 160))
)
)
(connector
(pt 416 152)
(pt 416 112)
)
(connector
(pt 416 112)
(pt 496 112)
)
(connector
(pt 304 152)
(pt 304 280)
)
(connector
(pt 280 152)
(pt 304 152)
)
(connector
(pt 304 152)
(pt 416 152)
)
(connector
(pt 304 280)
(pt 344 280)
)
(connector
(pt 136 152)
(pt 136 272)
)
(connector
(pt 136 272)
(pt 128 272)
)
(connector
(pt 128 272)
(pt 128 464)
)
(connector
(pt 128 464)
(pt 712 464)
)
(connector
(pt 712 464)
(pt 712 320)
)
(connector
(pt 712 320)
(pt 800 320)
)
(connector
(pt 568 360)
(pt 800 360)
(bus)
)
(connector
(pt 800 360)
(pt 800 368)
(bus)
)
(connector
(pt 568 376)
(pt 800 376)
(bus)
)
(connector
(pt 800 376)
(pt 800 384)
(bus)
)
(connector
(pt 800 344)
(pt 800 336)
)
(connector
(pt 752 144)
(pt 752 352)
)
(connector
(pt 752 352)
(pt 800 352)
)
(connector
(pt 280 552)
(pt 280 296)
)
(connector
(pt 280 296)
(pt 344 296)
)
(connector
(pt 312 504)
(pt 312 312)
)
(connector
(pt 312 312)
(pt 344 312)
)
(connector
(pt 336 488)
(pt 336 328)
)
(connector
(pt 336 328)
(pt 344 328)
)
(connector
(pt 584 280)
(pt 584 232)
)
(connector
(pt 568 280)
(pt 584 280)
)
(connector
(pt 584 232)
(pt 792 232)
)
(connector
(pt 792 232)
(pt 792 208)
)
(connector
(pt 792 208)
(pt 992 208)
)
(connector
(pt 992 208)
(pt 992 216)
)
(connector
(pt 616 296)
(pt 616 240)
)
(connector
(pt 568 296)
(pt 616 296)
)
(connector
(pt 616 240)
(pt 992 240)
)
(connector
(pt 992 240)
(pt 992 232)
)
(connector
(pt 632 312)
(pt 632 256)
)
(connector
(pt 568 312)
(pt 632 312)
)
(connector
(pt 632 256)
(pt 992 256)
)
(connector
(pt 760 176)
(pt 792 176)
(bus)
)
(connector
(pt 760 192)
(pt 792 192)
(bus)
)
(connector
(pt 760 160)
(pt 792 160)
)
(connector
(pt 760 128)
(pt 824 128)
)
(connector
(pt 760 112)
(pt 816 112)
)
(connector
(pt 496 128)
(pt 472 128)
)
(connector
(pt 472 128)
(pt 472 152)
)
(connector
(pt 624 344)
(pt 624 600)
)
(connector
(pt 624 600)
(pt 728 600)
)
(connector
(pt 568 344)
(pt 624 344)
)
(connector
(pt 624 344)
(pt 800 344)
)
(connector
(pt 568 328)
(pt 592 328)
)
(connector
(pt 592 328)
(pt 592 632)
)
(connector
(pt 592 632)
(pt 728 632)
)
(connector
(pt 784 144)
(pt 784 48)
)
(connector
(pt 752 144)
(pt 760 144)
)
(connector
(pt 760 144)
(pt 784 144)
)
(connector
(pt 784 48)
(pt 1120 48)
)
(connector
(pt 1120 48)