www.ti.com | Standalone (SA) Mode |
One iteration of turbo decoding consists of 2 MAPs processing, the first MAP with the initial switch position (as shown in Figure 4), the second MAP with the other position of the switch. After each MAP, a stopping test can be performed based on the following methods. These tests are user configurable.
∙Comparing the extrinsic SNR estimate to a SNR threshold (user defined)
∙CRC pattern match
∙Max iterations
When starting a decoding, you must supply a maximum number of iterations and optionally an SNR threshold ratio (or CRC) for the stopping test. If the stopping test is positive or the maximum number of iterations is reached, the decoding stops, the hard decisions are computed (from both extrinsic and systematic data), and then the coprocessor notifies EDMA3 that the processing is complete. In Figure 4, switch positions are for MAP0 and opposite positions are for MAP1.
Figure 4. Standalone (SA) Mode Block Diagram
Parity A |
|
|
|
|
|
Parity A' |
|
|
|
|
|
Parity B |
|
|
| MAP |
|
Parity B' |
|
|
| decoder |
|
Void input |
|
|
| unit | Extrinsic |
|
|
|
| ||
|
|
|
|
| saved |
Systematic |
|
|
|
| as new |
|
|
|
| apriori | |
| I |
|
|
|
|
Apriori 1 | I |
|
|
|
|
Apriori 2 |
|
|
|
|
|
| I−1 |
|
|
|
|
|
|
|
| Keep on iterations |
|
|
|
| Enable next log−map |
| |
|
|
|
| by switching the |
|
|
| No |
| switches |
|
|
|
|
|
| |
| New | Stop? |
| Slicer |
|
| apriori | Yes |
| ||
| (stopping |
| |||
|
| Create hard | |||
|
| criterion |
| ||
|
|
| decisions |
| |
|
| algo) |
|
| |
|
|
|
|
| |
| Previous apriori |
|
|
| |
| Systematic |
| End |
|
4.1Input Data Format
4.1.1Systematic and Parity Data
Symbols (data) have to be quantized on 6 bits as (4,2) bit numbers, that is, SIII.FF (where S = sign bit, I = integer bit, F = fractional bit). Depending on the rate, Figure 6 through Figure 16 show how data must be organized in the DSP memory to conform to a rate that is 1/5 of the input data stream, which TCP2 requires. The base address must be
TMS320C6457 | 13 |