50
3rd Generation Partnership Project 2 (3GPP2) Standard Compliant cdma2000 1xEV-DO Toolbox for MATLAB ® & Blockset for from

EV-DO Mathworks Manual

Embed Size (px)

DESCRIPTION

EVDO Mathwork Manual

Citation preview

Page 1: EV-DO Mathworks Manual

3rd Generation Partnership Project 2 (3GPP2)Standard Compliant

cdma2000 1xEV-DO

Toolbox for MATLAB®

&

Blockset for

from

Page 2: EV-DO Mathworks Manual

1xEV-DO Library 2

CONTENTS1.Introduction: ................................................................................................................ 5

1.1 3GPP2 Standard Compliance ............................................................................... 5 1.2 cdma2000 1x EVDO library Version ................................................................... 5 1.3 Library Applications ............................................................................................. 5 1.4 Why cdma2000? The 3GPP and 3GPP2 Proposals for IMT2000 ........................ 6 1.5 cdma2000 standard ............................................................................................... 6

2.1x EVDO Library ...................................................................................................... 8 3.Forward Traffic/Control Channel Components: ......................................................... 9

3.1 General Blocks ..................................................................................................... 9 3.1.1 EVDO Forward Packet Padder ...................................................................... 9 3.1.2 EVDO Forward Packet Depadder ............................................................... 11 3.1.3 EVDO Frame Check Sequence (FCS) Encoder .......................................... 13 3.1.4 EVDO Frame Check Sequence (FCS) Decoder .......................................... 15

3.2 Channel Coding Blocks ...................................................................................... 17 3.2.1 EVDO Forward Turbo Encoder .................................................................. 17 3.2.2 EVDO Forward Turbo Decoder .................................................................. 18 3.2.3 EVDO Scrambler ........................................................................................ 19 3.2.4 EVDO Descrambler .................................................................................... 21 3.2.5 EVDO Forward Channel Interleaver ........................................................... 24 3.2.6 EVDO Forward Channel Deinterleaver ...................................................... 26

3.3 Modulation and Spreading Blocks ..................................................................... 28 3.3.1 EVDO Symbol Modulator ........................................................................... 28 3.3.2 EVDO Symbol Demodulator ...................................................................... 30 3.3.3 EVDO Sequence Repetition ........................................................................ 31 3.3.4 EVDO Sequence Derepetition ..................................................................... 33 3.3.5 EVDO Forward Walsh Modulator .............................................................. 35 3.3.6 EVDO Forward Walsh Demodulator .......................................................... 37 3.3.7 EVDO Quadrature Spreading Sequence ..................................................... 38

4.Multiplexers: ............................................................................................................. 40 4.1 EVDO Forward Multiplexer .......................................................................... 40 4.2 EVDO Forward Time Division Multiplexer (TDM) ...................................... 41 4.3 EVDO Forward Slot Interlacer ....................................................................... 42

5.Systems: ..................................................................................................................... 43 5.1 EVDO Forward Data Generator ..................................................................... 43 5.2 EVDO Forward Preamble Generator ............................................................. 44 5.3 EVDO Forward MAC Generator ................................................................... 46 5.4 EVDO Forward Pilot Generator ..................................................................... 49

Steepest Ascent Ltd

Page 3: EV-DO Mathworks Manual

1xEV-DO Library 3

1xEV-DO Library:iThis document is the user manual for Version 1.0.1of the 3rd GenerationPartnership Project 2 (3GPP2) cdma2000 1xEV-DO library - 3GPP2:cdma2000 1xEV-DO – for Mathworks Simulink. The aim of the document is todefine, and describe the proper use of the various blocks within the 3GPP2:cdma2000 1xEV-DO design suite.

ii 3GPP2 cdma2000 1xEVDO Library Version NumberThis manual is for the cdma2000 1xEV-DO Library Version 1.0.1. You canestablish the library version number of your installed software by right-mouse-clicking and clicking “properties” on the file:<install path>\cdma2000\EvDo.dllTo use this library you require Windows 2000 (or later) and Matlab R14 (orlater).

iii Distribution and SupportFor pre and post sales support, please contact:

Steepest Ascent LtdLadywell

94 Duke StreetGlasgowG4 0UW

United Kingdom

Tel: +44 (0) 141 552 8855Fax: +44 (0) 141 552 8855

Email: [email protected]: www.steepestascent.com

iv 3GPP2 Standard DocumentationThe functionality of this software library is defined by the standard releasedocuments from the 3rd Generation Partnership Project 2 (3GPP2)Technical Specification Group cdma2000 (TSG-C).

v 3GPP2 Web SiteThe standard documents used for the development and specification of thissimulation library are available from http://www.3gpp2.org

vi Key cdma2000 Standard Document NumbersThe reference documents used for the verification of the 3GPP2: cdma20001xEV-DO library are:

Steepest Ascent Ltd

Page 4: EV-DO Mathworks Manual

1xEV-DO Library 4

DocumentNumber Title Short Description

C.S0024-0v4.0

cdma2000 High Rate Packet Data Air InterfaceSpecification

Latest version of cdma2000 1xEVDO Revision 0 specification.

C.S0024-Av3.0

cdma2000 High Rate Packet Data Air InterfaceSpecification

Latest version of cdma2000 1xEVDO Revision A specification.

C.S0024-Bv2.0

cdma2000 High Rate Packet Data Air InterfaceSpecification

Latest version of cdma2000 1xEVDO Revision B specification.

The cdma2000 1x EV-DO Library is compliant with Revision 0.

vii Comments and Support RequestsPlease contact your local distributor with any comments that you may haveand to obtain technical support.

viii This Document Licence

As the owner of the cdma2000 1xEV-DO library you have ownership of both aprinted and an Acrobat PDF electronic version of this document. Duplicationand/or distribution of either paper or electronic format is prohibited.

The cdma2000 1x EVDO Library is copyright © Steepest Ascent Ltd2005-2007, Entegra Ltd 2003-2005; http://www.steepestascent.com

All asserted IPR Rights are reserved and retained by the owners and materialdevelopers.

Steepest Ascent Ltd

Page 5: EV-DO Mathworks Manual

1xEV-DO Library 5

1. Introduction:This manual specifies the components of the 3GPP2: cdma2000 1xEV-DO(3rd Generation Partnership Project 2- cdma2000 1xEV-DO) design suite.The library provides all the functionality required for complete standard-compliant physical layer transmitter and receiver design, building and testing.The cdma2000 1xEV-DO library offers a suite of blocks that can be integratedwith existing blocks from the simulator offering the opportunity to rapidlyprototype and test custom processing and designs for standard conformance.

1.1 3GPP2 Standard ComplianceThe cdma2000 software library described in this document is standardcompliant to the 3rd Generation Partnership Project 2 (3GPP2) releasedocuments listed in Section vi on page viii of this document. The latestreleases of the standard documents are available at:

http://www.3gpp2.org

1.2 cdma2000 1x EVDO library VersionThis printed manual is for the 3GPP2: cdma2000 1xEV-DO library Version1.0.1.For the latest revision of this library please check the Steepest Ascentwebsite:

