OpenCores
URL https://opencores.org/ocsvn/funbase_ip_library/funbase_ip_library/trunk

Subversion Repositories funbase_ip_library

[/] [funbase_ip_library/] [trunk/] [TUT/] [ip.hwp.accelerator/] [dct_to_hibi/] [1.0/] [dct_to_hibi.1.0.xml] - Blame information for rev 157

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 lanttu
2
3
4
5
6
7
        TUT
8
        ip.hwp.accelerator
9
        dct_to_hibi
10
        1.0
11
        DCT to Hibi. Connects dctQidct block to HIBI Wrapper
12
 
13
 
14
Input:
15
1. Two address to send the results to (one for quant, one for idct)
16
2. Control word for the current macroblock
17
    Control word structure: bit 6: chroma(1)/luma(0), 5: intra(1)/inter(0),
18
                             4..0: quantizer parameter (QP)
19
3. Then the DCT data ( 8x8x6 x 16-bit values = 384 x 16 bit )
20
 
21
Chroma/luma: 4 luma, 2 chroma
22
 
23
Outputs:
24
 Outputs are 16-bit words which are packed up to hibi. If hibi width is
25
 32b, then 2 16-bit words are combined into one hibi word.
26
 01. quant results: 1. 8*8 x 16bit values to quant result address
27
 02. idct  results: 1. 8*8 x 16bit values to idct  result address
28
 03. quant results: 2. 8*8 x 16bit values to quant result address
29
 04. idct  results: 2. 8*8 x 16bit values to idct  result address
30
 05. quant results: 3. 8*8 x 16bit values to quant result address
31
 06. idct  results: 3. 8*8 x 16bit values to idct  result address
32
 07. quant results: 4. 8*8 x 16bit values to quant result address
33
 08. idct  results: 4. 8*8 x 16bit values to idct  result address
34
 09. quant results: 5. 8*8 x 16bit values to quant result address
35
 10. idct  results: 5. 8*8 x 16bit values to idct  result address
36
 11. quant results: 6. 8*8 x 16bit values to quant result address
37
 12. quant results: 1 word with bits 5..0 determing if 8x8 quant blocks(1-6)
38
                    has all values zeros (except dc-component in intra)
39
 13. idct  results: 6. 8*8 x 16bit values to idct  result address
40
-
41
 Total amount of 16-bit values is: 384 per result address + 1 hibi word to
42
 quantization result address.
43
 
44
 With default parameter:
45
 Total of 193 words of data to quant address (if data_width_g = 32)
46
 Total of 192 words of data to idct address (if data_width_g = 32)
47
48
        
49
                
50
                        clk
51
                        Clock interface
52
                        
53
                        
54
                        
55
                        false
56
                        
57
                                
58
                                        
59
                                                CLK
60
                                                
61
                                                        0
62
                                                        0
63
                                                
64
                                        
65
                                        
66
                                                clk
67
                                                
68
                                                        0
69
                                                        0
70
                                                
71
                                        
72
                                
73
                        
74
                        8
75
                        little
76
                
77
                
78
                        dct_if
79
                        Interface for connecting idctquant accelerator  
80
                        
81
                        
82
                        
83
                        false
84
                        
85
                                
86
                                        
87
                                                CHROMA_TO_ACC
88
                                                
89
                                                        0
90
                                                        0
91
                                                
92
                                        
93
                                        
94
                                                chroma_out
95
                                                
96
                                                        0
97
                                                        0
98
                                                
99
                                        
100
                                
101
                                
102
                                        
103
                                                DCT_READY4COL_FROM_ACC
104
                                                
105
                                                        0
106
                                                        0
107
                                                
108
                                        
109
                                        
110
                                                dct_ready4col_in
111
                                                
112
                                                        0
113
                                                        0
114
                                                
115
                                        
116
                                
117
                                
118
                                        
119
                                                IDCT_READY4COL_TO_ACC
120
                                                
121
                                                        0
122
                                                        0
123
                                                
124
                                        
125
                                        
126
                                                idct_ready4col_out
127
                                                
128
                                                        0
129
                                                        0
130
                                                
131
                                        
132
                                
133
                                
134
                                        
135
                                                INTRA_TO_ACC
136
                                                
137
                                                        0
138
                                                        0
139
                                                
140
                                        
141
                                        
142
                                                intra_out
143
                                                
144
                                                        0
145
                                                        0
146
                                                
147
                                        
148
                                
149
                                
150
                                        
151
                                                LOAD_QP_TO_ACC
152
                                                
153
                                                        0
154
                                                        0
155
                                                
156
                                        
157
                                        
158
                                                loadQP_out
159
                                                
160
                                                        0
