This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Tcp3d output bit flip

Hi,

I am working on EVM 6670 and using pdk_C6670_1_0_0_21 drivers. I am facing problem in Tcp3d co-processor.
I am working on multicore.

Issue:
For some input test vector(LTE), Tcp3d output has one bit flip in it.
Output of BCP(De-Ratematch) is input to Tcp3d.

Below is the input congifguration to Tcp3d:

    tempCbConfig.mode_sel            =             1;
    tempCbConfig.lte_crc_init_sel    =            0;
    tempCbConfig.NumInfoBits        =             320;// Length of Code word excluding tail bits used for attached input vector
    tempCbConfig.SW0_length            =            64;
    tempCbConfig.maxst_en            =            0;
    tempCbConfig.out_flag_en        =            0;
    tempCbConfig.out_order_sel        =            0;
    tempCbConfig.ext_scale_en        =            1;
    tempCbConfig.soft_out_flag_en    =            0;
    tempCbConfig.soft_out_fmt        =            1;
    tempCbConfig.min_itr            =            1;
    tempCbConfig.max_itr            =            8;
    tempCbConfig.snr_val            =            14;
    tempCbConfig.snr_rep            =            1;
    tempCbConfig.stop_sel            =            0;
    tempCbConfig.crc_iter_pass        =            1;
    tempCbConfig.crc_sel            =            0;
    tempCbConfig.maxst_thold        =            4;
    tempCbConfig.maxst_value        =            2;
    tempCbConfig.ext_scale_0        =            24;
    tempCbConfig.ext_scale_1        =            24;
    tempCbConfig.ext_scale_2        =            24;
    tempCbConfig.ext_scale_3        =            24;
    tempCbConfig.ext_scale_4        =            24;
    tempCbConfig.ext_scale_5        =            24;
    tempCbConfig.ext_scale_6        =            24;
    tempCbConfig.ext_scale_7        =            24;
    tempCbConfig.ext_scale_8        =            24;
    tempCbConfig.ext_scale_9        =            24;
    tempCbConfig.ext_scale_10        =            24;
    tempCbConfig.ext_scale_11        =            24;
    tempCbConfig.ext_scale_12        =            24;
    tempCbConfig.ext_scale_13        =            24;
    tempCbConfig.ext_scale_14        =            24;
    tempCbConfig.ext_scale_15        =            24;
    
I have attached Input, output vectors of Tcp3d and also expected output for the same vector.

Please let me know what could be the issue?
Thanks in advance.

Regards,
Shabrin