http://www.steepestascent.com/downloads

1.3 Library ApplicationsThe cdma2000 1xEV-DO library allows the user to create and configurestandard-compliant models and simulations. This is performed by selecting,connecting together and configuring the functional blocks that are providedwithin the library. The 1xEV-DO library provides powerful, flexible and easy touse simulator blocks to implement the “cdma2000 High Rate Packet Data AirInterface Specification” specified as 3GPP2 document 3GPP2 C.S0024Version 4.0Typically the forward link physical layer implementations for transmit andreceive chains of cdma2000 1xEV-DO Rev.0 can be simulated and analysedwith the 3GPP2: cdma2000 1xEV-DO design suite.

Steepest Ascent Ltd

Page 6: EV-DO Mathworks Manual

1xEV-DO Library 6

Figure 1.3.1: Simulation Groupings for design suite

1.4 Why cdma2000? The 3GPP and 3GPP2 Proposals forIMT2000For the third generation (3G) mobile radio systems, the consumer market isexpected to show an increasing demand for services ranging from low datarate voice communication (as provided by 2G standards such as GSM) tohigh data rates to support multimedia applications with integrated audio andvideo communications. These emerging demands lead to the technicalrequirements for IMT2000 - International Mobile Telephones in the year 2000,which are now being standardised worldwide. Both dedicated circuit andpacket switched services will be available and they will operate inenvironments with the aim of allowing data communication, anyplace,anytime, anywhere.Due to spectrum availability, different parts of the world may be using differentfrequency bands and therefore an absolute fundamental standard is unlikelyto be produced. However, in the different regions of the world (Europe, USA,Korea, Japan) very similar proposals have been put forward, and mostrecently the 3GPPs (3rd Generation Partnership Projects) have had theobjective of converging the various detailed standards. The evolution from 2Gto 3G is being very carefully planned and as far as possible the 2G investmentwill be deployed and retained where appropriate.

1.5 cdma2000 standardcdma2000 is the American third-generation (3G) mobile wireless technologyproposal submitted to the International Telecommunication Union (ITU),based on the second-generation (2G) IS-95, or cdmaOne, standard.cdma2000 can support mobile data communications at speeds ranging from144 Kbps to 2Mbps, and it represents a family of technologies that includescdma2000 1X and cdma2000 1xEV.cdma2000 1X can double the voice capacity of cdmaOne networks anddelivers peak packet data speeds of 307 kbps in mobile environments.cdma2000 1xEV includes both cdma2000 1xEV-DO and cdma2000 1xEV-DV.

Steepest Ascent Ltd

Cdma2000 1x EVDO

Forward Link

Transmit Receive

Page 7: EV-DO Mathworks Manual

1xEV-DO Library 7

cdma2000 1xEV-DO (Evolution – Data Optimized) delivers peak data speedsof 2.4Mbps and supports applications such as MP3 transfers and videotelephony. To date, there have been three versions proposed,

EV-DO Revision 0:This is the original proposed standard by Qualcomm in 1999. It supportsmaximum downlink speeds of 2.4 Mbits/s and uplink speeds up to 153kbps.

EV-DO Revision A:This is the first revision to the EV-DO which introduces significantimprovement in the maximum uplink speed of 1.8Mbits/s and a maximumdownlink speed of 3.1 Mbits/s.

EV-DO Revision B:Revision B is yet another revision which offers a mulicarrier implementation,leading to a maximum downlink rate of 4.9 Mbits/s per carrier resulting in apeak rate of 14.7 Mbits/s for typical three carrier deployments.

cdma2000 1xEV-DV ( Evolution – Data and Voice) provides integrated voiceand simultaneous high-speed packet data multimedia services at speeds ofup to 3.09 Mbps. 1xEV-DO and 1xEV-DV are both backward compatible withcdma2000 1X and cdmaOne.

Steepest Ascent Ltd

Page 8: EV-DO Mathworks Manual

1xEV-DO Library 8

2. 1x EVDO Library

The cdma2000 1x EV-DO Library blocks can be arranged into the followingthree sections:

1. Forward Traffic/Control Channel ComponentsGeneral Blocks:

EvDo Forward Packet PadderEvDo Forward Packet DepadderEvDo Frame Check Sequence (FCS) EncoderEvDo Frame Check Sequence (FCS) Decoder

Channel Coding Blocks:EvDo Forward Turbo EncoderEvDo Forward Turbo DecoderEvDo ScramblerEvDo DescramblerEvDo Forward Channel InterleaverEvDo Forward Channel Deinterleaver

Modulation and Spreading Blocks:EvDo Symbol ModulatorEvDo Symbol DemodulatorEvDo Sequence RepetitionEvDo Sequence DerepetitionEvDo Forward Walsh ModulatorEvDo Forward Walsh DemodulatorEvDo Quadrature Spreading Sequence

2. MultiplexersEvDo Forward MUXEvDo Forward TDMEvDo Forward Slot Interlacer

3. Systems.EvDo Forward Data GeneratorEvDo Forward Preamble GeneratorEvDo Forward MAC GeneratorEvDo Forward Pilot Generator

Steepest Ascent Ltd

Page 9: EV-DO Mathworks Manual

1xEV-DO Library 9

3. Forward Traffic/Control Channel Components:The cdma2000 1xEV-DO forward traffic/control channel can be implementedby the library blocks in this section. For simplicity, the library blocks aredivided into three subsections, namely General Blocks, Channel CodingBlocks and Modulation and Spreading Blocks.

3.1 General BlocksThese are the blocks which do the zero padding and frame check sequence(FCS) bits appending in the forward link transmit direction and the zerodepadding and FCS removal in the forward link receive direction.

3.1.1 EVDO Forward Packet PadderAdds the padding zeros if required to make the physical layer packet of validsize.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1002, 2004, 3006 or

4008 bit packetPhysical Layer MAC packet(s). OnePhysical Layer packet may contain 1, 2, 3or 4 MAC Layer packets.

Block ParametersNone - -

Block Output out 1002, 2026, 3050 or

4074 bit packetsZero Padded data packet. The outputpacket has been padded with 0, 1, 2 or 322-bit padding zeros.

Matlab function: The function EvDoFwdPacketPadder () takes the MAC physical layer packetas the input and outputs after zero padding, if required. This is called by theSimulink block.

Syntax:

out = EvDoFwdPacketPadder (in)

Steepest Ascent Ltd

Page 10: EV-DO Mathworks Manual

1xEV-DO Library 10

Attribute: Range of values: Comments:Function Input in 1002, 2004, 3006

or 4008 bit packet.Physical Layer MAC packet(s).OnePhysical Layer packet may contain 1, 2, 3or 4 MAC Layer packets.

Function Output out 1002, 2026, 3050

or 4074 bit packets.Zero Padded data packet The outputpacket has been padded with 0, 1, 2 or 322-bit padding zeros.

Description:

Physical Layer Packet1024 bits

MAC LayerPacket

1002 bits

FCS16bits

TAIL6

Bits

Physical Layer Packet2048 bits

MAC LayerPacket

