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 up1, up2, ..., upU, 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 C2 = 30. Columns are numbered 0,1,2, ..., C2 -1 left to right.
The number of rows R2 is determined by finding the minimum integer R2 such that
Bits input to the second interleaving are written into the R2 x C2 rectangular matrix row by row:U ≤ R2 C2
Inter-column permutation is performed based on the pattern {P2(j)}(j=0,1, ..., C2 -1) shown in the following table, where P2(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 ypk: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 ypk of the second interleaving is read column by column from the inter-column permuted R2 x C2 matrix. The output is pruned by deleting bits that were not present in the input bit sequence, that is, bit yp,k that corresponds to bits up,k with k > U are removed form the output. The bits after the second interleaving are denoted by vp1, vp2, ..., vpU,where vp1 corresponds to the bit ypk with smallest index k after pruning, vp2 to the bit ypk 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.