-
Notifications
You must be signed in to change notification settings - Fork 0
/
Demo_LCD.bdf
2200 lines (2200 loc) · 46.8 KB
/
Demo_LCD.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 -120 232 48 248)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "CLOCK_50" (rect 5 0 60 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 -184 208 -128 224))
)
(pin
(input)
(rect -112 456 56 472)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "KEY[3..0]" (rect 5 0 53 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 -176 472 -112 488))
)
(pin
(input)
(rect -120 568 48 584)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "SW[17..0]" (rect 5 0 54 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 -184 584 -120 600))
)
(pin
(output)
(rect 1432 216 1608 232)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_R[5..0]" (rect 90 0 152 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 1608 232 1672 248))
)
(pin
(output)
(rect 1432 232 1608 248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_G[5..0]" (rect 90 0 152 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 1608 248 1672 264))
)
(pin
(output)
(rect 1432 248 1608 264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_B[5..0]" (rect 90 0 151 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 1608 264 1672 280))
)
(pin
(output)
(rect 1432 264 1608 280)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_CLK" (rect 90 0 139 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 1608 280 1672 296))
)
(pin
(output)
(rect 1432 280 1608 296)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_DEN" (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 1608 296 1672 312))
)
(pin
(output)
(rect 1432 296 1608 312)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_DIM" (rect 90 0 138 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 1608 312 1672 328))
)
(pin
(output)
(rect 832 456 1028 472)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SRAM_ADDR[19..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 1028 472 1092 488))
)
(pin
(output)
(rect 832 472 1008 488)
(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 1008 488 1064 504))
)
(pin
(output)
(rect 832 488 1008 504)
(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 1008 504 1064 520))
)
(pin
(output)
(rect 832 504 1008 520)
(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 1008 520 1072 536))
)
(pin
(output)
(rect 832 520 1008 536)
(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 1008 536 1072 552))
)
(pin
(output)
(rect 832 536 1008 552)
(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 1008 552 1072 568))
)
(pin
(output)
(rect 832 552 1029 568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_ADDR[12..0]" (rect 90 0 191 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 1029 568 1085 584))
)
(pin
(output)
(rect 832 568 1008 584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_BA[1..0]" (rect 90 0 167 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 1008 584 1064 600))
)
(pin
(output)
(rect 832 584 1008 600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_CAS_N" (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 1008 600 1064 616))
)
(pin
(output)
(rect 832 600 1008 616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_RAS_N" (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 1008 616 1064 632))
)
(pin
(output)
(rect 832 616 1008 632)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_CLK" (rect 90 0 149 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 1008 632 1064 648))
)
(pin
(output)
(rect 832 632 1008 648)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_CKE" (rect 90 0 150 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 1008 648 1072 664))
)
(pin
(output)
(rect 832 648 1008 664)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_CS_N" (rect 90 0 157 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 1008 664 1064 680))
)
(pin
(output)
(rect 832 664 1008 680)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_WE_N" (rect 90 0 159 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 1008 680 1064 696))
)
(pin
(output)
(rect 832 680 1016 696)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DRAM_DQM[3..0]" (rect 90 0 178 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 1016 696 1072 712))
)
(pin
(output)
(rect 832 712 1008 728)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "UART_TXD" (rect 90 0 145 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 1008 728 1064 744))
)
(pin
(output)
(rect 832 744 1008 760)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_ON" (rect 90 0 134 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 1008 760 1064 776))
)
(pin
(output)
(rect 832 760 1008 776)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_BLON" (rect 90 0 147 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 1008 776 1064 792))
)
(pin
(output)
(rect 832 776 1008 792)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_EN" (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 1008 792 1064 808))
)
(pin
(output)
(rect 832 792 1008 808)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_RS" (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 1008 808 1064 824))
)
(pin
(output)
(rect 832 808 1008 824)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LCD_RW" (rect 90 0 137 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 1008 824 1064 840))
)
(pin
(output)
(rect 832 824 1008 840)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX0[6..0]" (rect 90 0 143 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 1008 840 1064 856))
)
(pin
(output)
(rect 832 840 1008 856)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX1[6..0]" (rect 90 0 143 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 1008 856 1072 872))
)
(pin
(output)
(rect 832 856 1008 872)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX2[6..0]" (rect 90 0 143 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 1008 872 1072 888))
)
(pin
(output)
(rect 832 872 1008 888)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX3[6..0]" (rect 90 0 143 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 1008 888 1064 904))
)
(pin
(output)
(rect 832 888 1008 904)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX4[6..0]" (rect 90 0 143 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 1008 904 1072 920))
)
(pin
(output)
(rect 832 904 1008 920)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX5[6..0]" (rect 90 0 143 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 1008 920 1072 936))
)
(pin
(output)
(rect 832 920 1008 936)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX6[6..0]" (rect 90 0 143 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 1008 936 1072 952))
)
(pin
(output)
(rect 832 936 1008 952)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HEX7[6..0]" (rect 90 0 143 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 1008 952 1072 968))
)
(pin
(output)
(rect 1600 968 1776 984)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDR[17..0]" (rect 90 0 151 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 1008 984 1064 1000))
)
(pin
(output)
(rect 1600 952 1776 968)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LEDG[8..0]" (rect 90 0 145 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 1008 968 1064 984))
)
(pin
(bidir)
(rect 832 440 1012 456)
(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 1012 456 1076 472))
)
(pin
(bidir)
(rect 832 696 1014 712)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "DRAM_DQ[31..0]" (rect 90 0 176 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 1014 712 1070 728))
)
(pin
(bidir)
(rect 832 728 1010 744)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "LCD_DATA[7..0]" (rect 90 0 172 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 1010 744 1066 760))
)
(symbol
(rect 224 208 432 384)
(text "LCDgenerator" (rect 5 0 73 12)(font "Arial" ))
(text "iGen" (rect 8 160 30 172)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLOCK_50" (rect 0 0 55 12)(font "Arial" ))
(text "CLOCK_50" (rect 21 27 76 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "ACLRN_in" (rect 0 0 51 12)(font "Arial" ))
(text "ACLRN_in" (rect 21 43 72 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 208 32)
(output)
(text "xcolumn[9..0]" (rect 0 0 67 12)(font "Arial" ))
(text "xcolumn[9..0]" (rect 131 27 198 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(port
(pt 208 48)
(output)
(text "yrow[9..0]" (rect 0 0 49 12)(font "Arial" ))
(text "yrow[9..0]" (rect 146 43 195 55)(font "Arial" ))
(line (pt 208 48)(pt 192 48)(line_width 3))
)
(port
(pt 208 64)
(output)
(text "LCD_CLK" (rect 0 0 49 12)(font "Arial" ))
(text "LCD_CLK" (rect 146 59 195 71)(font "Arial" ))
(line (pt 208 64)(pt 192 64))
)
(port
(pt 208 80)
(output)
(text "LCD_DEN" (rect 0 0 51 12)(font "Arial" ))
(text "LCD_DEN" (rect 144 75 195 87)(font "Arial" ))
(line (pt 208 80)(pt 192 80))
)
(port
(pt 208 96)
(output)
(text "ACLRN_out" (rect 0 0 59 12)(font "Arial" ))
(text "ACLRN_out" (rect 138 91 197 103)(font "Arial" ))
(line (pt 208 96)(pt 192 96))
)
(port
(pt 208 112)
(output)
(text "HS_N" (rect 0 0 29 12)(font "Arial" ))
(text "HS_N" (rect 163 107 192 119)(font "Arial" ))
(line (pt 208 112)(pt 192 112))
)
(port
(pt 208 128)
(output)
(text "VS_N" (rect 0 0 28 12)(font "Arial" ))
(text "VS_N" (rect 164 123 192 135)(font "Arial" ))
(line (pt 208 128)(pt 192 128))
)
(drawing
(rectangle (rect 16 16 192 160))
)
)
(symbol
(rect 1208 192 1424 336)
(text "LCDRegDE2_115" (rect 5 0 92 12)(font "Arial" ))
(text "iReg" (rect 8 128 30 140)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "R[7..0]" (rect 0 0 34 12)(font "Arial" ))
(text "R[7..0]" (rect 21 27 55 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "G[7..0]" (rect 0 0 34 12)(font "Arial" ))
(text "G[7..0]" (rect 21 43 55 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "B[7..0]" (rect 0 0 33 12)(font "Arial" ))
(text "B[7..0]" (rect 21 59 54 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "LCD_CLK_in" (rect 0 0 63 12)(font "Arial" ))
(text "LCD_CLK_in" (rect 21 75 84 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "LCD_DEN_in" (rect 0 0 66 12)(font "Arial" ))
(text "LCD_DEN_in" (rect 21 91 87 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "ACLRN_in" (rect 0 0 51 12)(font "Arial" ))
(text "ACLRN_in" (rect 21 107 72 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 216 32)
(output)
(text "LCD_R[5..0]" (rect 0 0 62 12)(font "Arial" ))
(text "LCD_R[5..0]" (rect 143 27 205 39)(font "Arial" ))
(line (pt 216 32)(pt 200 32)(line_width 3))
)
(port
(pt 216 48)
(output)
(text "LCD_G[5..0]" (rect 0 0 62 12)(font "Arial" ))
(text "LCD_G[5..0]" (rect 143 43 205 55)(font "Arial" ))
(line (pt 216 48)(pt 200 48)(line_width 3))
)
(port
(pt 216 64)
(output)
(text "LCD_B[5..0]" (rect 0 0 61 12)(font "Arial" ))
(text "LCD_B[5..0]" (rect 144 59 205 71)(font "Arial" ))
(line (pt 216 64)(pt 200 64)(line_width 3))
)
(port
(pt 216 80)
(output)
(text "LCD_CLK" (rect 0 0 49 12)(font "Arial" ))
(text "LCD_CLK" (rect 154 75 203 87)(font "Arial" ))
(line (pt 216 80)(pt 200 80))
)
(port
(pt 216 96)
(output)
(text "LCD_DEN" (rect 0 0 51 12)(font "Arial" ))
(text "LCD_DEN" (rect 152 91 203 103)(font "Arial" ))
(line (pt 216 96)(pt 200 96))
)
(port
(pt 216 112)
(output)
(text "LCD_DIM" (rect 0 0 48 12)(font "Arial" ))
(text "LCD_DIM" (rect 155 107 203 119)(font "Arial" ))
(line (pt 216 112)(pt 200 112))
)
(drawing
(rectangle (rect 16 16 200 128))
)
)
(symbol
(rect 568 8 776 120)
(text "DisplayLogicBig" (rect 5 0 84 12)(font "Arial" ))
(text "inst" (rect 8 96 25 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "xcolumn[9..0]" (rect 0 0 67 12)(font "Arial" ))
(text "xcolumn[9..0]" (rect 21 27 88 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "yrow[9..0]" (rect 0 0 49 12)(font "Arial" ))
(text "yrow[9..0]" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "VGA_CLK" (rect 0 0 49 12)(font "Arial" ))
(text "VGA_CLK" (rect 21 59 70 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 208 32)
(output)
(text "RGB24[23..0]" (rect 0 0 67 12)(font "Arial" ))
(text "RGB24[23..0]" (rect 131 27 198 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 96))
)
)
(symbol
(rect 568 136 776 248)
(text "DisplayLogicSmall" (rect 5 0 95 12)(font "Arial" ))
(text "inst3" (rect 8 96 31 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "xcolumn[9..0]" (rect 0 0 67 12)(font "Arial" ))
(text "xcolumn[9..0]" (rect 21 27 88 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "yrow[9..0]" (rect 0 0 49 12)(font "Arial" ))
(text "yrow[9..0]" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "VGA_CLK" (rect 0 0 49 12)(font "Arial" ))
(text "VGA_CLK" (rect 21 59 70 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 208 32)
(output)
(text "RGB24[23..0]" (rect 0 0 67 12)(font "Arial" ))
(text "RGB24[23..0]" (rect 131 27 198 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 192 96))
)
)
(symbol
(rect 568 -120 776 -8)
(text "DisplayLogicBigInvert" (rect 5 0 113 12)(font "Arial" ))
(text "inst1" (rect 8 96 31 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "xcolumn[9..0]" (rect 0 0 67 12)(font "Arial" ))
(text "xcolumn[9..0]" (rect 21 27 88 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))