1002 Bits

PAD22Bits

MAC LayerPacket

1002 Bits

FCS16

Bits

TAIL6

Bits

Physical Layer Packet3072 bits

MAC LayerPacket

1002 Bits

PAD22Bits

MAC LayerPacket

1002 Bits

PAD22Bits

MAC LayerPacket

1002 Bits

FCS16

Bits

TAIL6

Bits

Physical Layer Packet4096 bits

MAC LayerPacket

1002 bits

PAD22

Bits

MAC LayerPacket

1002 Bits

PAD22

Bits

MAC LayerPacket

1002 Bits

PAD22

Bits

MAC LayerPacket

1002 Bits

FCS16

Bits

TAIL6

Bits

The length of the traffic channel physical layer packets can be 1024, 2048,3072 or 4096 bits, containing 1,2,3 or 4 MAC layer packets of size 1002 bits.For packet sizes of 2048, 3072 and 4096, zeros has to be padded to makethe packet of valid size. This is done by the packet padder.

For example if the physical layer packet size is 3072, the packet padder getsthe input packet of size 3006 (three MAC layer packets). The packet padderthen pads the zeros in the appropriate places to make the packet size 3050,i.e. the physical layer packet size minus the frame check sequence and thetail bits.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification” Section 9.1.2.1 Control Channel Physical Layer Packet Format,Section 9.1.2.3 Forward Traffic Channel Physical Layer Packet Format.

Steepest Ascent Ltd

Page 11: EV-DO Mathworks Manual

1xEV-DO Library 11

3.1.2 EVDO Forward Packet DepadderThe 1xEV-DO Forward Packet Depadder removes the zeros added by thepacket padder block to recover the MAC physical layer packet of size 1002,2004, 3006 or 4008 from input packets of sizes 1002, 2026, 3050 or 4074respectively.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1002, 2026, 3050 or

4074 bit packetThe physical layer packet without theFCS and TAIL bits.

Block ParametersNone - -

Block Output out 1002, 2004, 3006 or

4008 bit packet.Physical Layer MAC packet(s). Datapacket with zero padding bits removed.

Matlab function: The function EvDoFwdPacketDepadder () takes the zero padded packets asthe input and outputs the packets after removing the zero padding, if any.

Syntax:

out = EvDoFwdPacketDepadder (in)

Attribute: Range of values: Comments:Function Input in 1002, 2026, 3050

or 4074 bit packet.The physical layer packet without the FCSand TAIL bits.

Function Output out 1002, 2004, 3006

or 4008 bit packet.Data packet with zero padding bitsremoved.

Description:

The function of the Packet Depadder block is exactly the opposite of thepacket padder. It takes in a zero padded packet and output the packet afterremoving the padded zeros. In the case of a physical layer packet of size

Steepest Ascent Ltd

Page 12: EV-DO Mathworks Manual

1xEV-DO Library 12

1024, there is no zero padding. Hence the output packet is the same as theinput packet. For example for a physical layer packet of size 3072 bits, the packet depadderinput will be of size 3050 ( 3072-(16 bit FCS+6 bit TAIL) ), containing threeMAC layer packets and two 22 bit pads. The Packet Depadder removes thepads and outputs the packet of size 3006 i.e. three MAC physical layerpackets.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification” Section 9.1.2.1 Control Channel Physical Layer Packet Format,Section 9.1.2.3 Forward Traffic Channel Physical Layer Packet Format.

Steepest Ascent Ltd

Page 13: EV-DO Mathworks Manual

1xEV-DO Library 13

3.1.3 EVDO Frame Check Sequence (FCS) EncoderThe frame check sequence encoder appends the 16-bit FCS to the end of theinput packet.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1002, 2026, 3050 or

4074 bit packetThe physical layer packet without theFCS and TAIL bits.

Block ParametersNone - -

Block Output out 1018, 2042, 3066 or

4090 bit packet.Data packet with the 16 bit FCS added.

Matlab function:The function EvDoFCSEncoder() takes in the zero padded packets from thepacket padder and adds the 16-bit FCS field, and outputs the modified packet.

Syntax:

out = EvDoFCSEncoder(in)

Attribute: Range of values: Comments:Function Input in 1002, 2026, 3050

or 4074 bit packet.The physical layer packet without the FCSand TAIL bits.

Function Output out 1018, 2042, 3066

or 4090 bit packet.Data packet with the 16 bit FCS added.

Description:

The Frame Check Sequence Encoder Token adds the FCS bits to the zeropadded packets. The FCS is a CRC calculated using the standard CRC-CCITT generator polynomial:

Steepest Ascent Ltd

Page 14: EV-DO Mathworks Manual

1xEV-DO Library 14

g(x) = x16 + x12 + x5 + 1.

For example if the input packet is of size 1002, the FCS encoder calculatesthe FCS bits and appends that to the end of the input data packet, thusoutputting a packet of size 1018.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification” Section: 9.1.4 Computation of the FCS Bits.

Steepest Ascent Ltd

Page 15: EV-DO Mathworks Manual

1xEV-DO Library 15

3.1.4 EVDO Frame Check Sequence (FCS) DecoderThe FCS decoder removes the 16 bit FCS field from the input data packet. Italso verifies the FCS bits in the input packet and outputs the status“PASS/FAIL”.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1018, 2042, 3066 or

4090 bit packet.Data packet with the 16 bit FCS.

Block ParametersNone - -

Block OutputData 1002, 2026, 3050 or

4074 bit packet.Data packet with the 16 bit FCS removed.

Pass/Fail 0 or 1 Displays the PASS/FAIL status. PASS=0,FAIL=1

Matlab function: The function EvDoFCSDecoder () takes in the data packet with the FCS bitsand removes the 16-bit FCS field from the packet. It also verifies the FCS bits.If the recomputed FCS bits do not match the FCS bits in the input datapacket, it outputs a FAIL = 1.

Syntax:

[Data, Pass/Fail] = EvDoFCSDecoder(in)

Attribute: Range of values: Comments:Function Input in 1018, 2042, 3066

or 4090 bit packet.Data packet with the 16 bit FCS.

Function Output Data 1002, 2026, 3050

or 4074 bit packet.The physical layer packet without the FCSbits.

Pass/Fail 0 or 1 Displays the PASS/FAIL status. PASS=0,FAIL=1

Steepest Ascent Ltd

Page 16: EV-DO Mathworks Manual

1xEV-DO Library 16

Description:

The Frame Check Sequence Decoder Block removes the FCS bits from theinput data packet. The token passes the input data packet to the Matlabfunction which does the FCS removal. The FCS decoder also computes theFCS bits from the input data packet and compares it with the FCS portion ofthe input packet. If it does not match, the block outputs the FAIL = 1 as thestatus output. If it matches the FCS bits in the input data packet, it outputs thePASS = 0 status message.

For e.g. if the input to the block is a packet is of size 1018, the FCS decoderremoves the FCS bits outputs a packet of size 1002.

Steepest Ascent Ltd

Page 17: EV-DO Mathworks Manual

1xEV-DO Library 17