161
                                                        0
162
                                                
163
                                        
164
                                
165
                                
166
                                        
167
                                                QP_TO_ACC
168
                                                
169
                                                        4
170
                                                        0
171
                                                
172
                                        
173
                                        
174
                                                QP_out
175
                                                
176
                                                        4
177
                                                        0
178
                                                
179
                                        
180
                                
181
                                
182
                                        
183
                                                WR_DCT_TO_ACC
184
                                                
185
                                                        0
186
                                                        0
187
                                                
188
                                        
189
                                        
190
                                                wr_dct_out
191
                                                
192
                                                        0
193
                                                        0
194
                                                
195
                                        
196
                                
197
                                
198
                                        
199
                                                WR_IDCT_FROM_ACC
200
                                                
201
                                                        0
202
                                                        0
203
                                                
204
                                        
205
                                        
206
                                                wr_idct_in
207
                                                
208
                                                        0
209
                                                        0
210
                                                
211
                                        
212
                                
213
                                
214
                                        
215
                                                WR_QUANT_FROM_ACC
216
                                                
217
                                                        0
218
                                                        0
219
                                                
220
                                        
221
                                        
222
                                                wr_quant_in
223
                                                
224
                                                        0
225
                                                        0
226
                                                
227
                                        
228
                                
229
                                
230
                                        
231
                                                QUANT_READY4COL_TO_ACC
232
                                                
233
                                                        0
234
                                                        0
235
                                                
236
                                        
237
                                        
238
                                                quant_ready4col_out
239
                                                
240
                                                        0
241
                                                        0
242
                                                
243
                                        
244
                                
245
                                
246
                                        
247
                                                DATA_DCT_TO_ACC
248
                                                
249
                                                        8
250
                                                        0
251
                                                
252
                                        
253
                                        
254
                                                data_dct_out
255
                                                
256
                                                        8
257
                                                        0
258
                                                
259
                                        
260
                                
261
                                
262
                                        
263
                                                DATA_IDCT_FROM_ACC
264
                                                
265
                                                        8
266
                                                        0
267
                                                
268
                                        
269
                                        
270
                                                data_idct_in
271
                                                
272
                                                        8
273
                                                        0
274
                                                
275
                                        
276
                                
277
                                
278
                                        
279
                                                DATA_QUANT_FROM_ACC
280
                                                
281
                                                        7
282
                                                        0
283
                                                
284
                                        
285
                                        
286
                                                data_quant_in
287
                                                
288
                                                        7
289
                                                        0
290
                                                
291
                                        
292
                                
293
                        
294
                        8
295
                        little
296
                
297
                
298
                        hibi_master
299
                        HIBI wrapper r4 version 2 master interface
300
                        
301
                        
302
                        
303
                        false
304
                        
305
                                
306
                                        
307
                                                AV
308
                                                
309
                                                        0
310
                                                        0
311
                                                
312
                                        
313
                                        
314
                                                hibi_av_out
315
                                                
316
                                                        0
317
                                                        0
318
                                                
319
                                        
320
                                
321
                                
322
                                        
323
                                                COMM
324
                                                
325
                                                        4
326
                                                        0
327
                                                
328
                                        
329
                                        
330
                                                hibi_comm_out
331
                                                
332
                                                        4
333
                                                        0
334
                                                
335
                                        
336
                                
337
                                
338
                                        
339
                                                DATA
340
                                                
341
                                                        31
342
                                                        0
343
                                                
344
                                        
345
                                        
346
                                                hibi_data_out
347
                                                
348
                                                        31
349
                                                        0
350
                                                
351
                                        
352
                                
353
                                
354
                                        
355
                                                RE
356
                                                
357
                                                        0
358
                                                        0
359
                                                
360
                                        
361
                                        
362
                                                hibi_re_out
363
                                                
364
                                                        0
365
                                                        0
366
                                                
367
                                        
368
                                
369
                                
370
                                        
371
                                                WE
372
                                                
373
                                                        0
374
                                                        0
375
                                                
376
                                        
377
                                        
378
                                                hibi_we_out
379
                                                
380
                                                        0
381
                                                        0
382
                                                
383
                                        
384
                                
385
                        
386
                        8
387
                        little
388
                
389
                
390
                        rst_n
391
                        Active low reset input.
392
                        
393
                        
394
                        
395
                        false
396
                        
397
                                
398
                                        
399
                                                RESETn
400
                                                
401
                                                        0
402
                                                        0
403
                                                
404
                                        
405
                                        
406
                                                rst_n
407
                                                
408
                                                        0
409
                                                        0
410
                                                
411
                                        
412
                                
413
                        
414
                        8
415
                        little
