-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDE2_i2sound.bdf
2492 lines (2492 loc) · 59.2 KB
/
DE2_i2sound.bdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2013 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect 152 -312 328 -296)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "50MHZ" (rect 9 0 44 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 96 -296 152 -280))
)
(pin
(input)
(rect 176 -112 352 -96)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "KEY0" (rect 9 0 37 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 120 -96 176 -80))
)
(pin
(input)
(rect 200 200 376 216)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "AUD_ADCDAT" (rect 9 0 83 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 144 216 200 232))
)
(pin
(input)
(rect 200 168 376 184)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "AUD_BCLK" (rect 9 0 66 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 144 184 200 200))
)
(pin
(input)
(rect 200 184 376 200)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "AUD_ADCLRCK" (rect 9 0 91 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 144 200 200 216))
)
(pin
(input)
(rect 1304 80 1480 96)
(text "INPUT" (rect 15 6 43 16)(font "Arial" (font_size 6)))
(text "AUD_DACLRCK" (rect 85 4 167 16)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 84 4)(pt 59 4))
(line (pt 84 12)(pt 59 12))
(line (pt 55 8)(pt 0 8))
(line (pt 84 4)(pt 84 12))
(line (pt 59 12)(pt 55 8))
(line (pt 59 4)(pt 55 8))
)
(rotate180)
(text "VCC" (rect 20 -1 40 9)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 1248 96 1304 112))
)
(pin
(input)
(rect 1440 -344 1616 -328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "KEY1" (rect 9 0 37 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 1384 -328 1440 -312))
)
(pin
(input)
(rect 1400 48 1576 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "SW17" (rect 9 0 38 12)(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 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 1336 48 1392 64))
)
(pin
(output)
(rect 1096 -296 1272 -280)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "I2C_SCLK" (rect 90 0 141 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 1272 -280 1328 -264))
)
(pin
(output)
(rect 456 -200 632 -184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "AUD_XCK" (rect 90 0 140 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 632 -184 688 -168))
)
(pin
(output)
(rect 1784 120 1960 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "AUD_DACDAT" (rect 90 0 164 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 1960 120 2016 136))
)
(pin
(output)
(rect 1768 -616 1944 -600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_2" (rect 90 0 127 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 1944 -600 2008 -584))
)
(pin
(output)
(rect 1768 -600 1944 -584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_4" (rect 90 0 127 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 1944 -584 2008 -568))
)
(pin
(output)
(rect 1768 -584 1944 -568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_6" (rect 90 0 127 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 1944 -568 2000 -552))
)
(pin
(output)
(rect 1768 -568 1944 -552)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_8" (rect 90 0 127 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 1944 -552 2008 -536))
)
(pin
(output)
(rect 1768 -632 1944 -616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_0" (rect 90 0 127 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 1944 -616 2000 -600))
)
(pin
(output)
(rect 1768 -552 1944 -536)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_10" (rect 90 0 133 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 1944 -536 2000 -520))
)
(pin
(output)
(rect 928 520 1104 536)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_CE_N" (rect 90 0 156 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 1104 536 1168 552))
)
(pin
(output)
(rect 928 584 1104 600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_LB_N" (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 1104 600 1160 616))
)
(pin
(output)
(rect 928 568 1104 584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_UB_N" (rect 90 0 156 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 1104 584 1160 600))
)
(pin
(output)
(rect 928 552 1104 568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_OE_N" (rect 90 0 156 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 1104 568 1168 584))
)
(pin
(output)
(rect 928 536 1104 552)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_WE_N" (rect 90 0 158 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 1104 552 1168 568))
)
(pin
(output)
(rect 1800 -328 1976 -312)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR1" (rect 90 0 125 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 1976 -312 2040 -296))
)
(pin
(output)
(rect 1800 -312 1976 -296)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR2" (rect 90 0 125 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 1976 -296 2040 -280))
)
(pin
(output)
(rect 1800 -296 1976 -280)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR3" (rect 90 0 125 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 1976 -280 2040 -264))
)
(pin
(output)
(rect 1800 -280 1976 -264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR4" (rect 90 0 125 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 1976 -264 2040 -248))
)
(pin
(output)
(rect 1800 -264 1976 -248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR5" (rect 90 0 125 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 1976 -248 2040 -232))
)
(pin
(output)
(rect 1800 -248 1976 -232)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR6" (rect 90 0 125 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 1976 -232 2040 -216))
)
(pin
(output)
(rect 1800 -232 1976 -216)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR7" (rect 90 0 125 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 1976 -216 2040 -200))
)
(pin
(output)
(rect 1800 -216 1976 -200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR8" (rect 90 0 125 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 1976 -200 2040 -184))
)
(pin
(output)
(rect 1800 -200 1976 -184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR9" (rect 90 0 125 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 1976 -184 2032 -168))
)
(pin
(output)
(rect 1800 -184 1976 -168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR10" (rect 90 0 131 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 1976 -168 2040 -152))
)
(pin
(output)
(rect 1800 -168 1976 -152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR11" (rect 90 0 131 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 1976 -152 2040 -136))
)
(pin
(output)
(rect 1800 -152 1976 -136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR12" (rect 90 0 131 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 1976 -136 2040 -120))
)
(pin
(output)
(rect 1800 -136 1976 -120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR13" (rect 90 0 131 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 1976 -120 2040 -104))
)
(pin
(output)
(rect 1800 -120 1976 -104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR14" (rect 90 0 131 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 1976 -104 2040 -88))
)
(pin
(output)
(rect 1800 -104 1976 -88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR15" (rect 90 0 131 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 1976 -88 2040 -72))
)
(pin
(output)
(rect 1800 -344 1976 -328)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR0" (rect 90 0 125 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 1976 -328 2040 -312))
)
(pin
(output)
(rect 912 504 1108 520)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_ADDR[17..0]" (rect 90 0 190 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 1088 520 1144 536))
)
(pin
(output)
(rect 1768 -536 1944 -520)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_12" (rect 90 0 133 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 1944 -520 2000 -504))
)
(pin
(output)
(rect 1768 -520 1944 -504)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_14" (rect 90 0 133 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 1944 -504 2000 -488))
)
(pin
(output)
(rect 1768 -504 1944 -488)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "gpio1_16" (rect 90 0 133 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 1944 -488 2000 -472))
)
(pin
(output)
(rect 1768 -464 1944 -448)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR17" (rect 90 0 131 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 1944 -448 2008 -432))
)
(pin
(bidir)
(rect 1104 -312 1280 -296)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "I2C_SDAT" (rect 90 0 141 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 1280 -296 1336 -280))
)
(pin
(bidir)
(rect 912 472 1088 488)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "SRAM_DQ[15..0]" (rect 90 0 174 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 1088 488 1152 504))
)
(symbol
(rect 712 -336 952 -176)
(text "i2c" (rect 5 0 19 12)(font "Arial" ))
(text "inst" (rect 8 144 25 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLOCK" (rect 0 0 37 12)(font "Arial" ))
(text "CLOCK" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "I2C_DATA[23..0]" (rect 0 0 83 12)(font "Arial" ))
(text "I2C_DATA[23..0]" (rect 21 43 104 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "GO" (rect 0 0 16 12)(font "Arial" ))
(text "GO" (rect 21 59 37 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "RESET" (rect 0 0 35 12)(font "Arial" ))
(text "RESET" (rect 21 75 56 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "W_R" (rect 0 0 24 12)(font "Arial" ))
(text "W_R" (rect 21 91 45 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 240 48)
(output)
(text "I2C_SCLK" (rect 0 0 51 12)(font "Arial" ))
(text "I2C_SCLK" (rect 176 43 227 55)(font "Arial" ))
(line (pt 240 48)(pt 224 48))
)
(port
(pt 240 64)
(output)
(text "END" (rect 0 0 23 12)(font "Arial" ))
(text "END" (rect 200 59 223 71)(font "Arial" ))
(line (pt 240 64)(pt 224 64))
)
(port
(pt 240 80)
(output)
(text "ACK" (rect 0 0 22 12)(font "Arial" ))
(text "ACK" (rect 201 75 223 87)(font "Arial" ))
(line (pt 240 80)(pt 224 80))
)
(port
(pt 240 96)
(output)
(text "SD_COUNTER[5..0]" (rect 0 0 101 12)(font "Arial" ))
(text "SD_COUNTER[5..0]" (rect 134 91 235 103)(font "Arial" ))
(line (pt 240 96)(pt 224 96)(line_width 3))
)
(port
(pt 240 112)
(output)
(text "SDO" (rect 0 0 23 12)(font "Arial" ))
(text "SDO" (rect 200 107 223 119)(font "Arial" ))
(line (pt 240 112)(pt 224 112))
)
(port
(pt 240 32)
(bidir)
(text "I2C_SDAT" (rect 0 0 51 12)(font "Arial" ))
(text "I2C_SDAT" (rect 168 27 219 39)(font "Arial" ))
(line (pt 240 32)(pt 224 32))
)
(drawing
(rectangle (rect 16 16 224 144))
)
)
(symbol
(rect 416 -336 568 -208)
(text "CLOCK_500" (rect 5 0 66 12)(font "Arial" ))
(text "inst4" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLOCK" (rect 0 0 37 12)(font "Arial" ))
(text "CLOCK" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "END" (rect 0 0 23 12)(font "Arial" ))
(text "END" (rect 21 43 44 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "RESET" (rect 0 0 35 12)(font "Arial" ))
(text "RESET" (rect 21 59 56 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 152 32)
(output)
(text "CLOCK_500" (rect 0 0 61 12)(font "Arial" ))
(text "CLOCK_500" (rect 80 27 141 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32))
)
(port
(pt 152 48)
(output)
(text "DATA[23..0]" (rect 0 0 60 12)(font "Arial" ))
(text "DATA[23..0]" (rect 81 43 141 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 3))
)
(port
(pt 152 64)
(output)
(text "GO" (rect 0 0 16 12)(font "Arial" ))
(text "GO" (rect 118 59 134 71)(font "Arial" ))
(line (pt 152 64)(pt 136 64))
)
(port
(pt 152 80)
(output)
(text "CLOCK_2" (rect 0 0 49 12)(font "Arial" ))
(text "CLOCK_2" (rect 90 75 139 87)(font "Arial" ))
(line (pt 152 80)(pt 136 80))
)
(drawing
(rectangle (rect 16 16 136 112))
)
)
(symbol
(rect 408 -136 552 -40)
(text "keytr" (rect 5 0 30 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "key" (rect 0 0 18 12)(font "Arial" ))
(text "key" (rect 21 27 39 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 43 46 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 144 32)
(output)
(text "ON" (rect 0 0 16 12)(font "Arial" ))
(text "ON" (rect 110 27 126 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32))
)
(port
(pt 144 48)
(output)
(text "KEYON" (rect 0 0 38 12)(font "Arial" ))
(text "KEYON" (rect 91 43 129 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48))
)
(port
(pt 144 64)
(output)
(text "counter[9..0]" (rect 0 0 62 12)(font "Arial" ))
(text "counter[9..0]" (rect 71 59 133 71)(font "Arial" ))
(line (pt 144 64)(pt 128 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 80))
)
)
(symbol
(rect 1632 96 1768 208)
(text "MUX_1bit" (rect 5 0 51 12)(font "Arial" ))
(text "inst11" (rect 8 96 37 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "EN" (rect 0 0 15 12)(font "Arial" ))
(text "EN" (rect 21 27 36 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "IN0" (rect 0 0 17 12)(font "Arial" ))
(text "IN0" (rect 21 43 38 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "IN1" (rect 0 0 17 12)(font "Arial" ))
(text "IN1" (rect 21 59 38 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port