3.2 Channel Coding BlocksThe channel coding blocks include the turbo encoder, the scrambler and thechannel interleaver in the transmit direction and the turbo decoder,descrambler and channel deinterleaver in the receive direction.

3.2.1 EVDO Forward Turbo EncoderThis block does the turbo encoding of the forward traffic/control channel.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1018, 2042, 3066

or 4090 bit packet.Data packet with the 16 bit FCS.

Block ParametersCode Rate 3 or 5 The EV DO Rev.0 supports turbo coding

rates of 3 and 5.

Block Output out 3072, 5120, 6144,

9216 or 12288 bitpacket

The turbo encoded data packet containsphysical layer packet size * code ratebits.

Matlab Function:This is the function called by the Simulink block which does the turboencoding.

Syntax:

out = EvDoTurboEncoder (in, Code Rate)

Attribute: Range of values: Comments:Function Inputs in 1018, 2042, 3066 or

4090 bit packet.Data packet with the 16 bit FCS.

Code Rate 3 or 5 The EV DO Rev.0 supports turbocoding rates of 3 and 5.

Function Output out 3072, 5120, 6144,

9216 or 12288 bitpacket

The turbo encoded data packetcontains physical layer packet size *code rate bits.

Description:

Steepest Ascent Ltd

Page 18: EV-DO Mathworks Manual

1xEV-DO Library 18

The Traffic Channel physical layer packets are encoded with code rates of 1/3or 1/5. The turbo encoder will add an internally generated tail of 6/R outputcode symbols, so that the total number of output symbols is 1/R times thenumber of bits in the input physical layer packet.

The Turbo encoder employs two systematic, recursive, convolutionalencoders connected in parallel, with an interleaver, the turbo interleaver,preceding the second recursive convolutional encoder. The two recursiveconvolutional codes are called the constituent codes of the turbo code. The outputs of the constituent encoders are punctured and repeated toachieve the desired number of turbo encoder output symbols.The transfer function of the constituent code is

G(D) = [ 1 n0(D)/d(D) n1(D)/d(D) ]

where d(D) = 1+ D2 + D3, n0(D) = 1+ D+D3, n1(D) = 1+D+D2+D3

The turbo interleaver, which is part of the turbo encoder, shall block interleavethe turbo encoder input data that is fed to Constituent Encoder 2.

E.g. if the input to the turbo encoder is a packet of size 1018 and if thecoderate is set to 5, then the turbo encoder output packet size will be 5120which is 1018*5 + 6*5, where the 6 TAIL bits are internally generated by theturbo encoder.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification” Section: 9.3.1.3.2.3.2 Encoding.

3.2.2 EVDO Forward Turbo DecoderThis block does the turbo decoding of the forward traffic/control channel.

Steepest Ascent Ltd

Page 19: EV-DO Mathworks Manual

1xEV-DO Library 19

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 3072, 5120, 6144, 9216 or

12288 bit packetThe turbo encoded datapacket.

Block ParametersCode Rate 3 or 5 The EVDO Rev.0 supports

turbo coding rates of 3 and 5.

Block Output out 1018, 2042, 3066 or 4090 bit

packetThe turbo decoded datapacket.

Matlab function: The Simulink block calls this function which does the turbo decoding.

Syntax:

out = EvDoTurboDecoder(in, Code Rate)

Attribute: Range of values: Comments:Function Inputs in 3072, 5120, 6144, 9216 or 12288

bit packetThe turbo encoded datapacket.

CodeRate

3 or 5 The EV DO Rev.0 supportsturbo coding rates of 3 and 5.

Function Output out 1018, 2042, 3066 or 4090 bit

packetThe turbo decoded datapacket.

Description:

The EvDo Forward Turbo Decoder does the turbo decoding of the data block.It calls the Matlab function EvDoTurboDecoder () which return the turbodecoded outputs.

E.g. if the input data packet is of size 3072, and the coderate is 3, then theturbo decoder block decoded and outputs a data packet of size 1018.

3.2.3 EVDO ScramblerThis block does the scrambling of the turbo encoded packet.

Steepest Ascent Ltd

Page 20: EV-DO Mathworks Manual

1xEV-DO Library 20

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 3072, 5120, 6144, 9216 or

12288 bit packetTurbo encoded packet.

Block ParametersData Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Number ofSlots

1, 2, 4, 8 or 16 The number of slotsdepends on the data rate.

MAC Index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Block Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe scrambled data packet.

Matlab Function: This is the function which generates the scrambling bits and does the XOR’ingwith the turbo encoder output symbols. Here ‘in’ are the turbo encoder outputsymbols.

Syntax:

out = EvDoScrambler (in, Data Rate, Slots, MAC Index)

Attribute: Range of values: Comments:Function Inputsin 3072, 5120, 6144, 9216 or

12288 bit packetTurbo encoded packet.

Data Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Slots 1, 2, 4, 8 or 16 The number of slotsdepends on the data rate.

MAC Index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Function Output out 3072, 5120, 6144, 9216 or The scrambled data packet.

Steepest Ascent Ltd

Page 21: EV-DO Mathworks Manual

1xEV-DO Library 21

12288 bit packet

Description:

The output from the turbo encoder is scrambled by the scrambler torandomize the data prior to modulation. The scrambling sequence is equal tothat generated by a 17 tap linear finite shift register with the generatorpolynomial h (D) = D17 + D14 +1. At the start of the physical layer packet, theregister will be initialised to [1111111r5r4r3r2r1r0d3d2d1d0] wherer5r4r3r2r1r0 is the 6-bit preamble MAC Index value and d3d2d1d0 is the fourbits determined by the data rate. The initial state generates the firstscrambling bit. The shift register is clocked every encoder output code symbolto generate a bit of the scrambling sequence. Each encoder output codesymbol is XOR’d with the corresponding scrambling sequence bit to create ascrambled encoded bit.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification” Section: 9.3.1.3.2.3.3 Scrambling.

3.2.4 EVDO DescramblerThis block descrambles the input to recover the turbo coded packet.

Steepest Ascent Ltd

Page 22: EV-DO Mathworks Manual

1xEV-DO Library 22

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 3072, 5120, 6144, 9216 or

12288 bit packetScrambled Turbo encodedpacket.

Block ParametersData Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Number ofSlots

1, 2, 4, 8 or 16 The number of slots dependson the data rate.

MAC Index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Block Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe descrambled datapacket.

Matlab Function: This is the function called by the EvDo Descrambler block to do thedescrambling operation.

Syntax:

out = EvDoDescrambler (in, Data Rate, Slots, MAC Index)

Attribute: Range of values: Comments:Function Inputsin 3072, 5120, 6144, 9216 or

12288 bit packetScrambled Turbo encodedpacket.

Data Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Slots 1, 2, 4, 8 or 16 The number of slotsdepends on the data rate.

MAC Index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Block Output out 3072, 5120, 6144, 9216 or The descrambled data

Steepest Ascent Ltd

Page 23: EV-DO Mathworks Manual

1xEV-DO Library 23

12288 bit packet packet.

Description:

This block does the descrambling of the input scrambled data block. It callsthe Matlab function which returns the descrambled data.

Steepest Ascent Ltd

Page 24: EV-DO Mathworks Manual

1xEV-DO Library 24

3.2.5 EVDO Forward Channel InterleaverThis block does the channel interleaving operation of the forwardtraffic/control channel.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 3072, 5120, 6144, 9216 or

12288 bit packetScrambled Turbo encodedpacket.

Block ParametersBlock Size 1024, 2048, 3072 or 4096 The EV DO Rev.0 supports

these physical layer packetsizes.

Code Rate 3 or 5 The EV DO Rev.0 supportscode rates of 3 and 5.

Block Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe channel interleaveddata packet.

Matlab Function: The Simulink block calls this function which does the channel interleaving andreturns the interleaved data packet.

Syntax:

out = EvDoFwdInterleaver(in, block size, code rate)

Attribute: Range of values: Comments:Function Inputsin 3072, 5120, 6144, 9216 or

12288 bit packetScrambled Turbo encodedpacket.

block size 1024, 2048, 3072 or 4096 The EV DO Rev.0 supportsthese physical layer packetsizes.

code rate 3 or 5 The EV DO Rev.0 supportscode rates of 3 and 5.

Function Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe channel interleaveddata packet.

Steepest Ascent Ltd

Page 25: EV-DO Mathworks Manual

1xEV-DO Library 25

Description:

This block does the channel interleaving operation. The input to this block isthe scrambled turbo encoder data and tail output symbols. The channelinterleaving process consists of s symbol reordering followed by a symbolpermutting.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section: 9.3.1.3.2.3.4 Channel Interleaving.

Steepest Ascent Ltd

Page 26: EV-DO Mathworks Manual

1xEV-DO Library 26

3.2.6 EVDO Forward Channel DeinterleaverThis block does the channel deinterleaving of the forward traffic/controlchannel in the receive direction.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 3072, 5120, 6144, 9216 or

12288 bit packetThe channel interleaveddata packet.

Block ParametersBlock Size 1024, 2048, 3072 or 4096 The EV DO Rev.0 supports

these physical layer packetsizes.

Code Rate 3 or 5 The EV DO Rev.0 supportscode rates of 3 and 5.

Block Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe channel deinterleaveddata packet.

Matlab Function:The Simulink block calls this function to do the channel deinterleaving.

Syntax:

out = EvDoFwdDeinterleaver (in, block size, code rate)

Attribute: Range of values: Comments:Function Inputsin 3072, 5120, 6144, 9216 or

12288 bit packetThe channel interleaveddata packet.

block size 1024, 2048, 3072 or 4096 The EV DO Rev.0 supportsthese physical layer packetsizes.

code rate 3 or 5 The EV DO Rev.0 supportscode rates of 3 and 5.

Function Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe channel deinterleaveddata packet.

Steepest Ascent Ltd

Page 27: EV-DO Mathworks Manual

1xEV-DO Library 27

Description:

This block does the channel deinterleaving operation. It calls the Matlabfunction EvDoFwdDeinterleaver () for this purpose. The input to this block isthe interleaved data packet.

Steepest Ascent Ltd

Page 28: EV-DO Mathworks Manual

1xEV-DO Library 28

3.3 Modulation and Spreading BlocksThese are the blocks which are responsible for implementing the symbolmodulation, sequence repetition and/or puncturing, and Walsh modulation.The Walsh modulation stage consists of the following operations:demultiplexing into 16 Walsh channels and Walsh covering the individualchannels, scaling each of the 16 orthogonal channels by a gain of 1/sqrt (16)= ¼ to maintain a constant transmit power independent of the data rate andthe chip level summing to get one I and Q stream at the output..

3.3.1 EVDO Symbol ModulatorThis block does the symbol modulation of the scrambled turbo encoded bits.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 3072, 5120, 6144, 9216 or

12288 bit packetThe channel interleaveddata packet.

Block ParametersModulationType(Bits/Symbol)

2, 3 or 4 2 Bits/Symbol for QPSK, 3Bits/Symbol for 8PSK and 4Bits/Symbol for 16QAM

Block Output out 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or16QAM modulated datapacket.

Matlab function: This is the function that the Simulink block calls for the generation of themodulated symbols.

Syntax:

out = EvDoSymbolModulator(in, modulation)

Steepest Ascent Ltd

Page 29: EV-DO Mathworks Manual

1xEV-DO Library 29

Attribute: Range of values: Comments:Function Inputsin 3072, 5120, 6144, 9216 or

12288 bit packetThe channel interleaveddata packet.

modulation 2, 3 or 4 2 Bits/Symbol for QPSK, 3Bits/Symbol for 8PSK and 4Bits/Symbol for 16QAM

Function Output out 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or16QAM modulated datapacket.

Description:

The output from the channel interleaving stage is fed into the EvDo SymbolModulator which outputs an in-phase stream and a quadrature stream ofmodulated values. Depending on the data rate, the modulator generatesQPSK, 8-PSK or 16QAM modulation symbols.

For physical layer packet sizes of 1,024 or 2,048 bits, groups of twosuccessive channel interleaver output symbols shall be grouped to formQPSK modulation symbols.For physical layer packet sizes of 3,072 bits, groups of three successivechannel interleaver output symbols shall be grouped to form 8-PSKmodulation symbols.For physical layer packet sizes of 4,096 bits, groups of four successivechannel interleaver output symbols shall be grouped to form 16-QAMmodulation symbols.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification” Section 9.3.1.3.2.3.5 Modulation.

Steepest Ascent Ltd

Page 30: EV-DO Mathworks Manual

1xEV-DO Library 30

3.3.2 EVDO Symbol DemodulatorThe symbol demodulator does the demodulation of the forward traffic/controlchannel in the receive direction.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or 16QAMmodulated data packet.

Block ParametersModulationType(Bits/Symbol)

2, 3 or 4 2 Bits/Symbol for QPSK, 3Bits/Symbol for 8PSK and 4Bits/Symbol for 16QAM

Block Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe channel Interleaved datapacket.

Matlab function: This is the function called by the Simulink block which does the symboldemodulation operation. It returns the demodulated bits.

Syntax:

out = EvDoSymbolDemodulator(in, modulation)

Attribute: Range of values: Comments:Function Inputsin 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or 16QAMmodulated data packet.

modulation 2, 3 or 4 2 Bits/Symbol for QPSK, 3Bits/Symbol for 8PSK and 4Bits/Symbol for 16QAM

Function Output out 3072, 5120, 6144, 9216 or

12288 bit packetThe channel Interleaved datapacket.

Description:

This block does the forward traffic channel symbol demodulation process.This takes in the modulated symbols at the input and outputs thedemodulated symbols. It calls the Matlab function EvDoSymbolDemodulator()for this purpose.

Steepest Ascent Ltd

Page 31: EV-DO Mathworks Manual

1xEV-DO Library 31

3.3.3 EVDO Sequence RepetitionThis block implements the sequence repetition to generate the requirednumber of modulation symbols per physical layer packet for the allocated slot.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or16QAM modulated datapacket.