416
                
417
                
418
                        hibi_slave
419
                        
420
                        
421 157 lanttu
                        
422
                                
423
                        
424 145 lanttu
                        false
425
                        
426
                                
427
                                        
428
                                                AV
429
                                                
430
                                                        0
431
                                                        0
432
                                                
433
                                        
434
                                        
435
                                                hibi_av_in
436
                                                
437
                                                        0
438
                                                        0
439
                                                
440
                                        
441
                                
442
                                
443
                                        
444
                                                COMM
445
                                                
446
                                                        4
447
                                                        0
448
                                                
449
                                        
450
                                        
451
                                                hibi_comm_in
452
                                                
453
                                                        4
454
                                                        0
455
                                                
456
                                        
457
                                
458
                                
459
                                        
460
                                                DATA
461
                                                
462
                                                        31
463
                                                        0
464
                                                
465
                                        
466
                                        
467
                                                hibi_data_in
468
                                                
469
                                                        31
470
                                                        0
471
                                                
472
                                        
473
                                
474
                                
475
                                        
476
                                                EMPTY
477
                                                
478
                                                        0
479
                                                        0
480
                                                
481
                                        
482
                                        
483
                                                hibi_empty_in
484
                                                
485
                                                        0
486
                                                        0
487
                                                
488
                                        
489
                                
490
                                
491
                                        
492
                                                FULL
493
                                                
494
                                                        0
495
                                                        0
496
                                                
497
                                        
498
                                        
499
                                                hibi_full_in
500
                                                
501
                                                        0
502
                                                        0
503
                                                
504
                                        
505
                                
506
                        
507
                        8
508
                        little
509
                
510
        
511 157 lanttu
        
512
                
513
                        dct_mem_map
514
                        
515
                                dct_regs
516
                                0x0
517
                                1
518
                                32
519
                                register
520
                                
521
                                        quant_result_addr
522
                                        0
523
                                        0x0
524
                                        32
525
                                
526
                                
527
                                        idct_result_addr
528
                                        0
529
                                        0x1
530
                                        32
531
                                
532
                                
533
                                        ctrl_reg
534
                                        0
535
                                        0x2
536
                                        32
537
                                        
538
                                                QP
539
                                                Quant parameter
540
                                                0
541
                                                5
542
                                                false
543
                                                true
544
                                        
545
                                        
546
                                                intra_or_inter
547
                                                0=intra, 1=inter
548
                                                5
549
                                                1
550
                                                false
551
                                                true
552
                                        
553
                                        
554
                                                chroma_luma
555
                                                0=luma, 1=chroma
556
                                                6
557
                                                1
558
                                                false
559
                                                true
560
                                        
561
                                
562
                                
563
                                        dct_data
564
                                        0
565
                                        0x3
566
                                        32
567
                                
568
                        
569
                        32
570
                
571
        
572 145 lanttu
        
573
                
574
                        
575
                                rtl
576
                                vhdl:quartus, modelsim:
577
                                dct_to_hibi
578
                                
579
                                        hdlSources
580
                                
581
                        
582
                
583
                
584
                        
585
                                QP_out
586
                                
587
                                        out
588
                                        
589
                                                4
590
                                                0
591
                                        
592
                                
593
                                
594
                        
595
                        
596
                                chroma_out
597
                                
598
                                        out
599
                                        
600
                                                0
601
                                                0
602
                                        
603
                                
604
                                
605
                        
606
                        
607
                                clk
608
                                
609
                                        in
610
                                
611
                                
612
                        
613
                        
614
                                data_dct_out
615
                                
616
                                        out
617
                                        
618
                                                8
619
                                                0
620
                                        
621
                                
622
                                
623
                        
624
                        
625
                                data_idct_in
626
                                
627
                                        in
628
                                        
629
                                                8
630
                                                0
631
                                        
632
                                
633
                                
634
                        
635
                        
636
                                data_quant_in
637
                                
638
                                        in
639
                                        
640
                                                7
641
                                                0
642
                                        
643
                                
644
                                
645
                        
646
                        
647
                                dct_ready4col_in
648
                                
649
                                        in
650
                                
651
                                
652
                        
653
                        
654
                                debug_out
655
                                
656
                                        out
657
                                        
658
                                                0
659
                                                0
660
                                        
661
                                
662
                                
663
                        
664
                        
665
                                hibi_av_in
666
                                
667
                                        in
668
                                
669
                                
670
                        
671
                        
672
                                hibi_av_out
673
                                
674
                                        out
675
                                
676
                                
677
                        
678
                        
679
                                hibi_comm_in
680
                                
681
                                        in
682
                                        
683
                                                4
684
                                                0
685
                                        
