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.

Problem to understand TCP3d Input File

Hello,

I'm working on DSP C6670. I've integrated TCP3e successfully with my LTE application. Now I'm trying to integrate TCP3d with my application. I realize input of TC3d more difficult to understand than TCP3e. So, I get some difficulty with TCP3d Input File.

 TCP3d Input File like:

-  block0_cfgreg.dat

- block0_hard_dec.dat

- block0_llrs.dat

- block0_soft_dec.dat

- block0_status.dat

- block0_tail_llrs.dat

I don't understand what I must write on those file and what function of those file. Could anyone explain to me?

Thank a lot. 

Erick.  

  • Hi Erick,

    Under the tcp3d/test/gen_test_vectors directory, there should be a genTestVect.bat file. If you run that batch file, it should generate all the test vectors for LTE, WCDMA and WiMAX. You should be able to point your example to the LTE folder.

    Eg: After you generate the testvectors, go to tcp3d_main.c and set as below:

    testvectFolderBase[] = "C:\\ti\\<pdk_directory_name>\\packages\\ti\\drv\\tcp3d\\test\\gen_test_vectors\\";

    Char                    *testFolder[] = {"LTE",};

  • Thanks, auppu6547 it's working.

    I have my own input. Can I generate my own test vector using my input ? And How?

    What are purposes of files in folder LTE/reference?

  • Hi,

    I have the same problem. I want to convert my own turbo decoder input to be used on tcp3d, to test the algorithm.

    I learn that there are configuration files (*.cfg) on:

    Texas Instruments\pdk_C6670_1_1_2_6\packages\ti\drv\tcp3d\test\gen_test_vectors\

    That's how tcp3d input are configured. And the actual input bit is on the following line:

    Coded_bits_file_name = codedbits_file.txt

    Question is, what is data format for codedbits_file.txt? I wan to replace that file to my own codebits.

    Thanks,

    --

    Yayan

  • Hi,

    In the .cfg file, you can set the code block size and other parameters before you run the gentestvec.bat script. It will auto generate the block0_cfgreg.dat, block0_hard_dec.dat, block0_llrs.dat, block0_status.dat and block0_tail_llrs.dat files for each code block. 

    For example, i can set the .cfg as below:

    Coding_standard = 1
    Frame_size_index = 91
    Max_number_of_turbo_iterations = 8
    Min_number_of_turbo_iterations = 1
    Max_star_enable = 0
    Max_star_threshold = 4
    Max_star_value = 2
    tcp3_extrScaleEn = 1
    Extrinsic_scales = 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24
    tcp3_SW0_length = 32
    tcp3_stopSel = 0
    tcp3_SNR_Report = 1
    tcp3_SNR_stopVal = 14
    tcp3_intlvGenEn = 1
    tcp3_softOutBitFormat = 1
    tcp3_lteCrcInitSel = 0
    tcp3_lteCrcIterPass = 1
    tcp3_outStatusReadEn = 1
    tcp3_softOutBitsReadEn = 1
    Save_intermediate_data = 1
    Minimum_number_of_FEC_blocks = 1
    Maximum_number_of_FEC_blocks = 1
    Snr_increment_step = 0
    Frame_error_rate_limit = -4
    Snr_init_value = 4
    Add_noise = 1
    c_model_seed = 24354030
    Bit_width_of_integer_part = 4
    Bit_width_of_fractional_part = 2
    Minimum_number_of_frame_errors = 0
    Store_info_bits_to_file = 1
    Load_info_bits_from_file = 0
    Info_bits_file_name = infobits_file.txt
    Info_bits_file_includes_CRC= 1
    Initial_process_index = 0
    Store_coded_bits_to_file = 0
    Coded_bits_file_name = codedbits_file.txt

    Regards,

    Arun