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 145

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
                        
422
                        false
423
                        
424
                                
425
                                        
426
                                                AV
427
                                                
428
                                                        0
429
                                                        0
430
                                                
431
                                        
432
                                        
433
                                                hibi_av_in
434
                                                
435
                                                        0
436
                                                        0
437
                                                
438
                                        
439
                                
440
                                
441
                                        
442
                                                COMM
443
                                                
444
                                                        4
445
                                                        0
446
                                                
447
                                        
448
                                        
449
                                                hibi_comm_in
450
                                                
451
                                                        4
452
                                                        0
453
                                                
454
                                        
455
                                
456
                                
457
                                        
458
                                                DATA
459
                                                
460
                                                        31
461
                                                        0
462
                                                
463
                                        
464
                                        
465
                                                hibi_data_in
466
                                                
467
                                                        31
468
                                                        0
469
                                                
470
                                        
471
                                
472
                                
473
                                        
474
                                                EMPTY
475
                                                
476
                                                        0
477
                                                        0
478
                                                
479
                                        
480
                                        
481
                                                hibi_empty_in
482
                                                
483
                                                        0
484
                                                        0
485
                                                
486
                                        
487
                                
488
                                
489
                                        
490
                                                FULL
491
                                                
492
                                                        0
493
                                                        0
494
                                                
495
                                        
496
                                        
497
                                                hibi_full_in
498
                                                
499
                                                        0
500
                                                        0
501
                                                
502
                                        
503
                                
504
                        
505
                        8
506
                        little
507
                
508
        
509
        
510
                
511
                        
512
                                rtl
513
                                vhdl:quartus, modelsim:
514
                                dct_to_hibi
515
                                
516
                                        hdlSources
517
                                
518
                        
519
                
520
                
521
                        
522
                                QP_out
523
                                
524
                                        out
525
                                        
526
                                                4
527
                                                0
528
                                        
529
                                
530
                                
531
                        
532
                        
533
                                chroma_out
534
                                
535
                                        out
536
                                        
537
                                                0
538
                                                0
539
                                        
540
                                
541
                                
542
                        
543
                        
544
                                clk
545
                                
546
                                        in
547
                                
548
                                
549
                        
550
                        
551
                                data_dct_out
552
                                
553
                                        out
554
                                        
555
                                                8
556
                                                0
557
                                        
558
                                
559
                                
560
                        
561
                        
562
                                data_idct_in
563
                                
564
                                        in
565
                                        
566
                                                8
567
                                                0
568
                                        
569
                                
570
                                
571
                        
572
                        
573
                                data_quant_in
574
                                
575
                                        in
576
                                        
577
                                                7
578
                                                0
579
                                        
580
                                
581
                                
582
                        
583
                        
584
                                dct_ready4col_in
585
                                
586
                                        in
587
                                
588
                                
589
                        
590
                        
591
                                debug_out
592
                                
593
                                        out
594
                                        
595
                                                0
596
                                                0
597
                                        
598
                                
599
                                
600
                        
601
                        
602
                                hibi_av_in
603
                                
604
                                        in
605
                                
606
                                
607
                        
608
                        
609
                                hibi_av_out
610
                                
611
                                        out
612
                                
613
                                
614
                        
615
                        
616
                                hibi_comm_in
617
                                
618
                                        in
619
                                        
620
                                                4
621
                                                0
622
                                        
623
                                        
624
                                                "000"
625
                                        
626
                                
627
                                
628
                        
629
                        
630
                                hibi_comm_out
631
                                
632
                                        out
633
                                        
634
                                                4
635
                                                0
636
                                        
637
                                
638
                                
639
                        
640
                        
641
                                hibi_data_in
642
                                
643
                                        in
644
                                        
645
                                                31
646
                                                0
647
                                        
648
                                        
649
                                                (others => '0')
650
                                        
651
                                
652
                                
653
                        
654
                        
655
                                hibi_data_out
656
                                
657
                                        out
658
                                        
659
                                                31
660
                                                0
661
                                        
662
                                
663
                                
