Random bits are generated by a random source generator and every one bit is spreads at the second block with a user-specified spreading code.In this design every one bit are copied 32 times,which is equal to the Walsh-Hadamard code that used here (32 bits) and the output is the result of the Exclusive-OR of Walsh-Hadamard and the input bit. The output is a vector of length (1*32). A pilot signal is generated of length (1*32) bits and zeros are added for both of data and the pilot signal the zero padding are added at data and the pilot signal the zero padding are added at the middle of the vector in this simulation,namely the zeros are added from 17:48 bits, both vector
length will be of length 1*64 bits.