6404.Tcp3d_input.txt
31 31 0
31 0 31
-31 0 0
-31 0 0
0 -31 0
-23 0 -31
31 -21 0
31 0 31
31 31 0
31 0 -31
-31 0 0
31 0 0
31 31 0
31 0 -31
31 0 0
31 0 0
31 31 0
31 0 31
31 0 0
-31 0 0
0 -30 0
-30 0 31
-31 -31 0
-31 0 31
31 -31 0
31 0 -31
31 0 0
-31 0 0
-31 31 0
-31 0 31
-31 0 0
-31 0 0
31 31 0
-31 0 -31
31 0 0
-31 0 0
0 31 0
-31 0 31
-31 -25 0
-31 0 -31
31 -31 0
31 0 31
31 0 0
-31 0 0
31 -31 0
22 0 -31
31 0 0
-31 0 0
-31 31 0
-31 0 31
-31 0 0
-31 0 0
0 31 0
31 0 31
-31 -31 0
31 0 31
31 -31 0
31 0 -31
-31 0 0
31 0 0
-31 -31 0
-31 0 -31
31 0 0
-31 0 0
-31 31 0
-31 0 -31
31 0 0
31 0 0
0 31 0
31 0 -31
31 -31 0
31 0 24
-31 31 0
31 0 -31
31 0 0
-31 0 0
31 -31 0
-31 0 31
-31 0 0
31 0 0
31 -31 0
-31 0 -31
-31 0 0
31 0 0
0 -31 0
31 0 -31
31 -31 0
31 0 -31
31 28 0
31 0 -31
31 0 0
-31 0 0
31 31 0
24 0 22
-22 0 0
31 0 0
-30 -31 0
31 0 -31
31 0 0
-31 0 0
0 -31 0
20 0 -31
-31 -31 0
-31 0 24
31 -31 0
31 0 31
-31 0 0
-31 0 0
-31 -31 0
-31 0 31
-31 0 0
31 0 0
-31 -31 0
31 0 -31
31 0 0
31 0 0
0 -31 0
-22 0 -31
-31 -31 0
31 0 31
31 31 0
31 0 23
31 0 0
31 0 0
-31 -31 0
-31 0 22
-31 0 0
-31 0 0
-31 31 0
31 0 -31
-31 0 0
-31 0 0
0 31 0
-31 0 31
31 31 0
-31 0 -26
31 31 0
-31 0 -31
-31 0 0
-31 0 0
-31 -31 0
30 0 31
31 0 0
-31 0 0
-31 31 0
-31 0 31
-31 0 0
-31 0 0
0 -31 0
31 0 31
31 31 0
31 0 -31
-31 31 0
31 0 -29
31 0 0
-31 0 0
31 29 0
-31 0 -31
-26 0 0
31 0 0
24 -31 0
-31 0 -31
-23 0 0
31 0 0
0 31 0
-12 0 -31
31 31 0
31 0 -29
31 31 0
31 0 -31
-31 0 0
-31 0 0
31 31 0
31 0 -31
31 0 0
31 0 0
31 31 0
-31 0 -31
-31 0 0
31 0 0
0 -31 0
25 0 -31
31 -31 0
-31 0 -31
-31 -27 0
31 0 31
31 0 0
31 0 0
31 31 0
31 0 23
31 0 0
31 0 0
31 -31 0
31 0 15
31 0 0
31 0 0
0 31 0
31 0 -31
31 31 0
31 0 31
31 -31 0
-31 0 -31
31 0 0
31 0 0
-31 -31 0
-31 0 -31
31 0 0
31 0 0
31 31 0
-31 0 -31
31 0 0
-31 0 0
0 -31 0
31 0 -31
31 -31 0
31 0 31
31 -31 0
31 0 -31
31 0 0
-31 0 0
31 -31 0
31 0 -31
21 0 0
31 0 0
-31 -18 0
31 0 -31
31 0 0
-31 0 0
0 -31 0
-22 0 -31
31 31 0
31 0 -31
31 -31 0
31 0 -31
-31 0 0
-31 0 0
31 -31 0
27 0 -31
31 0 0
31 0 0
31 31 0
31 0 -31
31 0 0
31 0 0
0 31 0
31 0 31
31 -31 0
31 0 -31
31 -31 0
-31 0 31
31 0 0
31 0 0
31 -27 0
-31 0 31
-31 0 0
31 0 0
29 -21 0
31 0 31
14 0 0
31 0 0
0 31 0
23 0 26
31 31 0
31 0 -31
31 -31 0
31 0 -31
28 0 0
31 0 0
31 -31 0
31 0 31
24 0 0
31 0 0
31 -31 0
31 0 -31
31 0 0
31 0 0
0 31 0
31 0 31
31 -31 0
31 0 31
31 31 0
31 0 -30
31 0 0
31 0 0
31 -31 0
31 0 31
29 0 0
31 0 0
31 31 0
31 0 -21
24 0 0
31 0 0
0 -31 0
31 0 31
31 31 0
31 0 31
-31 31 0
-31 0 -31
31 0 0
-31 0 0
31 -31 0
31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0 
0 
0 
0 
0 
0 
1 
1 
0 
0 
0 
1 
0 
1 
1 
0 
1 
1 
1 

  • Hi Shabrin,

    I am not an expert in TCP3d. I would suggest you to try with latest PDK (pdk_C6670_1_1_2_6).

    The latest PDK is part of mcsdk 2.x. Please find the download and user guide link below.

    Thank you.

  • Hi Rajasekaran,


    Thank you very much your reply and time.

    I have resolved Tcp3d problem. It's working fine now.


    But, I am now stuck in Vcp2 issue used for LTE. I am working on EVM 6670. 

    I am using VCP2 project from below mentioned link

    https://gforge.ti.com/gf/download/user/9358/5869/BER.zip

    but some output bits are flipping.

    Configuration for VCp2 is given below

        vcpParameters->frameLen                = 41;
        vcpParameters->rate                           = 3;
        vcpParameters->constLen                 = 7;
        vcpParameters->yamTh                      = 0;
        vcpParameters->stateNum                = 0;
        vcpParameters->decision                  = 0;
        vcpParameters->readFlag                 = 1;
        vcpParameters->tbConvrgMode       = 0;
        vcpParameters->tailBitEnable          = 0;
        vcpParameters->traceBackIndex      = 0;
        vcpParameters->outOrder                  = 1;
        vcpParameters->perf                           = VCP2_PERF_MOST_CRITICAL;

    Generator polynomial for LTE convolution decoder is

       VcpConfigParms.poly0 = 0x6C;
        VcpConfigParms.poly1 = 0xE4;
        VcpConfigParms.poly2 = 0xD4;
        VcpConfigParms.poly3 = 0x00;

    Please let me know what could be the problem?

    Thanks and Regards,

    Shabrin

  • Hi Shabrin,

    We are glad that you are able solve the issue. If possible, We would request you to post the solution for the issue.

    Please follow up below thread for VCP question. Please do not duplicate threads.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/352928/1237346.aspx

    Thank you.