CDMA Reference Blockset | ![]() ![]() |
Generate the long code sequence used for reverse channel spreading and scrambling and for forward channel scrambling
Library
Description
This block generates either the long code sequence or a decimated version of the long code sequence. The long code sequence is used for reverse channel spreading, while the decimated long code sequence is used for forward channel scrambling. This long code is periodic with period 241 - 1 chips and uses the specified characteristic polynomial in the IS-95A specification.
The block generates the long code sequence based on the 42-bit Initial state parameter and a 42-bit mask. A mask value applied to the long code generator results in an instantaneous shift in the sequence output with respect to the unmasked long code generator. A mask value of 0 results in no shift between the masked and unmasked long code generator.
The block outputs a decimated version of the long code sequence when the Decimation ratio parameter is an integer greater than one. If the Decimation ratio parameter is N, then the block's output consists of the 1st, (N+1)st, (2N+1)st, etc. values from the long code sequence.
Outputs
Binary vector corresponding to the long code sequence values or the decimated long code sequence values as specified by the parameters. The output is a frame-based signal with frame size specified by the Output frame size parameter.
Dialog Box
Parameters
See Also
IS-95A Fwd Ch Descrambler
IS-95A Fwd Ch Scrambler
IS-95A Rev Ch Burst Randomizer
IS-95A Forward Traffic Channel Detection Demo
Specification References
IS-95A 6.1.3.1.8
J-STD-008 2.1.3.1.8.1, 2.1.3.1.8
![]() | IS-95A Fwd Ch Viterbi Decoder | IS-95A Rev Ch Burst Randomizer | ![]() |