WCDMA3G_SecondIntlvr
Description: Second interleaver
Library: 3GPPFDD 10-99, Channel Coding
Class: SDFWCDMA3G_SecondIntlvr
Parameters
Name | Description | Default | Type | Range |
---|---|---|---|---|
LinkDir | link direction: Downlink, Uplink | Downlink | enum | |
DL_PhyCHType | downlink physical channel type: DPCH_15kbps_TF0_T2_P4, DPCH_15kbps_TF2_T2_P4, DPCH_30kbps_TF0_T2_P2, DPCH_30kbps_TF2_T2_P2, DPCH_30kbps_TF0_T2_P4, DPCH_30kbps_TF2_T2_P4, DPCH_30kbps_TF0_T2_P8, DPCH_30kbps_TF2_T2_P8, DPCH_60kbps_TF0_T2_P4, DPCH_60kbps_TF2_T2_P4, DPCH_60kbps_TF0_T2_P8, DPCH_60kbps_TF2_T2_P8, DPCH_120kbps_TF8_T4_P8, DPCH_120kbps_TF0_T4_P8, DPCH_240kbps_TF8_T4_P8, DPCH_240kbps_TF0_T4_P8, DPCH_480kbps_TF8_T8_P16, DPCH_480kbps_TF0_T8_P16, DPCH_960kbps_TF8_T8_P16, DPCH_960kbps_TF0_T8_P16, DPCH_1920kbps_TF8_T8_P16, DPCH_1920kbps_TF0_T8_P16, PCCPCH | DPCH_30kbps_TF2_T2_P8 | enum | † |
UL_DPDCHType | uplink dedicated physical data channel type: DPDCH_15kbps, DPDCH_30kbps, DPDCH_60kbps, DPDCH_120kbps, DPDCH_240kbps, DPDCH_480kbps, DPDCH_960kbps | DPDCH_30kbps | enum | |
† where TF n = number of transmit format indicator bits T n = number of transmit power control bits P n = number of pilot bits F n = number of feedback indicator bits |
Pin Inputs
Pin |
Name |
Description |
Signal Type |
---|---|---|---|
1 |
In |
input data |
int |
Pin Outputs
Pin |
Name |
Description |
Signal Type |
---|---|---|---|
2 |
Out |
ouput data after interleaving |
int |
Notes/Equations
- This model is used to implement the second interleaving. The second interleaving is a block interleaver with inter-column permutations after the physical channel segmentation.
Each firing, M tokens are produced when M tokens are consumed; refer to the following table for the value of M.
M Values
Physical Channel Type M=PhyCH Interleaving Block Length (Bits) DL_PhyCHType DPCH_15kbps_TF0_T2_P4 60 DPCH_15kbps_TF2_T2_P4 30 DPCH_30kbps_TF0_T2_P2 240 DPCH_30kbps_TF2_T2_P2 210 DPCH_30kbps_TF0_T2_P4 210 DPCH_30kbps_TF2_T2_P4 180 DPCH_30kbps_TF0_T2_P8 150 DPCH_30kbps_TF2_T2_P8 120 DPCH_60kbps_TF0_T2_P4 510 DPCH_60kbps_TF2_T2_P4 480 DPCH_60kbps_TF0_T2_P8 450 DPCH_60kbps_TF2_T2_P8 420 DPCH_120kbps_TF8_T4_P8 900 DPCH_120kbps_TF0_T4_P8 900 DPCH_240kbps_TF8_T4_P8 2100 DPCH_240kbps_TF0_T4_P8 2100 DPCH_480kbps_TF8_T8_P16 4320 DPCH_480kbps_TF0_T8_P16 4320 DPCH_960kbps_TF8_T8_P16 9120 DPCH_960kbps_TF0_T8_P16 9120 DPCH_1920kbps_TF8_T8_P16 18720 DPCH_1920kbps_TF0_T8_P16 18720 UL_DPDCHType DPDCH_15kbps 150 DPDCH_30kbps 300 DPDCH_60kbps 600 DPDCH_120kbps 1200 DPDCH_240kbps 2400 DPDCH_480kbps 4800 DPDCH_960kbps 9600 - Model functions
Input bits and data length are read from the input buffer. The input bit sequence for second interleaving is denoted as u_{p1}, u_{p2}, ..., u_{pU}, where p is the PhyCH number and U is the number of bits in one radio frame for one PhyCH.
The number of columns is set to C_{2} = 30. Columns are numbered 0,1,2, ..., C_{2} -1 left to right.
The number of rows R_{2} is determined by finding the minimum integer R_{2} such that
Bits input to the second interleaving are written into the R_{2} x C_{2} rectangular matrix row by row:U ≤ R_{2} C_{2}
Inter-column permutation is performed based on the pattern {P_{2}(j)}(j=0,1, ..., C_{2} -1) shown in the following table, where P_{2}(j) is the original column position of the jth permuted column.Permutation Patterns for Second Interleaving
After permutation f the columns, the bits are denoted by y_{pk}:Number of Columns
Inter-column Permutation Pattern
30
{0,20,10,5,15,25,3,13,23,8,18,28,1,11,21,6,16,26,4,14,24,19,9,29,12,2,7,22,27,17}
Output bit sequence y_{pk} of the second interleaving is read column by column from the inter-column permuted R_{2} x C_{2} matrix. The output is pruned by deleting bits that were not present in the input bit sequence, that is, bit y_{p,k} that corresponds to bits u_{p,k} with k > U are removed form the output. The bits after the second interleaving are denoted by v_{p1}, v_{p2}, ..., v_{pU},where v_{p1} corresponds to the bit y_{pk} with smallest index k after pruning, v_{p2} to the bit y_{pk} with second smallest index k after pruning, and so on.
Data is output after interleaving.
References
- 3GPP Technical Specification TS25.212 V3.0.0,"Multiplexing and Channel Coding (FDD)," October 1999.
- 3GPP Technical Specification TS25.101 V3.0.0,"UE Radio Transmission and Reception (FDD)," October 1999.
- 3GPP Technical Specification TS25.104 V3.0.0,"UTRA (BS) FDD: Transmission and Reception," October 1999.