Block ParametersData Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Slots 1, 2, 4, 8 or 16 EVDO Rev.0 supportsnumber of slots.

Block Output out 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The required number ofmodulation symbols perphysical layer packet for theallocated slot byrepeating/puncturing.

Matlab function: This is the function being called by the Simulink block for doing the sequencerepetition and/or puncturing.

Syntax:

out = EvDoSequenceRepetition(in, data rate, slots)

Steepest Ascent Ltd

Page 32: EV-DO Mathworks Manual

1xEV-DO Library 32

Attribute: Range of values: Comments:Function Inputin 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or16QAM modulated datapacket.

data rate 38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

slots 1, 2, 4, 8 or 16 EVDO Rev.0 supportsnumber of slots.

Function Output out 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The required number ofmodulation symbols perphysical layer packet for theallocated slot byrepeating/puncturing.

Description:

The EvDo Sequence Repetition block generates the required number ofmodulation symbols per physical layer packet for the allocated slot. If thenumber of required modulation symbols is more than the number provided,the complete sequence of input modulation symbols are repeated as manyfull-sequence times as possible followed by a partial transmission ifnecessary. If a partial transmission is needed, the first portion of the inputmodulation symbol sequence is used. If the number of required modulationsymbols is less than the number provided, only the first portion of the inputmodulation symbol sequence is used.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section 9.3.1.3.2.3.6 Sequence Repetition and SymbolPuncturing.

Steepest Ascent Ltd

Page 33: EV-DO Mathworks Manual

1xEV-DO Library 33

3.3.4 EVDO Sequence DerepetitionThis block implements the sequence derepetition of the forward traffic/controlchannel in the receive direction.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The required number ofmodulation symbols perphysical layer packet for theallocated slot byrepeating/puncturing.

Block ParametersData Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Slots 1, 2, 4, 8 or 16 EVDO Rev.0 supportsnumber of slots.

Block Output out 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or16QAM modulated datapacket.

Matlab function: This is the function being called by the Simulink block for doing the sequencederepetition and/or depuncturing.

Syntax:

out = EvDoSequenceDerepetition(in, data rate, slots)

Steepest Ascent Ltd

Page 34: EV-DO Mathworks Manual

1xEV-DO Library 34

Attribute: Range of values: Comments:Function Inputsin 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The sequencerepeated/punctured packet

data rate 38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates (in bps).

slots 1, 2, 4, 8 or 16 EVDO Rev.0 supportsnumber of slots.

Function Output out 1536, 2560 or 3072 symbol

packetThe QPSK, 8PSK or16QAM modulated datapacket.

Description:

The EvDo Sequence Derepetition block does the reverse operation of theSequence Repetition block, generating the modulated symbols. It calls theMatlab function EvDoSequenceDerepetition () for this purpose.

Steepest Ascent Ltd

Page 35: EV-DO Mathworks Manual

1xEV-DO Library 35

3.3.5 EVDO Forward Walsh ModulatorThis block does the symbol demultiplexing into 16 channels, applying theWalsh covers, adjusting the gain and summing the 16 channels at chip levelto output one I-Q stream.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The required number ofmodulation symbols perphysical layer packet for theallocated slot byrepeating/puncturing.

Block ParametersNone - -

Block Output out 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The Walsh modulatedsymbol packet.

Matlab function: The Simulink block calls this function which does the Walsh modulation.

Syntax:

out = EvDoWalshModulator(in)

Attribute: Range of values: Comments:Function Inputin 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The required number ofmodulation symbols perphysical layer packet for theallocated slot byrepeating/puncturing.

Function Output out 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The Walsh modulatedsymbol packet.

Steepest Ascent Ltd

Page 36: EV-DO Mathworks Manual

1xEV-DO Library 36

Description:

The EvDo Walsh Modulator token does the Symbol Demultiplexing, WalshChannel Assignment, Walsh Channel Scaling and Walsh Chip level summer.Symbol Demultiplexing:The in-phase stream at the output of the sequence repetition operation isdemultiplexed into 16 parallel streams I0, I1, I2… I15. For example if mI(0),mI(1), mI(2), mI(3),… denotes the sequence of sequence-repeatedmodulation output values in the in phase stream, then for each k = 0, 1, 2,…,15, the kth demultiplexed stream Ik consist of the values mI(k), mI(16 + k),mI(32 + k), mI(48 + k),…. Similarly, the quadrature stream at the output of thesequence repetition operation is demultiplexed into 16 parallel streams Q0,Q1, Q2… Q15. Hence if mQ(0), mQ(1), mQ(2), mQ(3),…denotes thesequence of sequence-repeated modulation output values in the quadraturestream, then for each k = 0, 1, 2,…,15, the kth demultiplexed stream Qkconsist of the values mQ(k), mQ(16 + k), mQ(32 + k), mQ(48 + k),…. Eachdemultiplexed stream at the output of the symbol demultiplexer consists ofmodulation values at the rate of 76.8 ksps.

Walsh Channel Assignment:The individual streams generated by the symbol demultiplexer are assigned toone of the 16 distinct Walsh channels. For each k = 0, 1, 2… 15, thedemultiplexed streams Ik and Qk are assigned to the in-phase and quadraturephases, respectively, of the kth Walsh channel Wk16. The modulation valuesassociated with the in-phase and quadrature phase components of the sameWalsh channel are referred to as Walsh symbols.

Walsh Channel Scaling:The modulated symbols on each branch on each Walsh channel are scaled tomaintain a constant total transmit power independent of the data rate. Each ofthe 16 orthogonal channels are scaled by a gain of 1/sqrt (16) = 1/4.

Walsh Chip Level Summer:At the end of the walsh coding chain, the scaled Walsh chips associated withthe 16 Walsh channels are summed up on a chip-by-chip basis to get the finalI and Q streams at the output of the Walsh Encoding token.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section 9.3.1.3.2.3.7 Symbol Demultiplexing, Section9.3.1.3.2.3.8 Walsh Channel Assignment,Section 9.3.1.3.2.3.9 WalshChannel Scaling, Section 9.3.1.3.2.3.10 Walsh Chip Level Summing.

Steepest Ascent Ltd

Page 37: EV-DO Mathworks Manual

1xEV-DO Library 37

3.3.6 EVDO Forward Walsh DemodulatorThis block does the Walsh demodulation of the forward traffic/control channelin the receive direction.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The Walsh modulatedsymbol packet.

Block ParametersNone - -

Block Output out 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The Walsh demodulatedsymbol packet.

Matlab function: The Simulink block calls this function which does the Walsh demodulation.

Syntax:

out = EvDoWalshDemodulator (in)

Attribute: Range of values: Comments:Function Inputin 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The Walsh modulatedsymbol packet.

Function Output out 24576, 12288, 6144, 3072,

1536, 6272 or 3136 symbolpacket

The Walsh demodulatedsymbol packet.

Description:

The Walsh demodulator block does the reverse process of Walsh modulator.It receives the Walsh coded symbols and the Walsh decoder decodes andoutputs the repeated/punctured symbols.

Steepest Ascent Ltd

