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.

TCP2 交织表问题。



你好,工程师。我有如下疑问需要您的帮助。TCP 例子工程中给的交织表我发现和3GPP LTE 中长度为40的编码交织表一模一样。所以我理解交织表就是编码用的那个。但是又在官方给的另一个工程中看到如下代码

//Generate Deinterleave Table
for (i=0;i<tcpParameters->frameLen;i++)
TurboDeinterTable[TurboInterleaverTable[i]]=i;
for(;i<tcpParameters->frameLen+8; i++)
{
//TCP2 may require 3 extra interleaver table elements to be transfered.
TurboInterleaverTable[i]=i;
//support speculative optimization
TurboDeinterTable[i]=i;
}

很明显这里的译码用的和编码用的交织表不是同一个矩阵而是对应变化,现在想知道关于交织表的具体表述,文档没有明确说明。官方的例子地址如下

www-s.ti.com/.../spraag3.zip

希望能得到您的及时答复。多谢。

  • TCP2可以内部产生交织表,不需要外部产生,我觉得编码与解码的交织表应该是一样的。

  • 您好~,非常感谢您的答复,但是我想知道比如尾比特12个的顺序是不是就是编码的顺序,还有我现在如果maxinter = 1 ,就是最大迭代次数设置为1,发现译码的到数(src+crc) 只有src 是译对了,但是最后的12比特是不对的,非常不理解,非常急切,希望的到及时的帮助。

  • 应该是跟tail bit有关,参考一下:http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/p/11411/118619.aspx#118619

  • Andy  非常感谢,可是还是没有进展。

    在参数配置里如果maxinte = 1 是不是意味着手册里描述的: Turbo decoders execute the MAP decoder twice per iteration. One execution is for non-interleaved data and the other execution is for interleaved data. This parameter sets the maximum number of decoder iterations for each block of data. Valid sizes are 0 to 31. If either the CRC passed or the SNR stopping criteria threshold has been exceeded, then the decoder will stop early. The last iteration will only process the MAP decoder for the non-interleaved data.交织表没有起作用?, 还有数据手册没有描述自己产生交织表的类型,是不是支持所有的TD的格式?。

    还有prolog这个参数重要吗,他的取值依据具体是什么?

  • 您好,最近在使用TI的TCP2进行译码工作。由于工作需要tcp2的sp模式进行译码,而ti没有提供完整的sp模式demo程序,请问能给我发一份完整的sp模式的demo程序吗?急切盼望,谢谢!