664
                        
665
                        
666
                                hibi_empty_in
667
                                
668
                                        in
669
                                        
670
                                                '0'
671
                                        
672
                                
673
                                
674
                        
675
                        
676
                                hibi_full_in
677
                                
678
                                        in
679
                                        
680
                                                0
681
                                        
682
                                
683
                                
684
                        
685
                        
686
                                hibi_re_out
687
                                
688
                                        out
689
                                
690
                                
691
                        
692
                        
693
                                hibi_we_out
694
                                
695
                                        out
696
                                
697
                                
698
                        
699
                        
700
                                idct_ready4col_out
701
                                
702
                                        out
703
                                        
704
                                                0
705
                                                0
706
                                        
707
                                
708
                                
709
                        
710
                        
711
                                intra_out
712
                                
713
                                        out
714
                                
715
                                
716
                        
717
                        
718
                                loadQP_out
719
                                
720
                                        out
721
                                
722
                                
723
                        
724
                        
725
                                quant_ready4col_out
726
                                
727
                                        out
728
                                        
729
                                                0
730
                                                0
731
                                        
732
                                
733
                                
734
                        
735
                        
736
                                rst_n
737
                                
738
                                        in
739
                                
740
                                
741
                        
742
                        
743
                                wr_dct_out
744
                                
745
                                        out
746
                                        
747
                                                0
748
                                                0
749
                                        
750
                                
751
                                
752
                        
753
                        
754
                                wr_idct_in
755
                                
756
                                        in
757
                                        
758
                                                0
759
                                                0
760
                                        
761
                                
762
                                
763
                        
764
                        
765
                                wr_quant_in
766
                                
767
                                        in
768
                                        
769
                                                0
770
                                                0
771
                                        
772
                                
773
                                
774
                        
775
                
776
                
777
                        
778
                                comm_width_g
779
                                5
780
                        
781
                        
782
                                data_width_g
783
                                32
784
                        
785
                        
786
                                dct_width_g
787
                                Incoming data width(9b)
788
                                9
789
                        
790
                        
791
                                debug_w_g
792
                                1
793
                        
794
                        
795
                                idct_width_g
796
                                Data width after IDCT(9b)
797
                                9
798
                        
799
                        
800
                                own_address_g
801
                                Used for self-release
802
                                0
803
                        
804
                        
805
                                quant_width_g
806
                                Quantizated data width(8b)
807
                                8
808
                        
809
                        
810
                                rtm_address_g
811
                                Used for self-release
812
                                0
813
                        
814
                        
815
                                use_self_rel_g
816
                                Does it release itself from RTM?
817
                                1
818
                        
819
                
820
        
821
        
822
                
823
                        hdlSources
824
                        
825
                                hdl/cl_cnt.vhd
826
                                vhdlSource
827
                                false
828
                                dct_to_hibi
829
                        
830
                        
831
                                hdl/dct_to_hibi_v2.vhd
832
                                vhdlSource
833
                                false
834
                                dct_to_hibi
835
                        
836
                        
837
                                ../../dctqidct/1.0/hdl/dctQidct/IDCT_fifo.vhd
838
                                vhdlSource
839
                                false
840
                                dct_to_hibi
841
                        
842
                
843
                
844
                        Documentation
845
                        
846
                                doc/dct_to_hibi_ports.csv
847
                                csvFile
848
                                false
849
                        
850
                
851
        
852
        
853
                
854
                        
855
                                IP
856
                                HW
857
                                Mutable
858
                        
859
                        
860
                                
861
                                        dct_data_in
862
                                        
863
                                        
864
                                        
865
                                        packet
866
                                        in
867
                                        
868
                                
869
                                
870
                                        dct_data_out
871
                                        
872
                                        
873
                                        
874
                                        packet
875
                                        out
876
                                        
877
                                
878
                                
879
                                        block_count_in
880
                                        
881
                                        
882
                                        
883
                                        message
884
                                        in
885
                                        
886
                                
887
                        
888
                
889
        
890

powered by: WebSVN 2.1.0

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