686
                                        
687
                                                "000"
688
                                        
689
                                
690
                                
691
                        
692
                        
693
                                hibi_comm_out
694
                                
695
                                        out
696
                                        
697
                                                4
698
                                                0
699
                                        
700
                                
701
                                
702
                        
703
                        
704
                                hibi_data_in
705
                                
706
                                        in
707
                                        
708
                                                31
709
                                                0
710
                                        
711
                                        
712
                                                (others => '0')
713
                                        
714
                                
715
                                
716
                        
717
                        
718
                                hibi_data_out
719
                                
720
                                        out
721
                                        
722
                                                31
723
                                                0
724
                                        
725
                                
726
                                
727
                        
728
                        
729
                                hibi_empty_in
730
                                
731
                                        in
732
                                        
733
                                                '0'
734
                                        
735
                                
736
                                
737
                        
738
                        
739
                                hibi_full_in
740
                                
741
                                        in
742
                                        
743
                                                0
744
                                        
745
                                
746
                                
747
                        
748
                        
749
                                hibi_re_out
750
                                
751
                                        out
752
                                
753
                                
754
                        
755
                        
756
                                hibi_we_out
757
                                
758
                                        out
759
                                
760
                                
761
                        
762
                        
763
                                idct_ready4col_out
764
                                
765
                                        out
766
                                        
767
                                                0
768
                                                0
769
                                        
770
                                
771
                                
772
                        
773
                        
774
                                intra_out
775
                                
776
                                        out
777
                                
778
                                
779
                        
780
                        
781
                                loadQP_out
782
                                
783
                                        out
784
                                
785
                                
786
                        
787
                        
788
                                quant_ready4col_out
789
                                
790
                                        out
791
                                        
792
                                                0
793
                                                0
794
                                        
795
                                
796
                                
797
                        
798
                        
799
                                rst_n
800
                                
801
                                        in
802
                                
803
                                
804
                        
805
                        
806
                                wr_dct_out
807
                                
808
                                        out
809
                                        
810
                                                0
811
                                                0
812
                                        
813
                                
814
                                
815
                        
816
                        
817
                                wr_idct_in
818
                                
819
                                        in
820
                                        
821
                                                0
822
                                                0
823
                                        
824
                                
825
                                
826
                        
827
                        
828
                                wr_quant_in
829
                                
830
                                        in
831
                                        
832
                                                0
833
                                                0
834
                                        
835
                                
836
                                
837
                        
838
                
839
                
840
                        
841
                                comm_width_g
842
                                5
843
                        
844
                        
845
                                data_width_g
846
                                32
847
                        
848
                        
849
                                dct_width_g
850
                                Incoming data width(9b)
851
                                9
852
                        
853
                        
854
                                debug_w_g
855
                                1
856
                        
857
                        
858
                                idct_width_g
859
                                Data width after IDCT(9b)
860
                                9
861
                        
862
                        
863
                                own_address_g
864
                                Used for self-release
865
                                0
866
                        
867
                        
868
                                quant_width_g
869
                                Quantizated data width(8b)
870
                                8
871
                        
872
                        
873
                                rtm_address_g
874
                                Used for self-release
875
                                0
876
                        
877
                        
878
                                use_self_rel_g
879
                                Does it release itself from RTM?
880
                                1
881
                        
882
                
883
        
884
        
885
                
886
                        hdlSources
887
                        
888
                                hdl/cl_cnt.vhd
889
                                vhdlSource
890
                                false
891
                                dct_to_hibi
892
                        
893
                        
894
                                hdl/dct_to_hibi_v2.vhd
895
                                vhdlSource
896
                                false
897
                                dct_to_hibi
898
                        
899
                        
900
                                ../../dctqidct/1.0/hdl/dctQidct/IDCT_fifo.vhd
901
                                vhdlSource
902
                                false
903
                                dct_to_hibi
904
                        
905
                
906
                
907
                        Documentation
908
                        
909
                                doc/dct_to_hibi_ports.csv
910
                                csvFile
911
                                false
912
                        
913
                
914
        
915
        
916
                
917
                        
918
                                IP
919
                                HW
920
                                Mutable
921
                        
922
                        
923
                                
924
                                        dct_data_in
925
                                        
926
                                        
927
                                        
928
                                        packet
929
                                        in
930
                                        
931
                                
932
                                
933
                                        dct_data_out
934
                                        
935
                                        
936
                                        
937
                                        packet
938
                                        out
939
                                        
940
                                
941
                                
942
                                        block_count_in
943
                                        
944
                                        
945
                                        
946
                                        message
947
                                        in
948
                                        
949
                                
950
                        
951
                
952
        
953

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.