3GPPFDD_DLFirDTXInser
Description: First insertion of DTX indication bits
Library: 3GPPFDD, TrCH Multiplexers & Coders
Class: SDF3GPPFDD_DLFirDTXInser
Derived From: 3GPPFDD_DLCCTrCHBase
Parameters
Name 
Description 
Default 
Unit 
Type 
Range 

SpecVersion 
version of specifications: Version_03_00, Version_12_00, Version_03_02 
Version_12_00 

enum 

SlotFormat 
slot format 
0 

int 
† 
TrCHNum 
number of Transport Channels 
1 

int 
[1:32] 
TrCHIndex 
index of Transport Channel 
1 

int 
[1:TrCHNum] 
RMArray 
rate matching attributes of all Transport Channels 
1.0 

real array 
(0.0:1.0] if SpecVersion=Version_03_00; 
DynTFSetArray 
dynamic part of TF set of all Transport Channels 
244 976 

int array 
range is the same as DynTFSet in 3GPPFDD_CRCEncoder 
TFSetSizeArray 
Transport Format set size of all Transport Channels 
1 

int array 
[1, inf) for each element; 
TTIArray 
Transmission Time Interval of all Transport Channels 
0 

int array 
[0,1,2,3] for each element; 
CRCArray 
number of CRC bits of all Transport Channels 
3 

int array 
[0,1,2,3,4] for each element; 
CHCodingTypeArray 
channel coding type of all Transport Channels 
1 

int array 
[0,1,2] for each element; 
PhyCHNum 
downlink physical channel number 
1 

int 
[1:8] 
TrCHMulPos 
Transport Channel multiplex position in CCTrCH: Fixed, Flexible 
Fixed 

enum 

TrCHType 
transport channel type: DCH_Type, BCH_Type, PCH_FACH_Type 
DCH_Type 

enum 

† [0:5] for uplink DPCCH;
[0:16] for downlink DPCH;
[0:17] for downlink SCCPCH;
[0:5] for uplink PCPCH (Ver 03_00);
[0:2] for uplink PCPCH (Ver 12_00);
[0:1] for uplink PCPCH (Ver 03_02).
Pin Inputs
Pin 
Name 
Description 
Signal Type 

1 
SizeIn 
input size 
int 
2 
DataIn 
input data 
int 
Pin Outputs
Pin 
Name 
Description 
Signal Type 

3 
SizeOut 
output size 
int 
4 
DataOut 
output data 
int 
Notes/Equations
 This model is used to implement first DTX insertion. This step of inserting DTX indication bits is used only if the positions of the TrCHs in the radio frame are fixed. With fixed position scheme a fixed number of bits is reserved for each TrCH in the radio frame.
The bits from rate matching are denoted by g_{i} 1, g_{i} 2, g_{i} 3, ... , g_{iGi} where G_{i} is the number of bits in one TTI of TrCH i. Denote the number of bits in one radio frame of TrCH i by H_{i}. Denote D_{i} the number of bits output of the first DTX insertion block.
In normal or compressed mode by spreading factor reduction, H_{i} is constant and corresponds to the maximum number of bits from TrCH __ i in one radio frame for any transport format of TrCH i . and D_{i} = F_{i} × H_{i}.
In compressed mode by puncturing, additional puncturing is performed in the rate matching block. The empty positions resulting from the additional puncturing are used to insert pbits in the first interleaving block, the DTX insertion is therefore limited to allow for later insertion of pbits. DTX bits are inserted until the total number of bits is D_{i} where D_{i} = F_{i} × H_{i} ,+ Δ N ^{TTI}_{cm, i, max}, and H_{i} = N_{i}+ Δ N_{i}.
The bits output from the DTX insertion are denoted by h_{i} 1, h_{i} 2, h_{i} 3, ... , h_{iDi}. Note that these bits are triple valued. These are defined by the following relations:
where DTX indication bits are denoted by δ. Here g_{ik} Œ{0, 1} and δ œ{0, 1}.h_{ik} = g_{ik} k = 1, 2, 3, ... , G_{i}
h_{ik} = δ k = G_{i} + 1, G_{i} + 2, G_{i} + 3, ... , D_{i}  This model fires once per TTI. Each firing, one token is consumed by pin SizeIn, this token indicates the effective length of data block input at pin DataIn. Then this model will insert DTX bits into data block if necessary, and the data block is output at pin DataOut. A token is generated by pin SizeOut to indicate the effective length of the output data block.
 All transport channel information must be in the form of arrays.
The DynTFSetArray parameter requires an integer array. The correct format is transport block size 1, transport block set size 1, transport block size 2, transport block set size 2 , etc. The size of this array must be a multiple of 2, and the transport block set size must be a multiple of the relative transport block size.
TFSetSizeArray indicates how many pairs of transport block and transport block set sizes are contained in a certain transport channel. For example:
When setting TTIArray, CRCArray and CHCodingTypeArray values, refer to the following table. TFSetSizeArray = "3 2" means the first three pairs of transport block size and transport block set size belong to the first transport channel, and the next two pairs belong to the second transport channel.
 TFSetSizeArray = "2 2 2" means the first two pairs of transport block size and transport block set size belong to the first transport channel, the next two pairs belong to the second transport channel and the last two pairs belong to the third transport channel.
Settings for TTIArray, CRCArray and CHCodingTypeArray Values
TTIArray CRCArray CHCodingTypeArray Time Value Coding Value Coding Value 10 msec 0 No CRC 0 No Coding 0 20 msec 1 8 bits 1 1/2 CC 1 40 msec 2 12 bits 2 1/3 CC 2 80 msec 3 16 bits 3 1/3 TC 3 24 bits 4 CC = convolutional coding; TC = turbo coding
References
 3GPP Technical Specification TS 25.212 V3.9.0, Multiplexing and Channel Coding (FDD) 200203, Release 1999.
http://www.3gpp.org/ftp/Specs/200203/R1999/25_series/25212390.zip