Page 38: EV-DO Mathworks Manual

1xEV-DO Library 38

3.3.7 EVDO Quadrature Spreading SequenceThis block generates the spreading sequence for the quadrature spreadingoperation.

Simulink Block:

Attribute: Range of values: Comments:Block InputNone - -

Block ParametersPN Offset 0 to 511 Pilot PN Offset. The access network

sets this field to the pilot PN 10sequence offset for this sector inunits of 64 PN Chips.

Block Output out 32768 PN chips The Quadrature Spreading

Sequence.

Matlab function: This is the function that the Simulink block calls for generating the quadraturespreading sequence.

Syntax:

out = EvDoQuadratureSpreadingSequenceGenerator(PN Offset)

Attribute: Range of values: Comments:Function InputPN Offset 0 to 511 Pilot PN Offset. The access network

sets this field to the pilot PN 10sequence offset for this sector inunits of 64 PN Chips.

Function Output out 32768 PN chips The Quadrature Spreading

Sequence.

Steepest Ascent Ltd

Page 39: EV-DO Mathworks Manual

1xEV-DO Library 39

Description:

The Time division Multiplexed Traffic, Preamble, MAC and Pilot Channelsymbols have to be quadrature spread with a spreading sequence of length215 (i.e. 32768 PN chips in length). This sequence is called the pilot PNsequence and is based on the following charecteristic polynomials.

PI(x) = x15 + x10 + x8 + x7 + x6 + x2 + 1 (for the in-phase (I) sequence) PQ(x) = x15 + x12 + x11 + x10 + x9 + x5 + x4 + x3 + 1 (for the quadrature-phase(Q) sequence).

The chip rate for the pilot PN sequence is 1.2288Mcps. The pilot PNsequence period is 32768/1228800 = 26.6666..ms.The output of the quadrature sequence generator has to be multiplied with theTDM symbols to achieve the quadrature spreading.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section 9.3.1.3.4 Quadrature Spreading

Steepest Ascent Ltd

Page 40: EV-DO Mathworks Manual

1xEV-DO Library 40

4. Multiplexers:The blocks in this library are for implementing the TDM and slot interlacing ofthe forward channel.

4.1 EVDO Forward MultiplexerThe EVDO Forward Multiplexer takes the Data/Preamble and MAC streamsand passes these to the EvDo Forward TDM for multiplexing along with aninternally generated pilot.

Simulink Block:

Attribute: Range ofvalues:

Comments:

Block InputData/Preamble - This is the multiplexed preamble and data

chipsMAC The MAC channel chips

Block ParametersNone - -

Block Output out - Multiplexes the Data/Preamble chips, MAC

channel chips and pilot chips (internallygenerated) to generate slots.

Description:

The EvDo Forward Mux generates the Time Division Multiplexed output. Ittakes the Data/Preamble and MAC streams and passes these to the EvDoForward TDM for multiplexing along with an internally generated pilot. Forevery 1600 chips of the Preamble/Data, the EvDo Forward Mux passes 256chips of the MAC and 192 chips of pilot.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section 9.3.1.3.3 Time-Division Multiplexing.

Steepest Ascent Ltd

Page 41: EV-DO Mathworks Manual

1xEV-DO Library 41

4.2 EVDO Forward Time Division Multiplexer (TDM)This is the block which does the time division multiplexing of thedata/preamble chips, MAC chips and the pilot chips to form a slot.

Simulink Block:

Attribute: Range ofvalues:

Comments:

Block InputData/Preamble - This is the multiplexed preamble and data

chipsMAC - The MAC channel chipsPilot - The Pilot channel chips

Block ParametersNone - -

Block Output out - Multiplexes the Data/Preamble chips, MAC

channel chips and pilot chips to generateslots.

Description:

This block does the time division multiplexing of the input Data/Preambleblock, the MAC block and the Pilot block. Every output slot is 2048 chips longconsisting of 1600 chips of the preamble/data portion, 192 chips of the pilotand 256 chips of the MAC.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section 9.3.1.3.3 Time-Division Multiplexing.

Steepest Ascent Ltd

Page 42: EV-DO Mathworks Manual

1xEV-DO Library 42

4.3 EVDO Forward Slot InterlacerThe forward slot interlacer implements the forward link. It has four inputs forthe data packets and one input for the MAC chips. It generates the outputslots with 4-slot interlacing as specified in the standard.

Simulink Block:

Attribute: Range ofvalues:

Comments:

Block InputPacket 1 - Physical Layer packet 1Packet 2 - Physical Layer packet 2Packet 3 - Physical Layer packet 3Packet 4 - Physical Layer packet 4MAC - MAC channel chips

Block ParametersNone - -

Block Output out - Slot Interlaced output.

Description:

The Forward Traffic Channel/Control Channel physical layer packets can betransmitted in 1 to 16 slots. When more than one slot required for a packet,the transmit slots shall use a 4-slot interlacing. That is, the transmit slots of aphysical layer packet shall be separated by three intervening slots, and slotsof other physical layer packets shall be transmitted in the slots between thosetransmit slots. If a positive acknowledgement is received on the reverse linkACK Channel before all of the allocated slots have been transmitted, theremaining untransmitted slots shall not be transmitted and the next allocatedslot may be used for the first slot of the next physical layer packettransmission. The EvDo Forward Slot Interlacer token takes the individualdata packets and the MAC as the inputs and generates the interlaced slotoutput.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section: 9.3.1.3.1 Forward Channel Structure.

Steepest Ascent Ltd

Page 43: EV-DO Mathworks Manual

1xEV-DO Library 43

5. Systems:These are single block systems which generate the data, preamble, pilot andMAC chips depending on the data rate, slots, etc.

5.1 EVDO Forward Data GeneratorThis generates the multiplexed data/preamble chips for the specified datarate, number of slots and MAC Index.

Simulink Block:

Attribute: Range of values: Comments:Block Inputin 1002, 2004, 3006 or 4008 bit

packetsThe MAC physical layerpacket(s)

Block ParametersData Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Number ofSlots

1, 2, 4, 8 or 16 The number of slotsdepends on the data rate.

MAC Index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Block Output out Multiplexed preamble and

data chips.

Description:

The EvDo Forward Data Generator token takes the Medium Access Controlphysical layer packets as its input and outputs the multiplexed preamble anddata. It has an internal preamble generator for this purpose. The output of thistoken is fed into the input of the EvDo Forward MUX along with the MACchips to generate the required slots. A slot consists of 1600 chips of data/preamble which is divided into blocks of400, 800 and 400 chips. The input to the block is the MAC physical layer packet of size 1002, 2004,3006 or 4008 bits. The data generator does all the channel coding spreading

Steepest Ascent Ltd

Page 44: EV-DO Mathworks Manual

1xEV-DO Library 44

and modulation stages and generates the wash modulated data symbols. It isthen multiplexed with the preamble generator output.The preamble generator outputs the required number of preamble chipsdepending on the data rate, number of slots and the MAC index value.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Sections: 9.3.1.3.1 Forward Channel Structure, 9.3.1.3.2.3.1Forward Traffic Channel Preamble

