-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsdram_test.bdf
1772 lines (1772 loc) · 40.4 KB
/
sdram_test.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 -240 368 -72 384)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "rst_n" (rect 5 0 29 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 -304 368 -240 384))
)
(pin
(input)
(rect -296 192 -128 208)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 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 -344 208 -296 224))
)
(pin
(input)
(rect 248 -192 416 -176)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "init_ov" (rect 5 0 38 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 192 -176 248 -160))
)
(pin
(input)
(rect 296 40 464 56)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "vs_in" (rect 5 0 32 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 232 56 296 72))
)
(pin
(input)
(rect 296 56 464 72)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "href_in" (rect 5 0 39 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 240 72 296 88))
)
(pin
(input)
(rect 296 72 464 88)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "pclk_in" (rect 5 0 39 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 240 88 296 104))
)
(pin
(input)
(rect 296 88 464 104)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "data_in[7..0]" (rect 5 0 66 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 240 104 296 120))
)
(pin
(output)
(rect 1032 192 1208 208)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_clk" (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 1208 208 1264 224))
)
(pin
(output)
(rect 1032 208 1208 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_cke" (rect 90 0 144 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 1208 224 1264 240))
)
(pin
(output)
(rect 1032 224 1208 240)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_cs_n" (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 1208 240 1264 256))
)
(pin
(output)
(rect 1032 240 1208 256)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_we_n" (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 1208 256 1264 272))
)
(pin
(output)
(rect 1032 256 1208 272)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_cas_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 1208 272 1264 288))
)
(pin
(output)
(rect 1032 272 1208 288)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_ras_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 1208 288 1264 304))
)
(pin
(output)
(rect 1032 288 1208 304)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_udqm" (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 1208 304 1264 320))
)
(pin
(output)
(rect 1032 304 1208 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_ldqm" (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 1208 320 1264 336))
)
(pin
(output)
(rect 1032 320 1208 336)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_ba[1..0]" (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 1208 336 1264 352))
)
(pin
(output)
(rect 1072 368 1255 384)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "frame_write_done" (rect 90 0 177 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
(output)
(rect 1072 384 1254 400)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "frame_read_done" (rect 90 0 176 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
(output)
(rect 584 432 760 448)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "rgbout[15..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 760 448 768 464))
)
(pin
(output)
(rect 1072 400 1267 416)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sys_data_out[15..0]" (rect 90 0 189 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
(output)
(rect 584 400 760 416)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "hs" (rect 90 0 101 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 760 416 768 432))
)
(pin
(output)
(rect 584 416 760 432)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vs" (rect 90 0 102 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 760 432 768 448))
)
(pin
(output)
(rect 1032 336 1217 352)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sdram_addr[12..0]" (rect 90 0 179 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 1208 352 1264 368))
)
(pin
(output)
(rect 688 -192 864 -176)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SCL" (rect 90 0 111 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 864 -176 920 -160))
)
(pin
(output)
(rect 688 -176 864 -160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SDA" (rect 90 0 113 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 864 -160 920 -144))
)
(pin
(output)
(rect 680 -80 856 -64)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "init_ov_done" (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 856 -64 912 -48))
)
(pin
(output)
(rect 712 8 888 24)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led2" (rect 90 0 110 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 888 24 944 40))
)
(pin
(output)
(rect 712 24 888 40)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led3_pclk_cnt" (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 888 40 944 56))
)
(pin
(output)
(rect 704 104 880 120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "xclk" (rect 90 0 110 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 880 120 936 136))
)
(pin
(bidir)
(rect 1032 416 1217 432)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "sdram_data[15..0]" (rect 90 0 179 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 1217 432 1273 448))
)
(symbol
(rect 328 344 584 552)
(text "vga_dirver" (rect 5 0 58 12)(font "Arial" ))
(text "inst3" (rect 8 192 31 204)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 27 45 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "rgbin[15..0]" (rect 0 0 55 12)(font "Arial" ))
(text "rgbin[15..0]" (rect 21 59 76 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 256 32)
(output)
(text "sdram_ReadAddress_reset" (rect 0 0 133 12)(font "Arial" ))
(text "sdram_ReadAddress_reset" (rect 123 27 256 39)(font "Arial" ))
(line (pt 256 32)(pt 240 32))
)
(port
(pt 256 48)
(output)
(text "vs_active" (rect 0 0 49 12)(font "Arial" ))
(text "vs_active" (rect 194 43 243 55)(font "Arial" ))
(line (pt 256 48)(pt 240 48))
)
(port
(pt 256 64)
(output)
(text "hs" (rect 0 0 11 12)(font "Arial" ))
(text "hs" (rect 226 59 237 71)(font "Arial" ))
(line (pt 256 64)(pt 240 64))
)
(port
(pt 256 80)
(output)
(text "vs" (rect 0 0 12 12)(font "Arial" ))
(text "vs" (rect 225 75 237 87)(font "Arial" ))
(line (pt 256 80)(pt 240 80))
)
(port
(pt 256 96)
(output)
(text "rgbout[15..0]" (rect 0 0 62 12)(font "Arial" ))
(text "rgbout[15..0]" (rect 183 91 245 103)(font "Arial" ))
(line (pt 256 96)(pt 240 96)(line_width 3))
)
(port
(pt 256 112)
(output)
(text "data_put_ready" (rect 0 0 76 12)(font "Arial" ))
(text "data_put_ready" (rect 171 107 247 119)(font "Arial" ))
(line (pt 256 112)(pt 240 112))
)
(port
(pt 256 128)
(output)
(text "x_position[10..0]" (rect 0 0 81 12)(font "Arial" ))
(text "x_position[10..0]" (rect 167 123 248 135)(font "Arial" ))
(line (pt 256 128)(pt 240 128)(line_width 3))
)
(port
(pt 256 144)
(output)
(text "y_position[10..0]" (rect 0 0 82 12)(font "Arial" ))
(text "y_position[10..0]" (rect 166 139 248 151)(font "Arial" ))
(line (pt 256 144)(pt 240 144)(line_width 3))
)
(port
(pt 256 160)
(output)
(text "address_out[14..0]" (rect 0 0 92 12)(font "Arial" ))
(text "address_out[14..0]" (rect 158 155 250 167)(font "Arial" ))
(line (pt 256 160)(pt 240 160)(line_width 3))
)
(drawing
(rectangle (rect 16 16 240 192))
)
)
(symbol
(rect 752 168 1032 472)
(text "sdram_2fifo_top_top" (rect 5 0 107 12)(font "Arial" ))
(text "inst2" (rect 8 288 31 300)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk_ref" (rect 0 0 34 12)(font "Arial" ))
(text "clk_ref" (rect 21 27 55 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk_refout" (rect 0 0 49 12)(font "Arial" ))
(text "clk_refout" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "clk_write" (rect 0 0 42 12)(font "Arial" ))
(text "clk_write" (rect 21 59 63 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "clk_read" (rect 0 0 41 12)(font "Arial" ))
(text "clk_read" (rect 21 75 62 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "rst_n" (rect 0 0 24 12)(font "Arial" ))
(text "rst_n" (rect 21 91 45 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "data_valid" (rect 0 0 50 12)(font "Arial" ))
(text "data_valid" (rect 21 107 71 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 0 128)
(input)
(text "wr_load" (rect 0 0 36 12)(font "Arial" ))
(text "wr_load" (rect 21 123 57 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128))
)
(port
(pt 0 144)
(input)
(text "rd_load" (rect 0 0 35 12)(font "Arial" ))
(text "rd_load" (rect 21 139 56 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144))
)
(port
(pt 0 160)
(input)
(text "sys_we" (rect 0 0 37 12)(font "Arial" ))
(text "sys_we" (rect 21 155 58 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160))
)
(port
(pt 0 176)
(input)
(text "sys_rd" (rect 0 0 34 12)(font "Arial" ))
(text "sys_rd" (rect 21 171 55 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176))
)
(port
(pt 0 192)
(input)
(text "sys_data_in[15..0]" (rect 0 0 92 12)(font "Arial" ))
(text "sys_data_in[15..0]" (rect 21 187 113 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 3))
)
(port
(pt 0 208)
(input)
(text "rd_bank_addr[1..0]" (rect 0 0 92 12)(font "Arial" ))
(text "rd_bank_addr[1..0]" (rect 21 203 113 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "wr_bank_addr[1..0]" (rect 0 0 93 12)(font "Arial" ))
(text "wr_bank_addr[1..0]" (rect 21 219 114 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 3))
)
(port
(pt 0 240)
(input)
(text "rd_max_bank_addr[1..0]" (rect 0 0 119 12)(font "Arial" ))
(text "rd_max_bank_addr[1..0]" (rect 21 235 140 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 3))
)
(port
(pt 0 256)
(input)
(text "wr_max_bank_addr[1..0]" (rect 0 0 120 12)(font "Arial" ))
(text "wr_max_bank_addr[1..0]" (rect 21 251 141 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 3))
)
(port
(pt 280 32)
(output)
(text "sdram_clk" (rect 0 0 50 12)(font "Arial" ))
(text "sdram_clk" (rect 217 27 267 39)(font "Arial" ))
(line (pt 280 32)(pt 264 32))
)
(port
(pt 280 48)
(output)
(text "sdram_cke" (rect 0 0 54 12)(font "Arial" ))
(text "sdram_cke" (rect 214 43 268 55)(font "Arial" ))
(line (pt 280 48)(pt 264 48))
)
(port
(pt 280 64)
(output)
(text "sdram_cs_n" (rect 0 0 60 12)(font "Arial" ))
(text "sdram_cs_n" (rect 209 59 269 71)(font "Arial" ))
(line (pt 280 64)(pt 264 64))
)
(port
(pt 280 80)
(output)
(text "sdram_we_n" (rect 0 0 61 12)(font "Arial" ))
(text "sdram_we_n" (rect 208 75 269 87)(font "Arial" ))
(line (pt 280 80)(pt 264 80))
)
(port
(pt 280 96)
(output)
(text "sdram_cas_n" (rect 0 0 66 12)(font "Arial" ))
(text "sdram_cas_n" (rect 204 91 270 103)(font "Arial" ))
(line (pt 280 96)(pt 264 96))
)
(port
(pt 280 112)
(output)
(text "sdram_ras_n" (rect 0 0 63 12)(font "Arial" ))
(text "sdram_ras_n" (rect 206 107 269 119)(font "Arial" ))
(line (pt 280 112)(pt 264 112))
)
(port
(pt 280 128)
(output)
(text "sdram_udqm" (rect 0 0 63 12)(font "Arial" ))
(text "sdram_udqm" (rect 206 123 269 135)(font "Arial" ))
(line (pt 280 128)(pt 264 128))
)
(port
(pt 280 144)
(output)
(text "sdram_ldqm" (rect 0 0 60 12)(font "Arial" ))
(text "sdram_ldqm" (rect 209 139 269 151)(font "Arial" ))
(line (pt 280 144)(pt 264 144))
)
(port
(pt 280 160)
(output)
(text "sdram_ba[1..0]" (rect 0 0 74 12)(font "Arial" ))
(text "sdram_ba[1..0]" (rect 197 155 271 167)(font "Arial" ))
(line (pt 280 160)(pt 264 160)(line_width 3))
)
(port
(pt 280 176)
(output)
(text "sdram_addr[12..0]" (rect 0 0 89 12)(font "Arial" ))
(text "sdram_addr[12..0]" (rect 184 171 273 183)(font "Arial" ))
(line (pt 280 176)(pt 264 176)(line_width 3))
)
(port
(pt 280 192)
(output)
(text "sdram_init_done" (rect 0 0 80 12)(font "Arial" ))
(text "sdram_init_done" (rect 192 187 272 199)(font "Arial" ))
(line (pt 280 192)(pt 264 192))
)
(port
(pt 280 208)
(output)
(text "frame_write_done" (rect 0 0 87 12)(font "Arial" ))
(text "frame_write_done" (rect 186 203 273 215)(font "Arial" ))
(line (pt 280 208)(pt 264 208))
)
(port
(pt 280 224)
(output)
(text "frame_read_done" (rect 0 0 86 12)(font "Arial" ))
(text "frame_read_done" (rect 187 219 273 231)(font "Arial" ))
(line (pt 280 224)(pt 264 224))
)
(port
(pt 280 240)
(output)
(text "sys_data_out[15..0]" (rect 0 0 99 12)(font "Arial" ))
(text "sys_data_out[15..0]" (rect 176 235 275 247)(font "Arial" ))
(line (pt 280 240)(pt 264 240)(line_width 3))
)
(port
(pt 280 256)
(bidir)
(text "sdram_data[15..0]" (rect 0 0 89 12)(font "Arial" ))
(text "sdram_data[15..0]" (rect 188 251 277 263)(font "Arial" ))
(line (pt 280 256)(pt 264 256)(line_width 3))
)
(drawing
(rectangle (rect 16 16 264 288))
)
)
(symbol
(rect 472 -216 672 -72)
(text "SCCB_top" (rect 5 0 56 12)(font "Arial" ))
(text "inst4" (rect 8 128 31 140)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "init_ov" (rect 0 0 33 12)(font "Arial" ))
(text "init_ov" (rect 21 27 54 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "rst_n" (rect 0 0 24 12)(font "Arial" ))
(text "rst_n" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 200 32)
(output)
(text "SCL" (rect 0 0 21 12)(font "Arial" ))
(text "SCL" (rect 162 27 183 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32))
)
(port
(pt 200 48)
(output)
(text "SDA" (rect 0 0 23 12)(font "Arial" ))
(text "SDA" (rect 160 43 183 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48))
)
(port
(pt 200 64)
(output)
(text "OV2640_PWDN" (rect 0 0 79 12)(font "Arial" ))
(text "OV2640_PWDN" (rect 113 59 192 71)(font "Arial" ))
(line (pt 200 64)(pt 184 64))
)
(port
(pt 200 80)
(output)
(text "OV2640_RST" (rect 0 0 66 12)(font "Arial" ))
(text "OV2640_RST" (rect 124 75 190 87)(font "Arial" ))
(line (pt 200 80)(pt 184 80))
)
(port
(pt 200 96)
(output)
(text "init_ov_done" (rect 0 0 62 12)(font "Arial" ))
(text "init_ov_done" (rect 127 91 189 103)(font "Arial" ))
(line (pt 200 96)(pt 184 96))
)
(parameter
"WAIT"
"001"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"START"
"000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"WRITE"
"010"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"DONE"
"011"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"POINT0"
"100"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"POINT1"
"101"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"POINT2"
"110"
""
(type "PARAMETER_UNSIGNED_BIN") )
(drawing
(rectangle (rect 16 16 184 128))
)
(annotation_block (parameter)(rect 672 -328 864 -216))
)
(symbol
(rect -72 128 232 352)
(text "sys_pll" (rect 128 0 176 16)(font "Arial" (font_size 10)))
(text "inst1" (rect 8 208 31 220)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "inclk0" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "inclk0" (rect 4 56 35 70)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 48 72))
)
(port
(pt 304 72)
(output)
(text "c0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c0" (rect 286 56 300 70)(font "Arial" (font_size 8)))
)
(port
(pt 304 96)
(output)
(text "c1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c1" (rect 286 80 300 94)(font "Arial" (font_size 8)))
)
(port
(pt 304 120)
(output)
(text "c2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c2" (rect 286 104 300 118)(font "Arial" (font_size 8)))
)
(port
(pt 304 144)
(output)
(text "c3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c3" (rect 286 128 300 142)(font "Arial" (font_size 8)))
)
(port
(pt 304 168)
(output)
(text "locked" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "locked" (rect 262 152 298 166)(font "Arial" (font_size 8)))
)
(drawing
(text "Cyclone IV E" (rect 210 204 276 216)(font "Arial" ))
(text "inclk0 frequency: 50.000 MHz" (rect 58 66 205 78)(font "Arial" ))
(text "Operation Mode: Normal" (rect 58 82 177 94)(font "Arial" ))
(text "Clk " (rect 59 107 79 119)(font "Arial" ))
(text "Ratio" (rect 84 107 109 119)(font "Arial" ))
(text "Ph (dg)" (rect 117 107 152 119)(font "Arial" ))
(text "DC (%)" (rect 161 107 197 119)(font "Arial" ))
(text "c0" (rect 63 124 74 136)(font "Arial" ))
(text "2/1" (rect 90 124 105 136)(font "Arial" ))
(text "0.00" (rect 125 124 146 136)(font "Arial" ))
(text "50.00" (rect 166 124 193 136)(font "Arial" ))
(text "c1" (rect 63 141 74 153)(font "Arial" ))
(text "2/1" (rect 90 141 105 153)(font "Arial" ))
(text "0.00" (rect 125 141 146 153)(font "Arial" ))
(text "50.00" (rect 166 141 193 153)(font "Arial" ))
(text "c2" (rect 63 158 74 170)(font "Arial" ))
(text "1/1" (rect 90 158 105 170)(font "Arial" ))
(text "0.00" (rect 125 158 146 170)(font "Arial" ))
(text "50.00" (rect 166 158 193 170)(font "Arial" ))