5.2 EVDO Forward Preamble GeneratorThis block generates the preamble chips depending on the datarate, numberof slots and the MAC Index.

Simulink Block:

Steepest Ascent Ltd

Page 45: EV-DO Mathworks Manual

1xEV-DO Library 45

Attribute: Range of values: Comments:Block InputNone - -

Block ParametersData Rate(bps)

38400, 76800, 153600,307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Number ofSlots

1, 2, 4, 8 or 16 The number of slotsdepends on the data rate.

MAC Index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Block Output out The preamble chips.

Matlab function:This is the function that is called by the Simulink block to generate thepreamble.

Syntax:

out = EvDoFwdPreambleGenerator(data rate, slots, MAC index)

Attribute: Range of values: Comments:Function Inputdata rate 38400, 76800, 153600,

307200, 614400, 921600,1228800, 1843200 or2457600

The EV DO Rev.0 supportsthese data rates.

Steepest Ascent Ltd

Page 46: EV-DO Mathworks Manual

1xEV-DO Library 46

slots 1, 2, 4, 8 or 16 The number of slotsdepends on the data rate.

MAC index 0 to 63 Indices 0 to 4 are reservedfor overhead operations.

Function Output out The preamble chips.

Description:

The EvDo Forward Preamble Generator block generates the preamble chipsdepending on the data rate, number of slots and the MAC index value. Thepreamble chips are transmitted with each of the Forward Traffic Channel andControl Channel physical layer packets. This helps the access terminalsynchronization with each variable-rate transmission. The preamble sequenceconsists of all 0 symbols transmitted on the in-phase component only and itwill be time multiplexed into the Forward Traffic Channel stream. Thepreamble sequence is covered by a 32-chip bi-orthogonal sequence and thesequence is repeated as many times as required depending on the data rateof forward traffic channel.The bi-orthogonal sequence shall be specified in terms of the 32-ary Walshfunctions and their bit-by-bit complements by

W32 i/2 for i = 0, 2… 62

*W32 (i- 1)/2 for i = 1, 3… 63

where i = 0, 1,…, 63 is the MAC Index value and *W32i is the bit-by-bit

complement of the 32-chip Walsh function of order i.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section: 9.3.1.3.2.3.1 Forward Traffic Channel Preamble.

5.3 EVDO Forward MAC GeneratorThis block generates the MAC channel chips.

Simulink Block:

Steepest Ascent Ltd

Page 47: EV-DO Mathworks Manual

1xEV-DO Library 47

Attribute: Range ofvalues:

Comments:

Block Inputs

RPC 0 or 1The Reverse Power Control Data for all theallowed MAC indices (5-63) is input to theEVDO Forward MAC Channel Generator.Hence the RPC input is a [59X1] matrix.

DRCLock 0 or 1The DRCLock Channel Data for all theallowed MAC indices (5-63) is input to theEVDO Forward MAC Channel Generator.Hence the DRCLock input is a [59X1] matrix.

RA 0 or 1The Reverse Activity bit stream istransmitted over the MAC Channel with MACIndex 4.

Block Parameters

DRCLockLength -It is given as public data by the ForwardTraffic Channel MAC Protocol. EachDRCLock bit is repeated and transmitted inDRCLockLength slots.

DRCLockPeriod

- The RPC Channel and the DRCLockchannel are time division multiplexed andtransmitted on the same MAC channel. TheDRCLock channel is transmitted once everyDRCLock period slots.

RABLength

- The RA bit is transmitted over RABLengthsuccessive slots by repeating the RA bitRABlength times. It is specified in the publicdata TrafficChannelAssignment of the Routeupdate protocol.

RAB Offset -

It is a filed in the public dataTrafficChannelAssignment of the Routeupdate protocol. The transmission of eachRA bit starts in a slot that satisfiesTmod RABLength = RABOffset, where T isthe system time in slots.

RA Channel Gain - The RA channel gain in dB.

RPC ChannelGain for MACindices 5 to 63

-

The required gain for each of the RPCchannels with MAC indices form 5 to 63. Thevalues are in dB and are entered as a matrixof size 1X59.

Steepest Ascent Ltd

Page 48: EV-DO Mathworks Manual

1xEV-DO Library 48

Enable/Disable forMAC channels 5to 63

0 or 1This parameter enables or disables theparticular MAC Channel. 1= enable, 0 =disable.

DRCLockChannelgain for MACindices 5 to 63

-The required gain for each of the DRCLockchannels with MAC indices form 5 to 63. Thevalues are in dB and are entered as a matrixof size 1X59.

Block Output out Generates the MAC channel chips.

Description:

The EvDo Forward MAC Generator block generates the of MAC channelchips. The forward MAC channel consists of Walsh channels which areorthogonally covered and BPSK modulated on either the in-phase orquadrature phase of the carrier. The particular Walsh channel is identified by the MACIndex value it defines aunique modulation phase and a unique 64-ary Walsh cover. The Walshfunctions are assigned as follows

W64 i/2 for i = 0, 2… 62

W64 (i- 1)/2+32 for i = 1, 3… 63

Where i is the MACIndex value. MAC channels with even-numberedMACIndex values are assigned to the in-phase (I) modulation phase andthose with the odd-numbered MACIndex values are assigned to the quadratre(Q) phase.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section: 9.3.1.3.2.2 Forward MAC Channel

Steepest Ascent Ltd

Page 49: EV-DO Mathworks Manual

1xEV-DO Library 49

5.4 EVDO Forward Pilot GeneratorThe pilot generator block generates the pilot chips.

Simulink Block:

Attribute: Range ofvalues:

Comments:

Block InputNone - -

Block ParametersNumber ofSlots

1, 2, 4, 8 or 16 The EVDO Rev.0 supports data packetsoccupying 1, 2, 4, 8 or 16 slots, dependingon the data rate

Block Output out - Generates the pilot channel chips.

Matlab function:This is the Matlab function called by the Simulink block for generating the Pilotchannel chips.

Syntax:

out = EvDoFwdPilotGenerator (slots)

Attribute: Range ofvalues:

Comments:

Function Inputslots 1, 2, 4, 8 or 16 The EVDO Rev.0 supports data packets

occupying 1, 2, 4, 8 or 16 slots, dependingon the data rate

Function Output out - Generates the pilot channel chips.

Steepest Ascent Ltd

Page 50: EV-DO Mathworks Manual

1xEV-DO Library 50

Description:

A Pilot Channel is transmitted at all times by the sector on each activeForward Channel. The Pilot Channel is an unmodulated signal that is used forsynchronization and other functions by an access terminal operating withinthe coverage area of the sector. The Pilot Channel is transmitted at the fullsector power and consist of all-‘0’ symbols transmitted on the I componentonly. The Pilot Channel is assigned Walsh cover 0. The EvDo Forward PilotGenerator outputs the Pilot chips.

Reference:

3GPP2 C.S0024 Ver 4.0: “cdma2000 High Rate Packet Data Air InterfaceSpecification”. Section: 9.3.1.3.2.1 Pilot Channel.

Steepest Ascent Ltd